Skip to content

Commit 480e267

Browse files
author
Umutcan ÖNER
committed
fix: add TypeScript composite configuration for proper module resolution
1 parent 6cbc49a commit 480e267

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

tsconfig.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
"resolveJsonModule": true,
2626
"incremental": true,
2727
"composite": true,
28+
"disableSourceOfProjectReferenceRedirect": true,
2829
"baseUrl": ".",
2930
"paths": {
3031
"@aicd/core": ["packages/core/src"],
@@ -43,5 +44,14 @@
4344
"@aicd/web/*": ["packages/web/src/*"]
4445
}
4546
},
47+
"references": [
48+
{ "path": "./packages/core" },
49+
{ "path": "./packages/database" },
50+
{ "path": "./packages/auth" },
51+
{ "path": "./packages/cms" },
52+
{ "path": "./packages/api" },
53+
{ "path": "./packages/app" },
54+
{ "path": "./packages/web" }
55+
],
4656
"exclude": ["node_modules", "dist", "build", "coverage", ".turbo", ".next", "out"]
4757
}

0 commit comments

Comments
 (0)