This project standardizes on Node.js 22.x for local development, CI, and production usage.
.nvmrcdefines the default local Node version.engines.nodein:package.jsonweb/package.json
- GitHub Actions CI uses
.nvmrcviaactions/setup-node.
All three must stay aligned.
@types/nodemust stay on major22.- Minor and patch updates within major
22are allowed through normal dependency maintenance. - Major upgrades (for example,
22 -> 23) are treated as a planned refactor, not an automatic dependency bump.
- Dependabot major-version updates are ignored by default.
@types/nodemajor updates are explicitly ignored to keep runtime and type upgrades intentional and coordinated.
When moving from Node 22 to the next major:
- Open a tracking issue describing runtime, CI, and dependency impact.
- Update
.nvmrc. - Update
engines.nodein bothpackage.jsonfiles. - Update
@types/nodein all workspaces that reference Node APIs. - Update CI and any release/build scripts that assume a Node major.
- Run full CI (desktop checks, frontend checks, and smoke where applicable).
- Document the change in
CHANGELOG.md.