Migrate this project to Vite+. Vite+ replaces the current split tooling around runtime management, package management, dev/build/test commands, linting, formatting, and packaging. Run vp help to understand Vite+ capabilities and vp help migrate before making changes. Use vp migrate --no-interactive in the workspace root. Make sure the project is using Vite 8+ and Vitest 4.1+ before migrating.
After the migration:
- Confirm
vite imports were rewritten to vite-plus where needed
- Confirm
vitest imports were rewritten to vite-plus/test where needed
- Remove old
vite and vitest dependencies only after those rewrites are confirmed
- Move remaining tool-specific config into the appropriate blocks in
vite.config.ts
Command mapping to keep in mind:
vp run <script> is the equivalent of pnpm run <script>
vp test runs the built-in test command, while vp run test runs the test script from package.json
vp install, vp add, and vp remove delegate through the package manager declared by packageManager
vp dev, vp build, vp preview, vp lint, vp fmt, vp check, and vp pack replace the corresponding standalone tools
- Prefer
vp check for validation loops
Finally, verify the migration by running: vp install, vp check, vp test, and vp build
Summarize the migration at the end and report any manual follow-up still required.
Migrate this project to Vite+. Vite+ replaces the current split tooling around runtime management, package management, dev/build/test commands, linting, formatting, and packaging. Run
vp helpto understand Vite+ capabilities andvp help migratebefore making changes. Usevp migrate --no-interactivein the workspace root. Make sure the project is using Vite 8+ and Vitest 4.1+ before migrating.After the migration:
viteimports were rewritten tovite-pluswhere neededvitestimports were rewritten tovite-plus/testwhere neededviteandvitestdependencies only after those rewrites are confirmedvite.config.tsCommand mapping to keep in mind:
vp run <script>is the equivalent ofpnpm run <script>vp testruns the built-in test command, whilevp run testruns thetestscript frompackage.jsonvp install,vp add, andvp removedelegate through the package manager declared bypackageManagervp dev,vp build,vp preview,vp lint,vp fmt,vp check, andvp packreplace the corresponding standalone toolsvp checkfor validation loopsFinally, verify the migration by running:
vp install,vp check,vp test, andvp buildSummarize the migration at the end and report any manual follow-up still required.