Change8

22.2.0-beta.2

Breaking Changes
📦 nxView on GitHub →
1 breaking1 features🐛 9 fixes🔧 5 symbols

Summary

This beta release introduces migration support for @nx/vitest and includes numerous bug fixes across core, linter, nuxt, and testing utilities, notably updating ESLint compatibility and adjusting Jest plugin flags.

⚠️ Breaking Changes

  • The --no-experimental-strip-types flag is removed from @nx/jest/plugin. Users might need to migrate to jest.config.cts if configuration changes are required.

Migration Steps

  1. If using @nx/jest/plugin, review configuration as the --no-experimental-strip-types flag has been removed. Consider migrating to jest.config.cts if necessary.

✨ New Features

  • Added migration to add @nx/vitest support via vite plugin.

🐛 Bug Fixes

  • Included create-nx-workspace in the migration package group.
  • Suppressed git stderr output when parsing git output in core.
  • Prevented Nx Console prompt from blocking non-interactive commands.
  • Ensured performance logs are flushed before exit in the graph command.
  • Corrected the default value for preserveMatchingDependencyRanges in nx-schema to reflect v22 changes.
  • Updated linter generators to use ESLint v9 compatible versions.
  • Prevented importing the base eslint config for root projects in nuxt plugin.
  • Updated preset test for Nuxt v4 app directory structure.
  • The vitest executor now correctly returns the async iterable.

🔧 Affected Symbols

@nx/vitestparseGitOutput@nx/jest/pluginjest.config.ctsvitest executor