diff --git a/README.md b/README.md index 523e9c6..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.13 or later, for its built-in SQLite +- 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 new file mode 100644 index 0000000..a45fd52 --- /dev/null +++ b/web/.nvmrc @@ -0,0 +1 @@ +24 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",