diff --git a/output/stencil/package.json b/output/stencil/package.json index 5ec7c521afb..01b2098d899 100644 --- a/output/stencil/package.json +++ b/output/stencil/package.json @@ -16,7 +16,6 @@ "import": "./dist/loader/index.js" } }, - "types": "./dist/index.d.ts", "files": [ "dist/" ], diff --git a/output/vue/package.json b/output/vue/package.json index ca5318d395b..2d5c9c09f73 100644 --- a/output/vue/package.json +++ b/output/vue/package.json @@ -13,16 +13,15 @@ "exports": { ".": { "import": { - "default": "./dist/db-ui.es.js", - "types": "./dist/index.d.ts" + "types": "./dist/index.d.ts", + "default": "./dist/db-ui.es.js" }, "require": { - "default": "./dist/db-ui.umd.js", - "types": "./dist/index.d.ts" + "types": "./dist/index.d.ts", + "default": "./dist/db-ui.umd.js" } } }, - "types": "./dist/index.d.ts", "files": [ "dist/" ], diff --git a/packages/components/package.json b/packages/components/package.json index a01d49e66d9..04605990204 100644 --- a/packages/components/package.json +++ b/packages/components/package.json @@ -11,17 +11,6 @@ "license": "Apache-2.0", "main": "./dist/index.js", "module": "./dist/index.js", - "exports": { - "./build/components/*": { - "sass": "./build/components/*.scss", - "default": "./build/components/*.css" - }, - "./build/styles/*": { - "sass": "./build/styles/*.scss", - "default": "./build/styles/*.css" - }, - "./build/*": "./build/*" - }, "types": "./dist/index.d.ts", "files": [ "build" diff --git a/packages/components/src/shared/model.ts b/packages/components/src/shared/model.ts index dc9dd016781..4e45109f711 100644 --- a/packages/components/src/shared/model.ts +++ b/packages/components/src/shared/model.ts @@ -1,6 +1,6 @@ /* eslint-disable @typescript-eslint/no-explicit-any */ -import { IconTypes } from '@db-ui/foundations'; +import { IconTypes } from '@db-ui/foundations/build'; export type GlobalProps = { /** diff --git a/packages/components/tsconfig.json b/packages/components/tsconfig.json index 2f5ab124ef1..ad4b4963dbe 100644 --- a/packages/components/tsconfig.json +++ b/packages/components/tsconfig.json @@ -3,6 +3,6 @@ "jsx": "preserve", "jsxImportSource": "@builder.io/mitosis", "esModuleInterop": true, - "moduleResolution": "nodenext" + "moduleResolution": "node" } } diff --git a/packages/foundations/package.json b/packages/foundations/package.json index 0e1ae970410..63a0a9e6ec9 100644 --- a/packages/foundations/package.json +++ b/packages/foundations/package.json @@ -12,17 +12,6 @@ "@db-ui/foundations": "build/index.js" }, "main": "build.js", - "exports": { - "./build/styles/*": { - "sass": "./build/styles/*.scss", - "default": "./build/styles/*.css" - }, - "./build/*": "./build/*", - ".": { - "types": "./build/index.d.ts", - "default": "./build/index.js" - } - }, "files": [ "assets", "build" diff --git a/packages/foundations/tsconfig.json b/packages/foundations/tsconfig.json index 404ce534cb0..0459fcd8f49 100644 --- a/packages/foundations/tsconfig.json +++ b/packages/foundations/tsconfig.json @@ -2,11 +2,11 @@ "compilerOptions": { "outDir": "build", "declaration": true, - "module": "NodeNext", + "module": "ESNext", "esModuleInterop": true, "target": "ES6", "lib": ["ESNext"], - "moduleResolution": "nodenext", + "moduleResolution": "node", "skipLibCheck": true }, "include": ["./src"],