惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

雷峰网
雷峰网
博客园 - 聂微东
酷 壳 – CoolShell
酷 壳 – CoolShell
宝玉的分享
宝玉的分享
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
罗磊的独立博客
Hugging Face - Blog
Hugging Face - Blog
T
Tailwind CSS Blog
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
IT之家
IT之家
博客园_首页
博客园 - 三生石上(FineUI控件)
博客园 - 叶小钗
Apple Machine Learning Research
Apple Machine Learning Research
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
量子位
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
人人都是产品经理
人人都是产品经理
美团技术团队
小众软件
小众软件
Jina AI
Jina AI
S
SegmentFault 最新的问题
博客园 - Franky
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com

Nx Blog

Sharing Tailwind CSS Styles Across Apps in a Monorepo | Nx Blog How SiriusXM Stays Competitive by Iterating and Getting to Market Fast | Nx Blog Agentic Experience Is the New Developer Experience | Nx Blog Nx Joins the Linux Foundation and the Agentic AI Foundation | Nx Blog A Monorepo Is NOT a Monolith | Nx Blog Why we deleted (most of) our MCP tools | Nx Blog Teach Your AI Agent How to Work in a Monorepo | Nx Blog How Broadcom stays efficient and nimble with monorepos | Nx Blog Why Monorepos are King in the Age of AI | Nx Blog Nx 2026 Roadmap: Expanding Agent Autonomy, Improving Performance, Better Polyglot and More | Nx Blog End to End Autonomous AI Agent Workflows with Nx | Nx Blog Autonomous Agents at Scale | Nx Blog Scaling 700+ Projects: How Nx Became a 'No-Brainer' for Caseware | Nx Blog Configure Tailwind v4 with Angular in an Nx Monorepo | Nx Blog The Missing Multiplier for AI Agent Productivity | Nx Blog A Year of Nx Webinars | Nx Blog Wrapping Up 2025 | Nx Blog Nx 22.3 Release: Angular 21 Support, tsgo Compiler, and Prettier v3 | Nx Blog Nx Cloud Release: Agent Resource Usage | Nx Blog Nx Platform Outperforms DIY Cache by 5x | Nx Blog An Nx Carol: Past, Present, and Future of Your Monorepo | Nx Blog The Compounding Effect: How Nx Features Multiply Performance Gains | Nx Blog 10 Monorepo Myths Debunked: Separating Fact from Fiction | Nx Blog Nx Cloud Release: Enterprise Task Analytics | Nx Blog Watch and Rebuild Storybook Dependencies with Nx | Nx Blog Book - React for Enterprise: Timeless Architecture for Enterprise Apps | Nx Blog Beyond Remote Cache: Unlock 70% More CI Performance | Nx Blog Nx 22 Release: Expanding the build platform | Nx Blog What's the Point of Generating All This Code If You Can't Merge It? | Nx Blog What's New in Nx Self-Healing CI | Nx Blog
Nx 22.1 Release: Terminal UI on Windows, Storybook 10, Vi...
Philip Fulcher · 2025-11-27 · via Nx Blog

Hot on the heels of our Nx 22 release, we're back with 22.1 packed with improvements that make your daily development experience even better. This release delivers on a long-awaited promise for Windows users, upgrades our testing ecosystem, and sets the stage for Angular 21 support.

Terminal UI now available on Windows

When we launched the Terminal UI in Nx 21, we had to disable it on Windows due to compatibility issues. We know that was frustrating for Windows developers who watched their Mac and Linux colleagues enjoy the improved task running experience.

Nx 22.1 enables the Terminal UI by default on Windows. You now get the great TUI experience: a task list panel showing all running tasks, log output for your selected task in a separate panel, and smooth navigation between tasks using arrow keys or Vim-style h/j/k/l bindings.

Screenshot of Nx Terminal UI showing a task list on the left and log output on the right.

This is especially valuable when working with continuous tasks. Running your frontend that depends on a backend server? Both tasks appear in your task list, and you can easily switch between their logs without losing context.

Storybook 10 support with AI-powered migrations

Storybook 10 arrived with a significant change: it's ESM-only. This simplifies their distribution and reduces install size by 29%, but it means your Storybook configuration and stories need to be valid ESM.

@nx/storybook has generated valid ESM configurations and stories for a few years now, but you may have older code that needs to be migrated to ESM. This is a tricky problem to solve with our typical approach to migration using AST-based codemods. We've chosen to apply AI to this problem.

When you run nx migrate latest, your Storybook packages will be updated like usual, but we'll also generate AI agent instructions to help convert your code from CommonJS to ESM. You can run those instructions with your AI agent of choice to finish the migration. As always when working with AI, verify any changes made by the agent. The Storybook team has provided some guidance on this migration to help verify, or if you need to handle the migration manually.

We're excited to apply these AI-powered migrations to other tools going forward. We always aim to make migrations as smooth as possible, but there are some things that we just can't accomplish in an automated way. Providing instructions for agents shows promise as a way of improving migrations going forward and even accomplishing migrations that would have been completely manual before.

If you're not ready to migrate to Storybook 10 yet, Storybook 9 remains fully supported. See our documentation on customizing migrations to learn how.

Vitest gets its own plugin

Vitest has been split out into a dedicated @nx/vitest plugin, separate from @nx/vite. This cleaner separation makes it easier to use Vitest independently and sets us up for better feature development going forward.

The new plugin brings Vitest 4 support and atomizer support for Vitest. If you're not familiar with atomization, it's how Nx automatically splits your test suite by file for better CI distribution. A test task that takes 10 minutes can be split into multiple smaller tasks that run in parallel across your runners, dramatically reducing your Time to Green.

We will continue to support the use of Vitest via the @nx/vite plugin until the release of Nx v23. You should follow the migration guide to move to @nx/vitest before then.

Next.js v16 support

For teams using Next.js, we've added support for Next.js v16. New workspaces will use v16 out of the box, but existing workspaces will continue to use their existing version. Nx does not currently include an automated migration to v16. To upgrade now, you can follow this migration guide from the Next.js team.

However, like the Storybook 10 migration, we'll soon be providing AI agent instructions based on this migration guide. Watch for this update soon!

Cypress v15 support

For teams using Cypress, we've added support for Cypress v15. Update your workspace and you'll be ready to use the latest Cypress features.

Coming soon: Angular 21 support

Angular 21 landed on November 20, and it's a significant release. The Nx team is actively preparing support, which you can expect in an upcoming release. We're especially excited to see Vitest as the default test runner, which means new Angular projects will use Vitest instead of Karma. This aligns perfectly with our new @nx/vitest plugin and atomizer support. Angular teams will get fast, parallelizable tests with great Nx Cloud integration from day one.

We'll have more to share as Angular 21 support lands. Look for it soon!

Migrating to Nx 22.1

Updating to the latest version of Nx is straightforward:

After updating your dependencies, run any necessary migrations:

nx migrate --run-migrations

Or use the Migrate UI in Nx Console for a visual migration experience where you can review and approve each change.

The nitty gritty

As always, there are many more improvements and fixes we couldn't cover in detail. See our full release notes on GitHub for all the details.

Learn more