-
Notifications
You must be signed in to change notification settings - Fork 0
feat: migrate from Volta to Mise for Node.js version management #468
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,2 @@ | ||
| [tools] | ||
| node = "24.12.0" |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -81,8 +81,5 @@ | |
| "eslint ." | ||
| ] | ||
| }, | ||
| "volta": { | ||
| "node": "24.12.0" | ||
| }, | ||
| "browserslist": "> 1%" | ||
| } | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -42,7 +42,7 @@ | |
| "description": "Node and types - LTS versions only", | ||
| "matchPackageNames": ["node", "@types/node"], | ||
| "groupName": "node and types", | ||
| "matchManagers": ["volta", "npm"], | ||
| "matchManagers": ["mise", "npm"], | ||
| "allowedVersions": "/^(20|22|24|26|28|30|32|34|36|38|40)\\./" | ||
|
Comment on lines
42
to
46
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🧩 Analysis chain🏁 Script executed: git ls-files renovate.jsonRepository: dejanvasic85/williamstownsc Length of output: 84 🌐 Web query:
💡 Result: Node.js 26 (v26.x) release schedule and LTS timeline: - Initial release (26.0.0, enters "Current" phase): April 22, 2026 (scheduled; as of 2026-04-19, the release PR is open and not yet shipped). - Enters Active LTS: October 28, 2026. - Enters Maintenance LTS: October 20, 2027. - End of Life: April 30, 2029. Node.js 26 is the last version following the traditional even-numbered LTS model (April release, 6 months Current, then LTS). Starting with Node.js 27, the schedule evolves to one major release per year in April, all becoming LTS after 6 months, with an alpha phase beginning the prior October. Citations:
🌐 Web query:
💡 Result: Renovate supports the Mise (mise-en-place) manager for automated dependency updates in Mise configuration files. This includes updating tool versions like Node.js in mise.toml files. Key details from official documentation: Supported file patterns (default): /{,.}mise{,.}.toml /{,.}mise/config{,.}.toml /.config/mise{,.}.toml /.config/mise/{mise,config}{,.}.toml /.config/mise/conf.d/.toml /.rtx{,.}.toml (legacy) Renovate updates only the primary (first) version listed for each tool. Secondary versions require manual updates. It supports Mise's default registry tool short names (e.g., node), using Mise registry for versioning. Recent fixes include renaming packageName from 'nodejs' to 'node' for consistency (v43+), expanded file patterns (2026), and added assorted tools (2025). Limitations: No support for certain backends like asdf/vfox plugins, aqua http packages, or lockfile support yet. For Node specifically: Renovate extracts and updates 'node' versions in Mise files, aligning with other managers like asdf. Citations:
🏁 Script executed: cat -n renovate.json | sed -n '40,48p'Repository: dejanvasic85/williamstownsc Length of output: 390 Tighten the "LTS only" rule before Renovate manages
🛡️ Conservative fix until Node 26 reaches LTS {
"description": "Node and types - LTS versions only",
"matchPackageNames": ["node", "@types/node"],
"groupName": "node and types",
"matchManagers": ["mise", "npm"],
- "allowedVersions": "/^(20|22|24|26|28|30|32|34|36|38|40)\\./"
+ "allowedVersions": "/^(20|22|24)\\./"
}🤖 Prompt for AI Agents |
||
| } | ||
| ] | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
README prereq says "Node.js 24 installed", but the repo now pins Node to 24.12.0 in .mise.toml. To avoid contributors installing a different 24.x (or using a different version in CI), align the README with the pinned version and/or document using Mise (e.g. install Mise + run
mise install) as the source of truth.