Commit 04debd7
committed
chore(spec): regenerate the API-surface snapshot for envelopeViolations
`check:api-surface` is a ratchet on `@objectstack/spec`'s public exports, and the
new predicate is an addition to it:
./api
+ envelopeViolations (function)
0 breaking (removed/narrowed), 1 added.
One line, alphabetically beside the other predicates that module already exports.
Two things this caught that are worth writing down.
The gate lives in the TypeScript Type Check job, which runs TEN steps — I had
found four of them by grepping a window of lint.yml that cut off before the rest,
and ran only those. The full list is: spec tsc, check:docs, check:skill-refs,
check:react-blocks, a workspace build, examples typecheck, downstream-contract
typecheck, check:api-surface, check:skill-examples, and the two i18n checks. All
ten pass locally now.
And `gen:api-surface` reads `dist/index.d.ts`, so it fails outright under
`OS_SKIP_DTS=1` — the flag I had been using to keep local builds fast. Rebuilding
spec with declarations is a prerequisite for regenerating the snapshot, not an
optional speed-up.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01CYbS3kS8xzsHNXFTzp4e2z1 parent b9636d7 commit 04debd7
1 file changed
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3088 | 3088 | | |
3089 | 3089 | | |
3090 | 3090 | | |
| 3091 | + | |
3091 | 3092 | | |
3092 | 3093 | | |
3093 | 3094 | | |
| |||
0 commit comments