From 60c2f736075122ec3b91a24ef612ad004d257cdb Mon Sep 17 00:00:00 2001 From: zomars Date: Thu, 28 Jul 2022 13:51:20 -0600 Subject: [PATCH] Migrates EE code --- README.md | 2 +- lib/helpers/verifyApiKey.ts | 2 +- next.config.js | 11 ++++------- 3 files changed, 6 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 63abc73795..7c2ce6e9ad 100644 --- a/README.md +++ b/README.md @@ -84,7 +84,7 @@ We're calling several packages from monorepo, this need to be transpiled before "@calcom/app-store", "@calcom/prisma", "@calcom/lib", - "@calcom/ee", + "@calcom/features", ``` ## API Endpoint Validation diff --git a/lib/helpers/verifyApiKey.ts b/lib/helpers/verifyApiKey.ts index 94945c497c..b915df6626 100644 --- a/lib/helpers/verifyApiKey.ts +++ b/lib/helpers/verifyApiKey.ts @@ -1,6 +1,6 @@ import { NextMiddleware } from "next-api-middleware"; -import { hashAPIKey } from "@calcom/ee/api-keys/lib/apiKeys"; +import { hashAPIKey } from "@calcom/features/ee/api-keys/lib/apiKeys"; import { isAdminGuard } from "@lib/utils/isAdmin"; diff --git a/next.config.js b/next.config.js index 683d8c516b..817b179043 100644 --- a/next.config.js +++ b/next.config.js @@ -3,17 +3,14 @@ const withTM = require("next-transpile-modules")([ "@calcom/app-store", "@calcom/core", - "@calcom/ee", - "@calcom/lib", - "@calcom/prisma", - "@calcom/stripe", - "@calcom/ui", "@calcom/dayjs", "@calcom/emails", - "@calcom/dayjs", "@calcom/embed-core", - "@calcom/dayjs", "@calcom/embed-snippet", + "@calcom/features", + "@calcom/lib", + "@calcom/prisma", + "@calcom/ui", ]); const { withAxiom } = require("next-axiom");