-
Notifications
You must be signed in to change notification settings - Fork 5
Align nuxt-app on Node 24 #243
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
Large diffs are not rendered by default.
This file was deleted.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +1 @@ | ||
| v22 | ||
| 24 | ||
|
Contributor
Author
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. You have found a real gap, and I am leaving it open — because the fix it implies is worse than the gap. Explaining rather than just declining. The gap is real. But What actually happens: both resolvers select the newest available 24.x, so The only way to close it properly is Both the gap and that option are now written down in |
||
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 |
|---|---|---|
|
|
@@ -3,7 +3,7 @@ | |
| "version": "0.0.0", | ||
| "private": true, | ||
| "engines": { | ||
| "node": "^22.19.0 || ^24.11.0 || >=26.0.0" | ||
| "node": "^24.11.0 || >=26.0.0" | ||
|
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.
The corresponding root package entry in AGENTS.md reference: AGENTS.md:L21-L22 Useful? React with 👍 / 👎.
Contributor
Author
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. Same finding as the Copilot comment above, and correct — synced. One detail worth adding for anyone reading this thread later: your prediction that "the next So I generated the sync under npm 10 to keep this PR to the field in question. The reclassification is not cosmetic — |
||
| }, | ||
|
Comment on lines
5
to
7
Contributor
Author
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. Correct, and fixed — but syncing it turned out to be more interesting than a one-line change, so worth recording how.
So that churn is npm 11's changed dev/optional classification, not a consequence of narrowing Logged as its own backlog item, with the note that it is already live and harmless: Vercel builds on Node 24, so production has been resolving this lockfile with npm 11 for a while without trouble. |
||
| "scripts": { | ||
| "build": "nuxt build", | ||
|
|
||
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.
After this workflow begins sourcing Node 24 from
.nvmrc, the rootREADME.mdstill tells Nuxt contributors that Node 19+ is sufficient and that CI uses v22. A developer following those setup instructions can therefore work and validate on a runtime excluded by the newengines.noderange and different from CI; distinguish the Nuxt requirement of Node 24 from the Directus tree's Node 22 requirement.AGENTS.md reference: AGENTS.md:L21-L22
Useful? React with 👍 / 👎.
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.
Right, and fixed.
README.md:13said:Wrong on both counts after this PR, and wrong in the file a new contributor reads before any other. It also had a
**Prerequisites for Node 22+:**heading below it.Replaced with a table, because your framing is the important part — the two trees genuinely differ now and the README should say so rather than give one number:
nuxt-appnuxt-app/.nvmrc, which CI reads too.engines.noderequires^24.11.0 || >=26.0.0directus-cmsPlus a line noting Node 24 is also what production runs, since Vercel resolves it from
engines.node— which is the fact that made this whole alignment a documentation change rather than a runtime one.AGENTS.mdwas already updated in the first commit; the README was the one I missed.