-
fix(vite): enforce multi-version support windows for @nx/vite and @nx/vitest (#35671)
发布于
2026-06-02 22:03:13 +00:00 Current Behavior
@nx/viteand@nx/vitestdon't consistently honor their supported
version windows. Cross-majorpackageJsonUpdatesand version-specific
migrations run on workspaces outside their target range, generators can
overwrite pinned third-party versions, and unsupported versions silently
fall through to the latest install constants instead of erroring.Expected Behavior
Both plugins enforce their support windows. Cross-major migrations
declare source-majorrequiresgates so they only run where they apply,
generators throw a clear below-floor error and preserve pinned versions
(keepExistingVersionsdefaults totrue), and peer ranges and version
maps match what each plugin actually supports.
Co-authored-by: nx-cloud[bot] <71083854+nx-cloud[bot]@users.noreply.github.com>
Co-authored-by: FrozenPandaz jasonjean1993@gmail.com下载附件