Skip to content

Scheduling infrastructure for absolutely everyone.

fix: exclude web wrappers from dist (#15572)

Lauris Skraucis6632c2606324
diff --git a/packages/platform/atoms/booker/index.ts b/packages/platform/atoms/booker/index.ts
index ac7bafc4511..91e59542996 100644
--- a/packages/platform/atoms/booker/index.ts
+++ b/packages/platform/atoms/booker/index.ts
@@ -1,2 +1 @@
export { BookerWebWrapper } from "./BookerWebWrapper";
-export { BookerPlatformWrapper } from "./BookerPlatformWrapper";
diff --git a/packages/platform/atoms/index.ts b/packages/platform/atoms/index.ts
index 804132c2cce..f40788dbc1a 100644
--- a/packages/platform/atoms/index.ts
+++ b/packages/platform/atoms/index.ts
@@ -1,7 +1,7 @@
export { CalProvider } from "./cal-provider";
export { GcalConnect } from "./connect/google/GcalConnect";
export { AvailabilitySettingsPlatformWrapper as AvailabilitySettings } from "./availability";
-export { BookerPlatformWrapper as Booker } from "./booker";
+export { BookerPlatformWrapper as Booker } from "./booker/BookerPlatformWrapper";
export { useIsPlatform } from "./hooks/useIsPlatform";
export { useAtomsContext } from "./hooks/useAtomsContext";
export { useConnectedCalendars } from "./hooks/useConnectedCalendars";
diff --git a/packages/platform/atoms/tsconfig.json b/packages/platform/atoms/tsconfig.json
index 3d6076cc67b..f371062968b 100644
--- a/packages/platform/atoms/tsconfig.json
+++ b/packages/platform/atoms/tsconfig.json
@@ -42,5 +42,15 @@
"../../trpc",
"../../app-store"
],
- "exclude": ["dist", "build", "node_modules", "**/*WebWrapper.tsx"]
+ "exclude": [
+ "dist",
+ "build",
+ "node_modules",
+ "**/*WebWrapper.tsx",
+ "**/*.docs.mdx",
+ "**/*.stories.tsx",
+ "monorepo.ts",
+ "booker/export.ts",
+ "booker/index.ts"
+ ]
}