From 4a35c61254d3e7ec389ddce3fff8371edfac4a36 Mon Sep 17 00:00:00 2001 From: Claude Date: Tue, 27 Oct 2026 01:58:49 +0000 Subject: [PATCH] chore: pin Node.js 22.23.4 for development Dev-tooling dependencies (hosted-git-info, npm-package-arg, proc-log) require ^22.22.2 || ^24.15.0 || >=26.0.0. Add .nvmrc and document it for contributors. The runtime engines floor and CI matrix are unchanged. Co-Authored-By: Claude Sonnet 5.5 Claude-Session: https://claude.ai/code/session_019WNgkFdWRPDsrg7QyXsqtu --- .github/CONTRIBUTING.md | 2 +- .nvmrc | 1 + CHANGELOG.md | 3 +++ 3 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 .nvmrc 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