docs(wiki): getting started says Node 22.18, the floor the package declares #2583

Merged
jaylouisw merged 1 commit from docs/1124-1447 into main 2026-11-24 15:04:57 +00:00
Owner

The wiki page a new reader lands on said Node 18 or newer. That is the version the repository left behind when it started writing TypeScript.

Evidence from the code:

  • package.json declares "engines": { "node": ">=22.18.0" }.
  • 22.18 is the first release that runs a .ts file with no flag and no build step, and the server require graph loads one: engine/index.js:5 is require(./link.ts) (engine/topology.js:4 too).
  • CONTRIBUTING.md ("The Node floor is real, and it is 22.18") records the failure: a runtime below the floor does not fail a test, it fails on the first type annotation with SyntaxError: Missing initializer in const declaration; Node 18 and 20 were dropped from the matrix for that reason.
  • docs/CI.md, docs/TYPESCRIPT.md, CONTRIBUTING.md and the Dockerfile all already say 22.18. docs/wiki/ is the one documentation surface no guard reads, and this line went stale in the #2483 / #2494 / #2504 TypeScript conversions (the page was last edited on 8 Nov 2026).

The page now states the floor and why it is a floor. No other claim on the page changed; npm run smoke still exists and is still the script it names.

Guards after the edit: syntax-check 569 files OK; docs transcript 9, docs commands 7, help-forms 81, help-coverage 8, doc-citations 26, doc-catalog-counts 43 - all passing, unchanged (none of them read docs/wiki/).

The wiki page a new reader lands on said **Node 18 or newer**. That is the version the repository left behind when it started writing TypeScript. Evidence from the code: - `package.json` declares `"engines": { "node": ">=22.18.0" }`. - 22.18 is the first release that runs a `.ts` file with no flag and no build step, and the server require graph loads one: `engine/index.js:5` is `require(./link.ts)` (`engine/topology.js:4` too). - `CONTRIBUTING.md` ("The Node floor is real, and it is 22.18") records the failure: a runtime below the floor does not fail a test, it fails on the first type annotation with `SyntaxError: Missing initializer in const declaration`; Node 18 and 20 were dropped from the matrix for that reason. - `docs/CI.md`, `docs/TYPESCRIPT.md`, `CONTRIBUTING.md` and the `Dockerfile` all already say 22.18. `docs/wiki/` is the one documentation surface no guard reads, and this line went stale in the #2483 / #2494 / #2504 TypeScript conversions (the page was last edited on 8 Nov 2026). The page now states the floor and why it is a floor. No other claim on the page changed; `npm run smoke` still exists and is still the script it names. Guards after the edit: syntax-check 569 files OK; docs transcript 9, docs commands 7, help-forms 81, help-coverage 8, doc-citations 26, doc-catalog-counts 43 - all passing, unchanged (none of them read `docs/wiki/`).
docs(wiki): getting started says Node 22.18, the floor the package declares
All checks were successful
CI / Typecheck (pull_request) Successful in 38s
CI / Server smoke and Docker build (pull_request) Successful in 1m0s
CI / Test (Node 22) (pull_request) Successful in 1m1s
CI / Test (Node 24) (pull_request) Successful in 1m2s
CI / Arm auto-merge (pull_request) Successful in 8s
PR rebase / Rebase onto main and arm auto-merge (pull_request) Successful in 21s
28f92822f1
The wiki page told a new reader "Node 18 or newer", which is the version the repository
left behind when it started writing TypeScript. package.json declares
engines.node >=22.18.0, and 22.18 is the first release that runs a .ts file with no flag
and no build step - the server's own require graph loads one (engine/index.js requires
./link.ts, and engine/topology.js requires it too). On Node 18 or 20 the tree does not
fail a test: it cannot load, with SyntaxError: Missing initializer in const declaration,
which is the reason CONTRIBUTING.md gives for dropping both legs from the matrix.

Every other page already says 22.18 (CONTRIBUTING.md, docs/TYPESCRIPT.md, docs/CI.md,
the Dockerfile); docs/wiki/ is the one surface no guard reads, and this row went stale in
the #2483/#2494/#2504 conversions.
forgejo-actions scheduled this pull request to auto merge when all checks succeed 2026-11-24 14:58:52 +00:00
forgejo-actions canceled auto merging this pull request when all checks succeed 2026-11-24 15:00:22 +00:00
jaylouisw deleted branch docs/1124-1447 2026-11-24 15:04:59 +00:00
Sign in to join this conversation.
No description provided.