chakra-codemod icon indicating copy to clipboard operation
chakra-codemod copied to clipboard

Codemod transformations to help upgrade to the latest Chakra UI

Results 8 chakra-codemod issues
Sort by recently updated
recently updated
newest added

Todo: - `return mode(...)` in `./alert.ts,input.ts` - variable is used in templatestring (badge.ts,popover.ts,tooltip.ts) - remove unused `props` (closeButton,form,formError,kbd,menu,number-input,progress,skip-link,slider,) - colormode variable is used as a function argument (progress.ts,skeleton.ts) Current result...

Dependencies are currently updated on the first run, but this should happen either as part of the first run of one of the transforms or as a separate "transform".

bug

This PR was opened by the [Changesets release](https://github.com/changesets/action) GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically....

When updating the dependencies in `package.json` they're added at the end of the `dependencies` key rather than inserted in alphabetical order like `npm install` or `yarn add` would. We should...

bug

`updateDependencies` in `cli.ts` currently writes to `package.json` whether old dependencies need to be removed/new dependencies need to be added or not. Unnecessarily results in `package.json` having an unclean `git` state.

bug

![image](https://user-images.githubusercontent.com/1954752/101634201-5d995500-39f6-11eb-8301-b49a095feedf.png) `[chakra-codemod]: Thank you for using @chakra-ui/codemod!`

bug