docs(typescript): two dev packages, and the guards' real line counts #2502

Merged
jaylouisw merged 1 commit from docs/1124-0047 into main 2026-11-24 01:09:17 +00:00
Owner

docs/TYPESCRIPT.md described its own toolchain with three numbers that the repository contradicts.

  • "Exactly one package" and a devDependencies line holding only typescript: package.json has @types/node (^26.6.6) beside typescript, added in the same commit that wrote the page (#2477). The bullet three lines below the block already said @types/node is installed, so the section contradicted itself.
  • scripts/check-control-bytes.ts "is 75 lines": wc -l says 110 (69 non-blank, non-comment).
  • "one 144-line scan (scripts/check-no-any.ts)": wc -l says 507 (450 non-blank, 375 non-comment).

No code change: the code is the truth and the page was the claim. Reconciled the npm ci comment too, which said the install "only fetches typescript".

Guards, unchanged by a prose-only edit: syntax-check 556 files (548 JS, 8 TS); docs-cli-transcript 9 passed; docs-show-commands 83 forms / 166 commands / 112 refusals, 7 passed; no-form-help-key 81 passed; help-completeness 102 advertised commands, 19 mechanisms, 16 show commands, 8 passed.

docs/TYPESCRIPT.md described its own toolchain with three numbers that the repository contradicts. - **"Exactly one package"** and a `devDependencies` line holding only `typescript`: `package.json` has `@types/node` (`^26.6.6`) beside `typescript`, added in the same commit that wrote the page (#2477). The bullet three lines below the block already said `@types/node` **is** installed, so the section contradicted itself. - **`scripts/check-control-bytes.ts` "is 75 lines"**: `wc -l` says 110 (69 non-blank, non-comment). - **"one 144-line scan (`scripts/check-no-any.ts`)"**: `wc -l` says 507 (450 non-blank, 375 non-comment). No code change: the code is the truth and the page was the claim. Reconciled the `npm ci` comment too, which said the install "only fetches `typescript`". Guards, unchanged by a prose-only edit: syntax-check 556 files (548 JS, 8 TS); docs-cli-transcript 9 passed; docs-show-commands 83 forms / 166 commands / 112 refusals, 7 passed; no-form-help-key 81 passed; help-completeness 102 advertised commands, 19 mechanisms, 16 `show` commands, 8 passed.
docs(typescript): two dev packages, and the guards' real line counts
All checks were successful
CI / Server smoke and Docker build (pull_request) Successful in 30s
CI / Typecheck (pull_request) Successful in 30s
PR rebase / Rebase onto main and arm auto-merge (pull_request) Successful in 13s
CI / Test (Node 22) (pull_request) Successful in 1m1s
CI / Test (Node 24) (pull_request) Successful in 1m4s
CI / Arm auto-merge (pull_request) Successful in 7s
c266895070
The page said "Exactly one package" and printed a devDependencies line
holding only typescript; package.json has had @types/node alongside it
since the same commit (#2477). It also read check-control-bytes.ts as 75
lines (it is 110) and check-no-any.ts as a 144-line scan (it is 507).
Every number here is a reading of the file, not a memory of it.
forgejo-actions scheduled this pull request to auto merge when all checks succeed 2026-11-24 00:56:42 +00:00
jaylouisw deleted branch docs/1124-0047 2026-11-24 01:09:26 +00:00
Sign in to join this conversation.
No description provided.