You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Nothing pins the Node version for contributors. website/package.json says "node": ">=22.12.0" (raised in #336 because mermaid 12 requires it), the workflows pin Node 22, and there is no .nvmrc or .node-version in the repo.
The practical consequence showed up while debugging #336: node -v returned 24.18.1 in one shell and 22.23.1 in another on the same machine, and the two npm ci runs behave differently against the same lockfile.
Proposed solution
Add a .nvmrc (or .node-version) at the repository root with 22, matching the workflows and the engines floor, and mention it in CONTRIBUTING.md next to the prerequisites, which currently still say "Node.js (v16 or higher)".
Scope and impact
Two files, no build change. Contributors with nvm or fnm then get the right runtime without reading the workflows.
Acceptance criteria:
A Node version file exists at the root and matches the workflows
Activity
chore: pin the Node version for contributors
chore: pin Node 22 for contributors