diff --git a/next.config.js b/next.config.js index 817b179043..1031c0a949 100644 --- a/next.config.js +++ b/next.config.js @@ -10,6 +10,7 @@ const withTM = require("next-transpile-modules")([ "@calcom/features", "@calcom/lib", "@calcom/prisma", + "@calcom/trpc", "@calcom/ui", ]); const { withAxiom } = require("next-axiom"); diff --git a/package.json b/package.json index 0b4f085b37..3e7c495143 100644 --- a/package.json +++ b/package.json @@ -27,6 +27,7 @@ "dependencies": { "@calcom/app-store-cli": "*", "@calcom/prisma": "*", + "@calcom/trpc": "*", "@sentry/nextjs": "^6.19.7", "bcryptjs": "^2.4.3", "memory-cache": "^0.2.0", diff --git a/tsconfig.json b/tsconfig.json index 2714b86c1c..c230406ae4 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -9,6 +9,6 @@ "@/*": ["*"] } }, - "include": ["next-env.d.ts", "**/*.ts", "**/*.tsx"], + "include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", "../../packages/types/next-auth.d.ts"], "exclude": ["node_modules", "templates", "auth"] }