From 5aada0b1b9bf7a47f562cfd3c9815ca64fecb8c5 Mon Sep 17 00:00:00 2001 From: Isaac Dedini Date: Tue, 3 Nov 2026 11:19:41 +1000 Subject: [PATCH 1/2] Support only the Node releases the toolchain does `engines` said 22.13 or later, so Node 25 looked fine until vitest's own range refused it at install. It now matches: 22.13+, 24, or 26 and up. web/.nvmrc lets fnm and nvm pick 26 on their own. Co-Authored-By: Claude Opus 5.5 --- README.md | 2 +- web/.nvmrc | 1 + web/package-lock.json | 2 +- web/package.json | 2 +- 4 files changed, 4 insertions(+), 3 deletions(-) create mode 100644 web/.nvmrc diff --git a/README.md b/README.md index 523e9c6..6bc9d00 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ Everything runs on your machine: GitHub is read through the `gh` CLI, and the su ## Requirements -- Node.js 22.13 or later, for its built-in SQLite +- Node.js 22 (22.13 or later, for its built-in SQLite), 24, or 26 and up. Odd-numbered releases such as 25 aren't supported. `web/.nvmrc` picks 26 for fnm and nvm. - [GitHub CLI](https://cli.github.com/), signed in (`gh auth login`) with access to the repos you want to review. Docent reads PRs and posts your reviews through it, as you. - A model, from any of: - [Claude Code](https://code.claude.com), installed and signed in. Its models run through `claude -p` on your own login, without your settings or MCP servers. diff --git a/web/.nvmrc b/web/.nvmrc new file mode 100644 index 0000000..6f4247a --- /dev/null +++ b/web/.nvmrc @@ -0,0 +1 @@ +26 diff --git a/web/package-lock.json b/web/package-lock.json index b8ab163..54044d7 100644 --- a/web/package-lock.json +++ b/web/package-lock.json @@ -34,7 +34,7 @@ "vitest": "^5.0.5" }, "engines": { - "node": ">=22.13" + "node": "^22.13.0 || ^24.0.0 || >=26.0.0" } }, "node_modules/@ai-sdk/gateway": { diff --git a/web/package.json b/web/package.json index a681859..3666740 100644 --- a/web/package.json +++ b/web/package.json @@ -4,7 +4,7 @@ "version": "0.0.1", "type": "module", "engines": { - "node": ">=22.13" + "node": "^22.13.0 || ^24.0.0 || >=26.0.0" }, "scripts": { "dev": "vite dev", From e28ac31bad9b9bc0141937cac2dad897a35a44f0 Mon Sep 17 00:00:00 2001 From: Isaac Dedini Date: Tue, 3 Nov 2026 11:48:47 +1000 Subject: [PATCH 2/2] Have .nvmrc pick 24, which more people already have nvm refuses a version that isn't installed, and 26 only became LTS last week; any 24.x satisfies `24`. Both pass the checks. Co-Authored-By: Claude Opus 5.5 --- README.md | 2 +- web/.nvmrc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 6bc9d00..a067422 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ Everything runs on your machine: GitHub is read through the `gh` CLI, and the su ## Requirements -- Node.js 22 (22.13 or later, for its built-in SQLite), 24, or 26 and up. Odd-numbered releases such as 25 aren't supported. `web/.nvmrc` picks 26 for fnm and nvm. +- Node.js 22.13 or later, 24, or 26 and up. Odd-numbered releases such as 25 aren't supported. `web/.nvmrc` picks 24 for nvm and fnm. - [GitHub CLI](https://cli.github.com/), signed in (`gh auth login`) with access to the repos you want to review. Docent reads PRs and posts your reviews through it, as you. - A model, from any of: - [Claude Code](https://code.claude.com), installed and signed in. Its models run through `claude -p` on your own login, without your settings or MCP servers. diff --git a/web/.nvmrc b/web/.nvmrc index 6f4247a..a45fd52 100644 --- a/web/.nvmrc +++ b/web/.nvmrc @@ -1 +1 @@ -26 +24