From 590fdf4f5cb6931f399393172d8c10edb4debd59 Mon Sep 17 00:00:00 2001 From: naokihaba <59875779+naokihaba@users.noreply.github.com> Date: Fri, 11 Sep 2026 01:18:06 +0900 Subject: [PATCH 1/3] docs: clarify migration dependency retention for pnpm --- docs/guide/migrate.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/guide/migrate.md b/docs/guide/migrate.md index a4640170c0..3f554cdb0b 100644 --- a/docs/guide/migrate.md +++ b/docs/guide/migrate.md @@ -117,7 +117,8 @@ After the migration: - Confirm `vite` imports were rewritten to `vite-plus` where needed - Confirm `vitest` imports were rewritten to `vite-plus/test` (and `@vitest/browser*` to `vite-plus/test/browser*`) where needed -- Remove old `vite`, `vitest`, and `@vitest/browser*` dependencies only after those rewrites are confirmed — `vite-plus` ships them as direct deps +- On pnpm, keep the `vite` / `vitest` dependency entries configured by `vp migrate` so the workspace aliases and overrides stay effective; with other package managers, you can remove them once those rewrites are confirmed +- Remove old `@vitest/browser` and `@vitest/browser-preview` dependencies once those rewrites are confirmed; keep `@vitest/browser-playwright` or `@vitest/browser-webdriverio` and their framework dependencies if your tests use them - Move remaining tool-specific config into the appropriate blocks in `vite.config.ts` Command mapping to keep in mind: From a604621c8d7bce98e17a26bd702e74fb1f84438a Mon Sep 17 00:00:00 2001 From: naokihaba <59875779+naokihaba@users.noreply.github.com> Date: Fri, 11 Sep 2026 01:25:00 +0900 Subject: [PATCH 2/3] docs(migrate): update post-migration instructions for pnpm dependency retention --- docs/guide/migrate.md | 1 - 1 file changed, 1 deletion(-) diff --git a/docs/guide/migrate.md b/docs/guide/migrate.md index 3f554cdb0b..8ae38f97b8 100644 --- a/docs/guide/migrate.md +++ b/docs/guide/migrate.md @@ -118,7 +118,6 @@ After the migration: - Confirm `vite` imports were rewritten to `vite-plus` where needed - Confirm `vitest` imports were rewritten to `vite-plus/test` (and `@vitest/browser*` to `vite-plus/test/browser*`) where needed - On pnpm, keep the `vite` / `vitest` dependency entries configured by `vp migrate` so the workspace aliases and overrides stay effective; with other package managers, you can remove them once those rewrites are confirmed -- Remove old `@vitest/browser` and `@vitest/browser-preview` dependencies once those rewrites are confirmed; keep `@vitest/browser-playwright` or `@vitest/browser-webdriverio` and their framework dependencies if your tests use them - Move remaining tool-specific config into the appropriate blocks in `vite.config.ts` Command mapping to keep in mind: From 5dc16f29fd872829a78d8c36ca4b14dac1892368 Mon Sep 17 00:00:00 2001 From: naokihaba <59875779+naokihaba@users.noreply.github.com> Date: Fri, 11 Sep 2026 01:27:14 +0900 Subject: [PATCH 3/3] docs(migrate): clarify pnpm dependency entry retention in post-migration steps --- docs/guide/migrate.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/guide/migrate.md b/docs/guide/migrate.md index 8ae38f97b8..92f255e973 100644 --- a/docs/guide/migrate.md +++ b/docs/guide/migrate.md @@ -117,7 +117,7 @@ After the migration: - Confirm `vite` imports were rewritten to `vite-plus` where needed - Confirm `vitest` imports were rewritten to `vite-plus/test` (and `@vitest/browser*` to `vite-plus/test/browser*`) where needed -- On pnpm, keep the `vite` / `vitest` dependency entries configured by `vp migrate` so the workspace aliases and overrides stay effective; with other package managers, you can remove them once those rewrites are confirmed +- On pnpm, keep the `vite`, `vitest` dependency entries configured by `vp migrate` so the workspace aliases and overrides stay effective; with other package managers, you can remove them once those rewrites are confirmed - Move remaining tool-specific config into the appropriate blocks in `vite.config.ts` Command mapping to keep in mind: