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
+10 -39
View File
@@ -1,45 +1,16 @@
{
"extends": "../../../../tsconfig.json",
"extends": "../../../../tsconfig.node.json",
"compilerOptions": {
"composite": true,
"skipLibCheck": true,
"target": "ES2022",
"module": "ESNext",
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"types": ["node", "affine__env"],
"outDir": "lib",
"moduleResolution": "Bundler",
"resolveJsonModule": true,
"noImplicitOverride": true,
"paths": {
"@toeverything/infra/*": ["../../common/infra/src/*"]
}
"rootDir": "./src",
"outDir": "./dist",
"tsBuildInfoFile": "./dist/tsconfig.tsbuildinfo"
},
"include": ["./src"],
"exclude": ["renderer", "node_modules", "lib", "dist", "**/__tests__/**/*"],
"references": [
{
"path": "../../../frontend/native"
},
{
"path": "../../../common/infra"
},
{
"path": "../../../common/env"
},
{
"path": "./tsconfig.node.json"
},
{
"path": "../../../../tests/kit"
},
{
"path": "../../../../tools/utils"
}
],
"ts-node": {
"esm": true,
"experimentalSpecifierResolution": "node"
}
{ "path": "../../../../tests/kit" },
{ "path": "../../../../tools/utils" },
{ "path": "../../native" },
{ "path": "../../../common/nbstore" },
{ "path": "../../../common/infra" }
]
}