bot/scripts/build-spec-index.ts
openaliro/openaliro
Module
build-spec-index.ts
@file Regenerate src/spec-index.generated.ts from the live docs/ tree.
Overview
@file Regenerate src/spec-index.generated.ts from the live docs/ tree.
npm run spec-index
Run this after editing anything in docs/ that cites the Aliro 1.0
specification. npm run drift (via spec-index.test.ts) fails the build if
the committed file falls out of sync with a fresh scan, the same way
citations.ts is checked against the lines it cites.
depends on spec-scan.ts