build: upgrade to vite 8 and vitest 4 - #2776
Conversation
✅ Deploy Preview for vue-router ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Plus Run ID: ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (6)
📝 WalkthroughWalkthroughThe changes update Vite, the Vue plugin, and Vitest development dependencies across the workspace. The workspace override selects Vite 8 while retaining Vite 7 for VitePress 1 compatibility. ChangesDevelopment tooling updates
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
commit: |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #2776 +/- ##
==========================================
- Coverage 87.04% 85.56% -1.49%
==========================================
Files 93 74 -19
Lines 10749 5846 -4903
Branches 2489 1872 -617
==========================================
- Hits 9357 5002 -4355
+ Misses 1385 744 -641
- Partials 7 100 +93 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|

Moves the repo to Vite 8. Vitest 3 caps Vite at
^7, so this also bumps Vitest to 4.Changes
vite^7.3.0→^8.2.0(workspace override +router,playground,playground-file-based,experiments-playground)@vitejs/plugin-vue→^6.0.8vitest,@vitest/coverage-v8,@vitest/ui→^4.1.10@vitest/browser→@vitest/browser-playwright(Vitest 4 split browser providers into their own packages)vitest-browser-vue→^2.1.0No config changes were needed: browser mode is still commented out in
packages/router/vitest.config.ts, andvue-router'svitepeer range already allowed^8.0.0.VitePress 1.6.4 doesn't support Vite 8, so it's pinned with a
vitepress>vite: '^7.3.0'override. That pin can be removed once #2746 (VitePress 2) lands.Verified
pnpm test: 1644 unit tests + 84 e2e passingpnpm run build, both playground builds andexperiments-playgroundbuildpnpm run docs:buildpnpm lintSummary by CodeRabbit