From 39f97e7326dce52655bfc6894581de0f9719aacd Mon Sep 17 00:00:00 2001 From: Alex van Andel Date: Thu, 29 Jan 2026 23:24:02 -0300 Subject: [PATCH] chore: Reduce circular dependencies in tsconfig resoluttion (#27416) --- apps/api/v1/tsconfig.json | 2 +- packages/features/tsconfig.json | 13 +++++++++++-- packages/platform/atoms/tsconfig.json | 2 +- 3 files changed, 13 insertions(+), 4 deletions(-) diff --git a/apps/api/v1/tsconfig.json b/apps/api/v1/tsconfig.json index d88f6edfcf..8c58b02c04 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 4e47ac78f1..8fb8b6cc5e 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 8ed76d7974..11698f7c2d 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/*"],