@hashicorp/design-system-codemods

0.2.0 • Public • Published

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/**/*.hbs

Local 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/**/*.hbs

Transforms

v3

v4

Contributing

Installation

  • clone the repo
  • change into the repo directory
  • yarn

Running tests

  • yarn test

Update documentation

  • yarn update-docs

/@hashicorp/design-system-codemods/

    Package Sidebar

    Install

    npm i @hashicorp/design-system-codemods

    Weekly Downloads

    1

    Version

    0.2.0

    License

    MPL-2.0

    Unpacked Size

    30.7 kB

    Total Files

    39

    Last publish

    Collaborators

    • abhishek-hashicorp
    • dstaley
    • cameronperera
    • alexju
    • consul-ui-services
    • wenincode-hashicorp
    • hashicb
    • britt.lindgren
    • paulhcp
    • nandereck
    • tstormk
    • hashibot-hds
    • lackeyjb1
    • youriwims
    • jpogran
    • _natmegs
    • thrashr888
    • melsumner
    • mwickett
    • didoo
    • zchsh
    • hcitsec
    • gregone
    • meirish
    • enmod
    • kaxcode
    • anubhavmishra-hashicorp
    • hashibot-web
    • cstitt-hashi
    • kstraut
    • mocohen
    • dhaulagiri