Skip to content

chore: standardize on Node 24 (add .node-version, bump workflows + engines) - #110

Merged
fank merged 2 commits into
mainfrom
claude/ignore-chalk-major
Aug 11, 2026
Merged

chore: standardize on Node 24 (add .node-version, bump workflows + engines)#110
fank merged 2 commits into
mainfrom
claude/ignore-chalk-major

Conversation

@fank

@fank fank commented Jul 27, 2026

Copy link
Copy Markdown
Member

Summary

Standardizes the project on Node 24 so local tooling and CI all run the same tracked version.

  • Add .node-version pinning 24.18.0 as the canonical (and now only) version file; remove .nvmrc
  • Point every setup-node step (npm.yml lint + check-format, publish.yml) at .node-version, so CI and publish run the exact same version as local dev
  • Raise the engines floor to >=24 (package.json + package-lock.json root)
  • Drop the previous dependabot ignore for chalk major bumps: chalk 6 requires Node >=22, which the Node 24 base now satisfies

Why

The original PR (#110) ignored chalk major updates because the project targeted Node 20 and chalk 6 needs >=22. Now that the base is bumped to Node 24 (>=22), that rule is obsolete — its own comment said to re-evaluate after the Node base reaches 22+. This PR performs that re-evaluation while centralizing versioning on a single .node-version file (used by setup-node, nvm, fnm, volta, mise).

Notes

  • All deps verified compatible with Node 24.18.0 (chalk ^5, inquirer ^14, eslint ^10, prettier ^3); lint + format pass.
  • chalk stays on v5 here; removing the ignore lets Dependabot propose the chalk 6 upgrade naturally.

Test plan

  • npm ci clean on Node 24.18.0
  • npm run lint passes
  • npm run check-format passes
  • CI (lint + format) green on .node-version

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates the Dependabot configuration in .github/dependabot.yml to ignore major version updates for the chalk dependency, as chalk v6 requires Node.js v22 or higher, whereas the project currently targets Node.js v20. There are no review comments, and I have no feedback to provide.

- Add .node-version pinning 24.18.0 as the canonical tracked version
- Point all setup-node steps at .node-version so CI + publish run the
  same tracked version as local tooling
- Sync .nvmrc to 24 and raise the engines floor to >=24
- Drop the now-obsolete dependabot ignore for chalk majors: chalk 6
  requires Node >=22, which the Node 24 base now satisfies
@fank
fank force-pushed the claude/ignore-chalk-major branch from ddfe6e8 to c51e1fe Compare August 11, 2026 18:55
@fank fank changed the title chore: ignore chalk major bumps until Node base reaches 22 chore: standardize on Node 24 (add .node-version, bump workflows + engines) Aug 11, 2026
setup-node and local tooling (nvm, fnm, volta, mise) all read
.node-version, so .nvmrc is redundant now that workflows point at it.
@fank
fank merged commit 261479a into main Aug 11, 2026
6 checks passed
@fank
fank deleted the claude/ignore-chalk-major branch August 11, 2026 18:58
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