Docs: wire config baseline into release checks

This commit is contained in:
Vincent Koc
2026-03-14 10:36:55 -07:00
parent a9c270f662
commit cae3417fea
3 changed files with 5 additions and 3 deletions

View File

@@ -26,10 +26,11 @@ if (checkOnly) {
}
console.error(
[
"Config doc baseline artifacts are out of date.",
"Config baseline drift detected.",
`Expected current: ${path.relative(repoRoot, result.jsonPath)}`,
`Expected current: ${path.relative(repoRoot, result.statefilePath)}`,
"Run: node --import tsx scripts/generate-config-doc-baseline.ts --write",
"If this config-surface change is intentional, run `pnpm config:docs:gen` and commit the updated baseline files.",
"If not intentional, treat this as docs drift or a possible breaking config change and fix the schema/help changes first.",
].join("\n"),
);
process.exit(1);