Package Exports
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@workday/canvas-kit-codemod) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Canvas Kit Codemods
This package is designed to help you migrate between major versions of Canvas Kit and adopt API changes.
Usage
> npx @workday/canvas-kit-codemod <transform> [path]
Commands (transforms):
canvas-kit-codemod v5 [path] Canvas Kit v4 > v5 migration transform
Options:
-v, --version Show version number [boolean]
-h, --help Show help [boolean]
Note: These codemods only work on .js, .jsx, .ts, and .tsx extensions. You may need to make some manual changes in other file types (.json, .mdx, .md, etc.).
Note: You may need to run your linter after executing the codemod, as it's resulting formatting (spacing, quotes, etc.) may not match your project's styling.
Installation
Alternatively, you can install the codemod package and run it without npx.
> yarn add @workday/canvas-kit-codemod
> canvas-kit-codemod <transform> [path]