Skip to content

Group vite with its plugins so a coupled bump can install - #81

Open
Chris-ObtuseAI wants to merge 3 commits into
mainfrom
chore/group-vite-with-its-plugins
Open

Group vite with its plugins so a coupled bump can install#81
Chris-ObtuseAI wants to merge 3 commits into
mainfrom
chore/group-vite-with-its-plugins

Conversation

@Chris-ObtuseAI

Copy link
Copy Markdown
Contributor

@vitejs/plugin-react 6.x requires vite ^8.0.0; this project is on vite ^6.3.5. Bumped alone (#72), the plugin dies at npm ci before any code is compiled:

npm error ERESOLVE could not resolve
npm error While resolving: @vitejs/plugin-react@6.0.5
npm error Found: vite@6.4.3

So #72 is unmergeable by construction, not failing on anything in this repository. Splitting a peer-coupled pair into separate PRs can only ever produce branches that each fail.

This is the same failure the cargo section already documents for the RustCrypto crates, and it takes the same remedy: one group, one atomic pull request.

The next attempt will carry vite and its plugins together — which is also the only way the vite 6 → 8 jump can be reviewed honestly: as a single build-tool upgrade with the UI build and browser tests run against it, rather than as a plugin bump that happens to drag a build tool two majors forward.

Config parses clean:

github-actions  /               groups=[]
uv              /               groups=[]
npm             /ui             groups=['vite']
cargo           /ui/src-tauri   groups=['rustcrypto']

🤖 Generated with Claude Code

`@vitejs/plugin-react` 6.x requires `vite ^8.0.0`; this project is on
`vite ^6.3.5`. Bumped alone, the plugin dies at `npm ci` before any code
is compiled:

    npm error ERESOLVE could not resolve
    npm error While resolving: @vitejs/plugin-react@6.0.5
    npm error Found: vite@6.4.3

So #72 was unmergeable by construction, not failing on anything in this
repository. Splitting a peer-coupled pair into separate pull requests can
only ever produce two branches that each fail.

This is the same failure the cargo section already documents for the
RustCrypto crates, and it takes the same remedy: one group, one atomic pull
request. The next attempt will carry vite and its plugins together, which
is also the only way the 6 -> 8 jump can be reviewed honestly -- as a
single build-tool upgrade with the UI build and browser tests run against
it, rather than as a plugin bump.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant