diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md index e99bd17..e3f0aef 100644 --- a/.github/CONTRIBUTING.md +++ b/.github/CONTRIBUTING.md @@ -10,7 +10,7 @@ Be respectful, inclusive, and constructive in all interactions. We're all here t ### Prerequisites -- Node.js >= 20.18.1 (22 or 24 recommended) +- Node.js >= 20.18.1 to run the CLI (22 or 24 recommended). To develop, use Node.js 22.22.2 or newer: dev-tooling dependencies (`hosted-git-info`, `npm-package-arg`, `proc-log`) declare `^22.22.2 || ^24.15.0 || >=26.0.0`, so older 22.x installs warn or fail under `--engine-strict`. `.nvmrc` pins 22.23.4, the newest 22.x at the time of writing (`nvm use`). - npm or yarn - Git diff --git a/.nvmrc b/.nvmrc new file mode 100644 index 0000000..b8b23ca --- /dev/null +++ b/.nvmrc @@ -0,0 +1 @@ +22.23.4 diff --git a/CHANGELOG.md b/CHANGELOG.md index 7980329..3021c2c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -21,6 +21,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed +- Added `.nvmrc` pinning Node.js 22.23.4 for development and documented that + contributors need Node.js 22.22.2 or newer (dev-tooling dependencies require it). + The runtime floor (`engines.node`) and the CI matrix are unchanged. - Raised the minimum Node.js to 20.18.1 (`engines.node`), the floor required by the dependencies a fresh install resolves (`cheerio` 1.2, `undici` 7). Node 20 reached end of life on 2026-04-30, so this is a minor change under the