From ca0f28a63afc96b446c7449b9f18d4a99519143f Mon Sep 17 00:00:00 2001 From: Dashsoap <42135402+Dashsoap@users.noreply.github.com> Date: Sun, 14 Jun 2026 19:35:36 +0800 Subject: [PATCH] docs: correct Node engines floor to >=20.0.0 in CLAUDE.md CLAUDE.md stated `>=18.0.0 <25.0.0`, but the actual supported floor is Node 20. Three sources agree on 20, not 18: - package.json "engines": ">=20.0.0 <25.0.0" - src/bin/node-version-check.ts: MIN_NODE_MAJOR = 20 (hard-enforced at CLI bootstrap, with a 'requires Node.js 20 or newer' banner) - the buildNodeTooOldBanner text shown below that floor Align the doc with the enforced floor so the LLM-readable guidance doesn't claim Node 18 works when the CLI hard-exits below 20. --- CLAUDE.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CLAUDE.md b/CLAUDE.md index 6fe116de0..02fff7728 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -29,7 +29,7 @@ npx vitest run __tests__/extraction.test.ts -t "TypeScript" `copy-assets` (called from `build`) copies `src/db/schema.sql` and all `src/extraction/wasm/*.wasm` files into `dist/`. **Any new SQL or grammar wasm must be copied or it won't ship.** -Node engines: `>=18.0.0 <25.0.0`. There is a hard exit on Node 25.x (see `src/bin/node-version-check.ts`). +Node engines: `>=20.0.0 <25.0.0`. There is a hard exit on Node 25.x (see `src/bin/node-version-check.ts`). ## Architecture