Socket
Socket
Sign inDemoInstall

@workday/canvas-kit-codemod

Package Overview
Dependencies
300
Maintainers
6
Versions
975
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @workday/canvas-kit-codemod

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


Version published
Weekly downloads
2.2K
increased by1505.88%
Maintainers
6
Created
Weekly downloads
 

Readme

Source

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]

Keywords

FAQs

Last updated on 03 Jun 2021

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc