发布

  • fix(vite): enforce multi-version support windows for @nx/vite and @nx/vitest (#35671)

    frostbyte_neo 发布于 2026-06-02 22:03:13 +00:00

    Current Behavior

    @nx/vite and @nx/vitest don't consistently honor their supported
    version windows. Cross-major packageJsonUpdates and 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-major requires gates so they only run where they apply,
    generators throw a clear below-floor error and preserve pinned versions
    (keepExistingVersions defaults to true), 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

    下载附件