From da01725726ae811061b8ac728fefdd7e390f90d0 Mon Sep 17 00:00:00 2001 From: Yossi Saadi Date: Tue, 10 Dec 2024 16:02:24 +0200 Subject: [PATCH] refactor: only allow to export components from /next --- packages/core/package.json | 6 +++--- packages/core/src/next.ts | 1 - 2 files changed, 3 insertions(+), 4 deletions(-) delete mode 100644 packages/core/src/next.ts diff --git a/packages/core/package.json b/packages/core/package.json index 6e3afef0e2..f040039ef0 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -36,9 +36,9 @@ "default": "./dist/src/tests/testIds.js" }, "./next": { - "types": "./dist/next.d.ts", - "import": "./dist/src/next.js", - "default": "./dist/src/next.js" + "types": "./dist/components/next/next.d.ts", + "import": "./dist/src/components/next/next.js", + "default": "./dist/src/components/next/next.js" }, "./tokens": "./dist/tokens/tokens.css", "./mockedClassNames": { diff --git a/packages/core/src/next.ts b/packages/core/src/next.ts deleted file mode 100644 index 0b610e3978..0000000000 --- a/packages/core/src/next.ts +++ /dev/null @@ -1 +0,0 @@ -export * from "./components/next";