Nx
Enterprise
Nx
fix(angular): align @nx/angular with multi-version support policy - Throw via the new `@nx/devkit/internal` `throwForUnsupportedVersion` util when a workspace has @angular/core detected below the supported floor (v19), replacing the silent fall-through to the latest install constants. The fresh-install path (no detected @angular/core) is unchanged. - Gate the three cross-major Module Federation `packageJsonUpdates` entries (`20.2.0-module-federation`, `22.2.0`, `22.6.0-module-federation`) on `@module-federation/enhanced` source ranges so the bumps no longer fire for workspaces below each entry's source major. - Drop the spurious `@angular/core: >=21.0.0` `requires` from the `update-unit-test-runner-option` migration. The migration only rewrites an Nx generator default in nx.json (`unitTestRunner: 'vitest'` → `'vitest-analog'`); the previous gate skipped pre-v21 workspaces that still have the now-invalid default and is unrelated to Angular's installed version. - Pass `keepExistingVersions=true` to `addDependenciesToPackageJson` in the add-linting generator so workspaces with the targeted packages already pinned are not silently bumped. Implements NXC-4381.
nx build workspace-plugin
Sign in / Sign up
Open main menu
Succeeded
CI Pipeline Execution
1 run failed
nx build workspace-plugin
Click to copy
35587
100%
Cache hits
2 of 2 tasks used cache.