mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-25 22:38:56 +08:00
refactor: project tsconfig & abstract infra type (#2721)
(cherry picked from commit 1ad2e629ac)
This commit is contained in:
+18
-14
@@ -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": [],
|
||||
|
||||
Reference in New Issue
Block a user