Skip to content

Commit

Permalink
fix(react-types): fixes a problem where types were not exported corre…
Browse files Browse the repository at this point in the history
…ctly (#7046)

Co-authored-by: Segun Adebayo <joseshegs@gmail.com>
  • Loading branch information
cschroeter and segunadebayo committed Nov 28, 2022
1 parent 4d5501b commit 67ef76e
Show file tree
Hide file tree
Showing 7 changed files with 18 additions and 45 deletions.
5 changes: 5 additions & 0 deletions .changeset/tender-wombats-mix.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@chakra-ui/react-types": patch
---

Fixes a problem where types were not exported correctly
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,6 @@
}
},
"engines": {
"node": "16.x"
"node": ">=16.x"
}
}
15 changes: 0 additions & 15 deletions packages/utilities/react-types/clean-package.config.json

This file was deleted.

8 changes: 2 additions & 6 deletions packages/utilities/react-types/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
"types": "src/index.d.ts",
"sideEffects": false,
"files": [
"dist",
"src"
],
"publishConfig": {
Expand All @@ -30,11 +31,6 @@
"react": ">=18"
},
"devDependencies": {
"react": "^18.0.0",
"clean-package": "2.1.1"
},
"scripts": {
"prepack": "clean-package",
"postpack": "clean-package restore"
"react": "^18.0.0"
}
}
2 changes: 1 addition & 1 deletion packages/utilities/react-types/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"extends": "../../../tsconfig.json",
"include": ["src", "index.ts"]
"include": ["src", "index.d.ts"]
}
11 changes: 0 additions & 11 deletions packages/utilities/react-types/tsup.config.ts

This file was deleted.

20 changes: 9 additions & 11 deletions pnpm-lock.yaml

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

1 comment on commit 67ef76e

@vercel
Copy link

@vercel vercel bot commented on 67ef76e Nov 28, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.