fix: require runtime evidence in budget gate

This commit is contained in:
2026-09-02 09:00:58 +03:00
parent e3ac3a4db4
commit e8b15a4e6e
8 changed files with 81 additions and 8 deletions

View File

@@ -18,11 +18,14 @@
"prepare:assets": "node scripts/prepare-assets.mjs",
"verify:assets": "node scripts/prepare-assets.mjs --verify",
"check:budgets": "node scripts/check-bundle-budgets.mjs dist",
"check:budgets:transfer": "node scripts/check-bundle-budgets.mjs dist --transfer-only",
"capture:runtime-budgets": "playwright test tests/performance/runtime-budget-trace.spec.ts --project=runtime-budget-desktop --workers=1",
"verify:runtime-budgets": "node scripts/verify-runtime-budgets.mjs",
"verify:phase3": "npm run verify:runtime-budgets && npm run test:browser",
"aggregate:performance": "node scripts/aggregate-drive-traces.mjs",
"sign:performance": "node scripts/sign-drive-trace.mjs",
"verify:approved-assets": "node scripts/materialize-empty-asset-set.mjs",
"build:preview": "npm run verify:approved-assets && npm run typecheck && npm run test:unit && npm run build:client && npm run build:ssr && npm run prerender -- --config config/site.preview.json && npm run verify:artifacts -- --config config/site.preview.json && npm run check:budgets"
"build:preview": "npm run verify:approved-assets && npm run typecheck && npm run test:unit && npm run build:client && npm run build:ssr && npm run prerender -- --config config/site.preview.json && npm run verify:artifacts -- --config config/site.preview.json && npm run check:budgets:transfer"
},
"keywords": [],
"author": "",