chore: standardize tsconfig (#9568)

This commit is contained in:
forehalo
2025-01-08 04:07:56 +00:00
parent 39f4b17315
commit c0ed74dfed
151 changed files with 1041 additions and 1566 deletions
+1
View File
@@ -9,6 +9,7 @@
"dependencies": {
"@blocksuite/affine-components": "workspace:*",
"@blocksuite/affine-model": "workspace:*",
"@blocksuite/affine-shared": "workspace:*",
"@blocksuite/block-std": "workspace:*",
"@blocksuite/global": "workspace:*",
"@blocksuite/presets": "workspace:*",
+11 -3
View File
@@ -2,8 +2,7 @@
"extends": "../tsconfig.json",
"compilerOptions": {
"baseUrl": ".",
"noEmit": true,
"composite": false,
"outDir": "./dist",
"paths": {
"@blocks/*": ["../blocks/src/*"],
"@inline/*": ["../framework/inline/src/*"],
@@ -11,5 +10,14 @@
"@playground/*": ["../playground/*"]
}
},
"include": ["**.spec.ts", "**.test.ts", "**/**.ts"]
"include": ["**.spec.ts", "**.test.ts", "**/**.ts"],
"exclude": ["dist"],
"references": [
{ "path": "../affine/components" },
{ "path": "../affine/model" },
{ "path": "../affine/shared" },
{ "path": "../framework/block-std" },
{ "path": "../framework/global" },
{ "path": "../presets" }
]
}