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

This commit is contained in:
Himself65 authored and GitHub committed 2023-06-08 12:41:47 +08:00
1 parent 05288be934
commit 1ad2e629ac
14 files changed
+149 -207

No files matched your search

+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": [],