@hashicorp/design-system-codemods
v0.5.2
Published
Helios Design System codemods
Readme
codemods
A collection of codemods for Helios components.
Usage
To run a specific codemod (for example the v3/dropdown) in your project using npx, you would run the following:
npx @hashicorp/design-system-codemods v3/dropdown path/to/some/glob/**/*.hbsLocal usage
To run a specific codemod (for example the v3/dropdown) in this repository (even before publishing it), you would run the following from the root directory of this repository:
node ./packages/codemods/bin/cli.js v3/dropdown path/to/some/glob/**/*.hbsTransforms
v3
v4
Contributing
Installation
- clone the repo
- change into the repo directory
pnpm i
Running tests
pnpm test
Update documentation
pnpm update-docs
