@instructure/ui-codemods
v11.5.0
Published
Codemod scripts to help upgrade Instructure UI libraries.
Maintainers
Keywords
Readme
ui-codemods
The ui-codemods package should make it easier to deal with API changes when upgrading Instructure UI libraries.
Installation
The codemod scripts can be installed via the following command:
---
type: code
---
# use here the InstUI version number you are upgrading to
npm install @instructure/ui-codemods@11Then run them with jscodeshift:
---
type: code
---
# substitute updateV10Breaking with the codemod name you want to run
npx jscodeshift@latest -t node_modules/@instructure/ui-codemods/lib/updateV10Breaking.ts <path>For more information about what the codemods do, see the major version upgrade guides
