Skip to content

Commit

Permalink
fix: remove types entry from exports (#40)
Browse files Browse the repository at this point in the history
Fixes #39 (again, the previous PR was incomplete)
  • Loading branch information
castarco authored Sep 11, 2023
2 parents 27664f1 + 23c3752 commit 6a7ca3b
Show file tree
Hide file tree
Showing 3 changed files with 150 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,4 @@ jobs:
- name: Run Tests
run: pnpm test:coverage
- name: Publint
run: pnpm publint
run: pnpm publint --strict
5 changes: 2 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@beautiful-tree/react",
"version": "0.1.2",
"version": "0.1.3",
"private": false,
"author": "Andres Correa Casablanca <[email protected]>",
"license": "MIT",
Expand All @@ -9,7 +9,6 @@
"types": "./dist/beautiful-tree.d.cts",
"exports": {
".": {
"types": "./dist/beautiful-tree.d.cts",
"import": {
"types": "./dist/beautiful-tree.d.mts",
"default": "./dist/beautiful-tree.mjs"
Expand All @@ -22,7 +21,6 @@
"default": "./dist/beautiful-tree.umd.js"
},
"./min": {
"types": "./dist/beautiful-tree.d.cts",
"import": {
"types": "./dist/beautiful-tree.d.mts",
"default": "./dist/beautiful-tree.min.mjs"
Expand Down Expand Up @@ -51,6 +49,7 @@
"test:watch": "vitest"
},
"devDependencies": {
"@arethetypeswrong/cli": "^0.10.1",
"@coderspirit/eslint-config": "^1.2.1",
"@rollup/plugin-terser": "^0.4.3",
"@rollup/plugin-typescript": "^11.1.3",
Expand Down
147 changes: 147 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 6a7ca3b

Please sign in to comment.