fix(create): honor explicit package manager outside monorepos#2226
fix(create): honor explicit package manager outside monorepos#2226jong-kyung wants to merge 4 commits into
Conversation
Keep existing monorepo package managers authoritative while allowing standalone creates to override package-manager signals inherited from ancestor directories.
✅ Deploy Preview for viteplus-preview canceled.
|
|
@codex review |
|
Codex Review: Didn't find any major issues. 👍 Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: b1545b18d7
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
@codex review |
|
Codex Review: Didn't find any major issues. Delightful! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
Summary
Preserve the existing package manager inside monorepos while allowing an explicit
vp create --package-manageroption to override package manager signals inherited from non-monorepo ancestor directories. When the selected manager differs from the detected one, resolve its latest stable version instead of reusing the ancestor manager’s version. Add snapshot coverage for creating a pnpm project beneath an npm ancestor and update the package manager detection RFC.
Fixes #2208