Skip to content

Commit

Permalink
fix theme's exports settings and create-react-app's eslint error (#6399)
Browse files Browse the repository at this point in the history
* fix: default should always come last

* fix: fix `Plugin "react" was conflicted` error
  • Loading branch information
itkrt2y committed Aug 1, 2022
1 parent 35ad821 commit b67d24d
Show file tree
Hide file tree
Showing 5 changed files with 53 additions and 256 deletions.
5 changes: 5 additions & 0 deletions .changeset/beige-geckos-hide.md
@@ -0,0 +1,5 @@
---
"@chakra-ui/theme": patch
---

fix exports default settings
5 changes: 5 additions & 0 deletions .changeset/sour-birds-remember.md
@@ -0,0 +1,5 @@
---
"create-react-app-ts": patch
---

fix `Plugin "react" was conflicted` error
1 change: 1 addition & 0 deletions examples/create-react-app/package.json
Expand Up @@ -17,6 +17,7 @@
"@types/jest": "^28.1.1",
"@types/react": "^18.0.1",
"@types/react-dom": "^18.0.0",
"eslint": "8.19.0",
"eslint-config-react-app": "^7.0.1",
"react-scripts": "^5.0.1",
"typescript": "^4.7.4"
Expand Down
8 changes: 4 additions & 4 deletions packages/theme/package.json
Expand Up @@ -22,13 +22,13 @@
".": {
"import": {
"types": "./dist/index.d.ts",
"default": "./dist/index.mjs",
"import": "./dist/index.mjs"
"import": "./dist/index.mjs",
"default": "./dist/index.mjs"
},
"require": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js",
"require": "./dist/index.js"
"require": "./dist/index.js",
"default": "./dist/index.js"
}
},
"./*": "./*",
Expand Down

1 comment on commit b67d24d

@vercel
Copy link

@vercel vercel bot commented on b67d24d Aug 1, 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.