]> Piment Noir Git Repositories - poolifier.git/commit
build(typedoc): harden gate and propagate CLI exit code
authorJérôme Benoit <jerome.benoit@piment-noir.org>
Fri, 15 May 2026 23:41:40 +0000 (01:41 +0200)
committerJérôme Benoit <jerome.benoit@piment-noir.org>
Fri, 15 May 2026 23:41:40 +0000 (01:41 +0200)
commita4c2af2b3e97993b51cdbbdf0522fcfda111c873
tree1b61b68a1cc1d5c4ef154cc6054f79ff4b80ffc8
parent2c3fc4c788d4a5f6b8c698c098d16c6256d498aa
build(typedoc): harden gate and propagate CLI exit code

* typedoc.mjs: forward CLI args via execFileSync, propagate typedoc exit
  status, and guarantee docs/*.md restoration via try/finally on failure.
* typedoc.json: enable treatWarningsAsErrors and excludeInternal; map
  EventEmitter.defaultMaxListeners to nodejs.org docs.
* tsconfig.json: scope types to ["node"] to fix the TS2591 errors that
  typedoc surfaces under TypeScript 6.x stricter implicit type
  acquisition rules.

Extracted from PR #3211 as an atomic build/typedoc precursor.
tsconfig.json
typedoc.json
typedoc.mjs