refactor: project tsconfig & abstract infra type (#2721)

(cherry picked from commit 1ad2e629ac)
This commit is contained in:
Himself65
2023-06-08 12:41:47 +08:00
committed by himself65
parent 3d0da0a21f
commit 5f634eed21
14 changed files with 149 additions and 207 deletions
+18 -14
View File
@@ -7,14 +7,17 @@
"skipLibCheck": true,
"strict": true,
"forceConsistentCasingInFileNames": true,
"noEmit": true,
"esModuleInterop": true,
"module": "esnext",
"moduleResolution": "node",
"resolveJsonModule": true,
"isolatedModules": true,
"jsx": "preserve",
// Project
"incremental": true,
"composite": true,
"experimentalDecorators": true,
"emitDecoratorMetadata": true,
"baseUrl": ".",
@@ -52,11 +55,9 @@
},
"include": [],
"references": [
// Apps
{
"path": "./tests"
},
{
"path": "./apps/electron/tests"
"path": "./apps/electron"
},
{
"path": "./apps/web"
@@ -64,9 +65,21 @@
{
"path": "./apps/server"
},
// Top level packages
{
"path": "./packages/infra"
},
{
"path": "./packages/graphql"
},
{
"path": "./packages/debug"
},
// Tests
{
"path": "./tests"
},
{
"path": "./packages/component"
},
@@ -79,12 +92,6 @@
{
"path": "./packages/env"
},
{
"path": "./packages/graphql"
},
{
"path": "./packages/debug"
},
{
"path": "./packages/workspace"
},
@@ -105,9 +112,6 @@
},
{
"path": "./tsconfig.node.json"
},
{
"path": "./apps/electron"
}
],
"files": [],