Skip to content

Add .node-version pinning Node 24 - #123

Closed
velis74 wants to merge 1 commit into
mainfrom
scaffolding/node-version
Closed

velis74 wants to merge 1 commit into
mainfrom
scaffolding/node-version

Conversation

@velis74

@velis74 velis74 commented Dec 2, 2026

Copy link
Copy Markdown
Contributor

Adds .node-version containing 24 (the current Node LTS major) so fnm selects Node 24, and with it npm 11, in this repository. npm 10 (Node 22) and npm 11 write package-lock.json differently (npm 10 strips the libc fields npm 11 writes), which causes lock churn on npm install.

package-lock.json is unchanged: npm ci and npm install --package-lock-only under Node 24 (npm 11.17.0) leave it as it is.

@github-actions

github-actions Bot commented Dec 2, 2026

Copy link
Copy Markdown

✅ Incremental coverage — nothing to grade

No executable lines were changed between main and scaffolding/node-version.

1 file not graded (1 not a source file)
File Reason
.node-version not a source file

Coverage reports: coverage.json (coverage.py, 76 files) · coverage/clover.xml (clover, 19 files) — incremental-coverage-check v3.1.0

@velis74

velis74 commented Dec 2, 2026

Copy link
Copy Markdown
Contributor Author

Closed: the Node version is set in the local fnm configuration, not per repository.

@velis74 velis74 closed this Dec 2, 2026
@velis74
velis74 deleted the scaffolding/node-version branch December 2, 2026 08:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant