![Node.js Adds Experimental Support for TypeScript](https://cdn.sanity.io/images/cgdhsj6q/production/5fa307ef6135347f38e009b4da8cebcb3b9a386a-1948x1336.png?w=400&fit=max&auto=format)
Security News
Node.js Adds Experimental Support for TypeScript
Node.js has added experimental support for TypeScript, a move that highlights the growing importance of TypeScript in modern development.
@workday/canvas-kit-codemod
Advanced tools
A collection of codemods for use on Workday Canvas Kit packages.
Readme
This package is designed to help you migrate between major versions of Canvas Kit and adopt API changes.
> npx @workday/canvas-kit-codemod <transform> [path]
Commands (transforms):
canvas-kit-codemod v5 [path] Canvas Kit v4 > v5 migration transform
Options:
--ignore-config, Ignore files if they match patterns sourced from a config file [string]
--ignore-pattern, Ignore files that match a provided glob expression [string] [default: **/node_modules/**]
--verbose, Show more information about the transform process [number] [choices: 0, 1, 2] [default: 0]
-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.
Alternatively, you can install the codemod package and run it without npx.
> yarn add @workday/canvas-kit-codemod
> canvas-kit-codemod <transform> [path]
If you'd like to provide a configuration for files to ignore instead of a glob, use
--ignore-config
.
> canvas-kit-codemod <transform> [path] --ignore-config=.gitignore
If you'd like to provide a glob to ignore files, use --ignore-pattern
. By default, this is set to
ignore all node_modules
directories.
> canvas-kit-codemod <transform> [path] --ignore-pattern=**/dist/**
If you'd like to have more verbose logging to know which files are being parsed, use --verbose
. By
default this is set to 0
.
# See all files being parsed
> canvas-kit-codemod <transform> [path] --verbose=2
FAQs
A collection of codemods for use on Workday Canvas Kit packages.
The npm package @workday/canvas-kit-codemod receives a total of 4,052 weekly downloads. As such, @workday/canvas-kit-codemod popularity was classified as popular.
We found that @workday/canvas-kit-codemod demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 6 open source maintainers collaborating on the project.
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.
Security News
Node.js has added experimental support for TypeScript, a move that highlights the growing importance of TypeScript in modern development.
Product
Check out what's new at Socket with our Product Changelog. It tracks all public-facing updates, improvements, and fixes so you can take full advantage of our features.
Security News
In the latest Risky Biz Podcast episode, Socket CEO Feross Aboukhadijeh discussed the limitations of the National Vulnerability Database (NVD) in addressing the modern risks associated with using open source package registries.