Skip to content

There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.

chore: fix tsconfig (#4389)

Alex Yangbebe69d483fe
diff --git a/apps/server/tests/tsconfig.json b/apps/server/tests/tsconfig.json
index 353667c1aa..0b00b1188c 100644
--- a/apps/server/tests/tsconfig.json
+++ b/apps/server/tests/tsconfig.json
@@ -6,7 +6,8 @@
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"rootDir": ".",
- "outDir": "../dist/tests"
+ "outDir": "../lib/tests",
+ "tsBuildInfoFile": "../lib/tests/.tsbuildinfo"
},
"references": [
{
diff --git a/apps/server/tsconfig.json b/apps/server/tsconfig.json
index 9cc86cac6d..7f51adc41b 100644
--- a/apps/server/tsconfig.json
+++ b/apps/server/tsconfig.json
@@ -13,10 +13,11 @@
"types": ["node"],
"outDir": "dist",
"noEmit": false,
+ "tsBuildInfoFile": "./dist/.tsbuildinfo",
"verbatimModuleSyntax": false,
"rootDir": "./src"
},
- "include": ["src"],
+ "include": ["./src"],
"exclude": ["dist", "lib", "tests"],
"references": [
{
diff --git a/apps/server/tsconfig.node.json b/apps/server/tsconfig.node.json
index 82dc8124fe..54c5032fa5 100644
--- a/apps/server/tsconfig.node.json
+++ b/apps/server/tsconfig.node.json
@@ -7,7 +7,7 @@
"resolveJsonModule": true,
"moduleResolution": "Node",
"allowSyntheticDefaultImports": true,
- "outDir": "dist/scripts",
+ "outDir": "./lib/scripts",
"rootDir": "."
},
"references": [