build: update Vite to 8 while still supporting 7 as peer deps#83
Merged
build: update Vite to 8 while still supporting 7 as peer deps#83
Conversation
- 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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.