Skip to content

Commit

Permalink
chore: removed exports to avoid conflicts with resolving correct pack…
Browse files Browse the repository at this point in the history
…ages
  • Loading branch information
nmerget committed Jan 31, 2025
1 parent d0a9645 commit 4863921
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 32 deletions.
1 change: 0 additions & 1 deletion output/stencil/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
"import": "./dist/loader/index.js"
}
},
"types": "./dist/index.d.ts",
"files": [
"dist/"
],
Expand Down
9 changes: 4 additions & 5 deletions output/vue/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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/"
],
Expand Down
11 changes: 0 additions & 11 deletions packages/components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion packages/components/src/shared/model.ts
Original file line number Diff line number Diff line change
@@ -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 = {
/**
Expand Down
2 changes: 1 addition & 1 deletion packages/components/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
"jsx": "preserve",
"jsxImportSource": "@builder.io/mitosis",
"esModuleInterop": true,
"moduleResolution": "nodenext"
"moduleResolution": "node"
}
}
11 changes: 0 additions & 11 deletions packages/foundations/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
4 changes: 2 additions & 2 deletions packages/foundations/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"],
Expand Down

0 comments on commit 4863921

Please sign in to comment.