Skip to content

Commit 6a7ca3b

Browse files
authored
fix: remove types entry from exports (#40)
Fixes #39 (again, the previous PR was incomplete)
2 parents 27664f1 + 23c3752 commit 6a7ca3b

File tree

3 files changed

+150
-4
lines changed

3 files changed

+150
-4
lines changed

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,4 +43,4 @@ jobs:
4343
- name: Run Tests
4444
run: pnpm test:coverage
4545
- name: Publint
46-
run: pnpm publint
46+
run: pnpm publint --strict

package.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@beautiful-tree/react",
3-
"version": "0.1.2",
3+
"version": "0.1.3",
44
"private": false,
55
"author": "Andres Correa Casablanca <castarco@coderspirit.xyz>",
66
"license": "MIT",
@@ -9,7 +9,6 @@
99
"types": "./dist/beautiful-tree.d.cts",
1010
"exports": {
1111
".": {
12-
"types": "./dist/beautiful-tree.d.cts",
1312
"import": {
1413
"types": "./dist/beautiful-tree.d.mts",
1514
"default": "./dist/beautiful-tree.mjs"
@@ -22,7 +21,6 @@
2221
"default": "./dist/beautiful-tree.umd.js"
2322
},
2423
"./min": {
25-
"types": "./dist/beautiful-tree.d.cts",
2624
"import": {
2725
"types": "./dist/beautiful-tree.d.mts",
2826
"default": "./dist/beautiful-tree.min.mjs"
@@ -51,6 +49,7 @@
5149
"test:watch": "vitest"
5250
},
5351
"devDependencies": {
52+
"@arethetypeswrong/cli": "^0.10.1",
5453
"@coderspirit/eslint-config": "^1.2.1",
5554
"@rollup/plugin-terser": "^0.4.3",
5655
"@rollup/plugin-typescript": "^11.1.3",

pnpm-lock.yaml

Lines changed: 147 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)