Skip to content

Commit

Permalink
chore(deps): bump setup of Chakra UI to V2 (#7649)
Browse files Browse the repository at this point in the history
* chore(deps): bump Chakra UI to V2

> Version 2 of Chakra UI is only compatible with React 18. If you are still needing to use React 17 or earlier, please use version 1 of Chakra UI.

see also:

- https://chakra-ui.com/getting-started
- #4992 (comment)
- #5614

* Update packages/cli/src/commands/setup/ui/libraries/chakra-ui.js

Co-authored-by: Dominic Saadi <dominiceliassaadi@gmail.com>
  • Loading branch information
virtuoushub and jtoar authored Feb 21, 2023
1 parent 98b1ee7 commit f044dcd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/cli/src/commands/setup/ui/libraries/chakra-ui.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,10 @@ export async function handler({ force, install }) {
const rwPaths = getPaths()

const packages = [
'@chakra-ui/react@^1',
'@chakra-ui/react@^2',
'@emotion/react@^11',
'@emotion/styled@^11',
'framer-motion@^6',
'framer-motion@^9',
]

const tasks = new Listr(
Expand Down

0 comments on commit f044dcd

Please sign in to comment.