build: perform TypeCheck for all packages (#2573)

Co-authored-by: himself65 <himself65@outlook.com>
Co-authored-by: Peng Xiao <pengxiao@outlook.com>
This commit is contained in:
LongYinan
2023-05-31 20:49:56 +08:00
committed by himself65
parent 1521978bb5
commit 00c5e323b3
81 changed files with 434 additions and 241 deletions
+7 -1
View File
@@ -1,6 +1,7 @@
{
"compilerOptions": {
"target": "ES2020",
"rootDir": ".",
"target": "ESNext",
"lib": ["dom", "dom.iterable", "esnext"],
"allowJs": true,
"skipLibCheck": true,
@@ -32,6 +33,7 @@
"@affine/graphql": ["./packages/graphql/src"],
"@affine/copilot": ["./plugins/copilot/src"],
"@affine/copilot/*": ["./plugins/copilot/src/*"],
"@affine/electron/layers/*": ["./apps/electron/layers/*"],
"@affine-test/kit/*": ["./tests/kit/*"],
"@affine-test/fixtures/*": ["./tests/fixtures/*"],
"@toeverything/y-indexeddb": ["./packages/y-indexeddb/src"],
@@ -42,6 +44,7 @@
"@affine/native/*": ["./packages/native/*"]
}
},
"include": [],
"references": [
{
"path": "./tests"
@@ -67,6 +70,9 @@
{
"path": "./packages/env"
},
{
"path": "./packages/env/tsconfig.blocksuite.json"
},
{
"path": "./packages/graphql"
},