build(types): ENG-04 add strict projects and legacy compiler checks

This commit is contained in:
Harvey Zhao committed 2026-09-10 21:21:39 +08:00
1 parent 09902b8b8c
commit 771482426f
22 files changed
+346 -49

No files matched your search

+4 -2
View File
@@ -45,9 +45,10 @@
"check:plan": "node refactor/scripts/plan.mjs --check",
"test:node": "node --test test/playback.test.js test/dash-control.test.js test/toolchain.test.js test/build-docs.test.js",
"test:baseline": "node --test refactor/scripts/*.test.mjs",
"ci:check": "yarn check:toolchain --strict && yarn check:plan && yarn lint && yarn test:node && yarn test:baseline",
"ci:check": "yarn check:toolchain --strict && yarn check:plan && yarn lint && yarn typecheck && yarn test:node && yarn test:baseline",
"ci:build": "yarn build all && yarn build:i18n && yarn build:ts && yarn build:docs && yarn test:imports",
"test:imports": "node --test test/esm.test.js test/i18n.test.js test/ssr.test.js"
"test:imports": "node --test test/esm.test.js test/i18n.test.js test/ssr.test.js",
"typecheck": "node scripts/typecheck.mjs"
},
"browserslist": "last 1 Chrome version",
"devDependencies": {
@@ -69,6 +70,7 @@
"svgo": "4.1.0",
"terser": "5.51.2",
"typescript": "5.9.3",
"typescript-compat": "npm:typescript@4.3.5",
"vite": "7.3.6"
},
"packageManager": "yarn@1.22.22"