Skip to content

Commit 20d7af7

Browse files
committed
fix: exported types
Signed-off-by: Andres Correa Casablanca <castarco@coderspirit.xyz>
1 parent 404f30b commit 20d7af7

File tree

5 files changed

+380
-434
lines changed

5 files changed

+380
-434
lines changed

package.json

Lines changed: 29 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,36 @@
11
{
22
"name": "@beautiful-tree/react",
3-
"version": "0.1.1",
3+
"version": "0.1.2",
44
"private": false,
55
"author": "Andres Correa Casablanca <castarco@coderspirit.xyz>",
66
"license": "MIT",
77
"main": "./dist/beautiful-tree.cjs",
88
"module": "./dist/beautiful-tree.mjs",
9-
"types": "./dist/beautiful-tree.d.ts",
9+
"types": "./dist/beautiful-tree.d.cts",
1010
"exports": {
1111
".": {
12-
"types": "./dist/beautiful-tree.d.ts",
13-
"import": "./dist/beautiful-tree.mjs",
14-
"require": "./dist/beautiful-tree.cjs",
12+
"types": "./dist/beautiful-tree.d.cts",
13+
"import": {
14+
"types": "./dist/beautiful-tree.d.mts",
15+
"default": "./dist/beautiful-tree.mjs"
16+
},
17+
"require": {
18+
"types": "./dist/beautiful-tree.d.cts",
19+
"default": "./dist/beautiful-tree.cjs"
20+
},
1521
"browser": "./dist/beautiful-tree.iife.js",
1622
"default": "./dist/beautiful-tree.umd.js"
1723
},
1824
"./min": {
19-
"types": "./dist/beautiful-tree.d.ts",
20-
"import": "./dist/beautiful-tree.min.mjs",
21-
"require": "./dist/beautiful-tree.min.cjs",
25+
"types": "./dist/beautiful-tree.d.cts",
26+
"import": {
27+
"types": "./dist/beautiful-tree.d.mts",
28+
"default": "./dist/beautiful-tree.min.mjs"
29+
},
30+
"require": {
31+
"types": "./dist/beautiful-tree.d.cts",
32+
"default": "./dist/beautiful-tree.min.cjs"
33+
},
2234
"browser": "./dist/beautiful-tree.min.iife.js",
2335
"default": "./dist/beautiful-tree.min.umd.js"
2436
}
@@ -40,22 +52,20 @@
4052
},
4153
"devDependencies": {
4254
"@coderspirit/eslint-config": "^1.2.1",
43-
"@rollup/plugin-commonjs": "^25.0.4",
44-
"@rollup/plugin-node-resolve": "^15.2.1",
4555
"@rollup/plugin-terser": "^0.4.3",
4656
"@rollup/plugin-typescript": "^11.1.3",
47-
"@storybook/addon-essentials": "^7.4.0",
48-
"@storybook/addon-interactions": "^7.4.0",
49-
"@storybook/addon-links": "^7.4.0",
50-
"@storybook/blocks": "^7.4.0",
51-
"@storybook/react": "^7.4.0",
52-
"@storybook/react-vite": "^7.4.0",
57+
"@storybook/addon-essentials": "^7.4.1",
58+
"@storybook/addon-interactions": "^7.4.1",
59+
"@storybook/addon-links": "^7.4.1",
60+
"@storybook/blocks": "^7.4.1",
61+
"@storybook/react": "^7.4.1",
62+
"@storybook/react-vite": "^7.4.1",
5363
"@storybook/testing-library": "^0.2.0",
5464
"@testing-library/react": "^14.0.0",
5565
"@types/node": "^20.6.0",
5666
"@types/react": "^18.2.21",
5767
"@types/react-dom": "^18.2.7",
58-
"@typescript-eslint/parser": "^6.6.0",
68+
"@typescript-eslint/parser": "^6.7.0",
5969
"@vitest/coverage-v8": "^0.34.4",
6070
"eslint": "^8.49.0",
6171
"eslint-plugin-react": "^7.33.2",
@@ -67,9 +77,9 @@
6777
"publint": "^0.2.2",
6878
"react": "^18.2.0",
6979
"react-dom": "^18.2.0",
70-
"rollup": "^3.29.0",
80+
"rollup": "^3.29.1",
7181
"rollup-plugin-dts": "^5.3.1",
72-
"storybook": "^7.4.0",
82+
"storybook": "^7.4.1",
7383
"typescript": "^5.2.2",
7484
"vitest": "^0.34.4"
7585
},

0 commit comments

Comments
 (0)