JSPM

@workday/canvas-kit-codemod

9.0.0-alpha.314-next.1+69925824
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 1568
  • Score
    100M100P100Q133373F
  • License Apache-2.0

A collection of codemods for use on Workday Canvas Kit packages.

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]