feat(migrate): support volta node version migration to .node-version #1201
feat(migrate): support volta node version migration to .node-version #1201fengmk2 merged 21 commits intovoidzero-dev:mainfrom
Conversation
… to .node-version
✅ Deploy Preview for viteplus-preview canceled.
|
… to .node-version
…on in package.json
|
@codex review |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: d1e44531be
ℹ️ 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".
… simplify migration logic
…deVersion and prefer .nvmrc
… field from package.json
… for Volta integration
…normalize version handling
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: daa26a88cd
ℹ️ 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! ℹ️ 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". |
|
@naokihaba Thanks! |
🔗 Linked issue
resolves #1183
📚 Description
We have added migration support features for projects that use Volta for Node.js version management.
If a volta.node setting is found in package.json, vp migrate will now automatically detect it and create a .node-version file.
If an .nvmrc file also exists, its settings will take priority. In such cases, a manual cleanup step will be added to remove the volta field from package.json.