Skip to content

build: update Vite to 8 while still supporting 7 as peer deps#83

Merged
uhyo merged 5 commits intomasterfrom
claude/upgrade-vite-v8-6J7O5
Mar 21, 2026
Merged

build: update Vite to 8 while still supporting 7 as peer deps#83
uhyo merged 5 commits intomasterfrom
claude/upgrade-vite-v8-6J7O5

Conversation

@uhyo
Copy link
Owner

@uhyo uhyo commented Mar 21, 2026

No description provided.

claude added 5 commits March 21, 2026 08:26
- Upgrade vite from ^7.3.1 to ^8.0.0 in pnpm catalog (dev dep)
- Upgrade @vitejs/plugin-react from ^5.1.4 to ^6.0.1 in catalog
- Set peer dep range to "^7.0.0 || ^8.0.0" for Vite 7 compat
- Add vite7 named catalog for e2e testing with Vite 7
- Fix rollupOptions → rolldownOptions rename in getRSCEntryPoint.ts
  with fallback to rollupOptions for Vite 7 compatibility
- Update e2e fixtures to use catalog for @vitejs/plugin-react
- Add scripts/e2e-vite7.sh for running e2e tests against Vite 7
  (swaps catalog temporarily, runs tests, then restores)

https://claude.ai/code/session_014gm5pSZ82jEKdrh4TLeTuC
Run e2e tests against Vite 7 in a separate CI job by swapping the
pnpm catalog versions. The job depends on the main ci job to avoid
redundant lint/typecheck/unit-test work.

https://claude.ai/code/session_014gm5pSZ82jEKdrh4TLeTuC
Replace sed patterns that matched specific version strings with
patterns that match the key name and replace any value after it.
Remove the local e2e-vite7.sh script since CI handles this now.

https://claude.ai/code/session_014gm5pSZ82jEKdrh4TLeTuC
grep -q assertions after sed ensure we never silently fall back
to testing Vite 8 if the replacement patterns stop matching.

https://claude.ai/code/session_014gm5pSZ82jEKdrh4TLeTuC
@uhyo uhyo changed the title build: update Vite to 8 while supporting 7 as peer deps build: update Vite to 8 while still supporting 7 as peer deps Mar 21, 2026
@uhyo uhyo merged commit 8e64657 into master Mar 21, 2026
2 checks passed
@uhyo uhyo deleted the claude/upgrade-vite-v8-6J7O5 branch March 21, 2026 12:39
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.

2 participants