Repository navigation
Conversation
|
(This comment is posted by Claude Code on my behalf) Thanks for working on this! The mechanics are a good base: no Design
Correctness
Non-blocking
|
Let's continue this PR after these upstream changes. (Really apologize for my late reply, I somehow missed the notification 🙇🙇) |
) The current `vp create` always migrates the project generated by a third-party `create-xxx` CLI: it migrates ESLint/Prettier/tsup and rewrites the project for Vite+. When the CLI already generates a Vite+ project (for example, the upcoming Vite+ option in create-vue, vuejs/create-vue#1175), this overrides choices the template made on purpose, such as keeping ESLint or its `vite-plus` version. This PR makes `vp create` skip these migration steps when the generated standalone project already depends on `vite-plus`. Follows `vp migrate`'s behavior for projects that already use Vite+. - Only third-party templates are affected. Built-in and bundled templates still rely on the rewrite. - Packages created inside a monorepo are still rewritten so they use the workspace catalog. - `VP_FORCE_MIGRATE=1` still runs the full migration. - Git, hooks, agent instructions, editor configs, the package manager pin, and install still run as before. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: MK (fengmk2) <fengmk2@gmail.com>
|
Update:
|
|
Thanks for reviewing. I've updated it. |

Description
close #1168 cc @liangmiQwQ