refactor(guardrails): add hotspot budgets and runtime cycle checks

This commit is contained in:
2026-02-21 19:04:50 -08:00
parent 47301d7492
commit 704e664cc3
12 changed files with 409 additions and 18 deletions

View File

@@ -20,6 +20,8 @@
"check:file-budgets:strict": "bun run scripts/check-file-budgets.ts --strict",
"check:main-fanin": "bun run scripts/check-main-runtime-fanin.ts",
"check:main-fanin:strict": "bun run scripts/check-main-runtime-fanin.ts --strict",
"check:runtime-cycles": "bun run scripts/check-runtime-cycles.ts",
"check:runtime-cycles:strict": "bun run scripts/check-runtime-cycles.ts --strict",
"test:config:src": "bun test src/config/config.test.ts src/config/path-resolution.test.ts src/config/resolve/anki-connect.test.ts src/config/resolve/subtitle-style.test.ts src/config/resolve/jellyfin.test.ts src/config/definitions/domain-registry.test.ts",
"test:config:dist": "node --test dist/config/config.test.js dist/config/path-resolution.test.js dist/config/resolve/anki-connect.test.js dist/config/resolve/subtitle-style.test.js dist/config/resolve/jellyfin.test.js dist/config/definitions/domain-registry.test.js",
"test:config:smoke:dist": "node --test dist/config/path-resolution.test.js",