Skip to content

Commit

Permalink
build(theme): Export components and foundations from theme package (#…
Browse files Browse the repository at this point in the history
…7135)

Closes #7130
  • Loading branch information
yukukotani committed Dec 21, 2022
1 parent 05d2356 commit 96287f8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/wet-islands-look.md
@@ -0,0 +1,5 @@
---
"@chakra-ui/theme": patch
---

Fix issue where importing from `/components` and `/foundations` causes type errors
2 changes: 1 addition & 1 deletion packages/components/theme/package.json
Expand Up @@ -51,7 +51,7 @@
"clean-package": "2.1.1"
},
"scripts": {
"build": "tsup src/index.ts --dts",
"build": "tsup src/index.ts src/components/index.ts src/foundations/index.ts --dts",
"dev": "pnpm build:fast -- --watch",
"clean": "rimraf dist .turbo",
"typecheck": "tsc --noEmit",
Expand Down

1 comment on commit 96287f8

@vercel
Copy link

@vercel vercel bot commented on 96287f8 Dec 21, 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.