Skip to content

Scheduling infrastructure for absolutely everyone.

chore: Reduce circular dependencies in tsconfig resoluttion (#27416)

Alex van Andel39f97e7326dc
diff --git a/apps/api/v1/tsconfig.json b/apps/api/v1/tsconfig.json
index d88f6edfcfc..8c58b02c043 100644
--- a/apps/api/v1/tsconfig.json
+++ b/apps/api/v1/tsconfig.json
@@ -5,7 +5,7 @@
"jsx": "preserve",
"baseUrl": ".",
"paths": {
- "~/*": ["*"],
+ "~/*": ["./*"],
"@prisma/client/*": ["@calcom/prisma/client/*"],
"@calcom/testing/*": ["../../../packages/testing/src/*"]
},
diff --git a/packages/features/tsconfig.json b/packages/features/tsconfig.json
index 4e47ac78f17..8fb8b6cc5e8 100644
--- a/packages/features/tsconfig.json
+++ b/packages/features/tsconfig.json
@@ -5,12 +5,21 @@
"moduleResolution": "bundler",
"baseUrl": ".",
"paths": {
- "~/*": ["/*"]
+ "~/*": ["./*"]
},
"resolveJsonModule": true,
"esModuleInterop": true,
"experimentalDecorators": true
},
"include": [".", "../types/next-auth.d.ts", "../types/tanstack-table.d.ts"],
- "exclude": ["dist", "build", "**/node_modules/**", "**/*.test.*", "**/__mocks__/*", "**/__tests__/*", "auth", "ee"]
+ "exclude": [
+ "dist",
+ "build",
+ "**/node_modules/**",
+ "**/*.test.*",
+ "**/__mocks__/*",
+ "**/__tests__/*",
+ "auth",
+ "ee"
+ ]
}
diff --git a/packages/platform/atoms/tsconfig.json b/packages/platform/atoms/tsconfig.json
index 8ed76d79748..11698f7c2db 100644
--- a/packages/platform/atoms/tsconfig.json
+++ b/packages/platform/atoms/tsconfig.json
@@ -3,7 +3,7 @@
"compilerOptions": {
"baseUrl": ".",
"paths": {
- "~/*": ["/*"],
+ "~/*": ["./*"],
"@/*": ["./src/*"],
"@calcom/lib": ["../../lib"],
"@calcom/lib/*": ["../../lib/*"],