build: prevent tsconfig includes sources outside (#2643)

This commit is contained in:
LongYinan
2023-06-01 17:08:14 +08:00
parent 07a502e840
commit 6bd2e6a619
25 changed files with 160 additions and 107 deletions
+1 -1
View File
@@ -35,7 +35,7 @@
"test:unit:coverage": "vitest run --coverage",
"postinstall": "i18n-codegen gen && husky install",
"notify": "node scripts/notify.mjs",
"typecheck": "tsc -b tsconfig.json"
"typecheck": "tsc -b tsconfig.json --diagnostics"
},
"lint-staged": {
"*": "prettier --write --ignore-unknown --cache",