daisyui-v3-to-v4-codemods

0.1.1 • Public • Published

daisyui-v3-to-v4-codemods

A collection of codemods for upgrading DaisyUI from v3 to v4

Usage

To run a specific codemod from this project, you would run the following:

npx daisyui-v3-to-v4-codemods <TRANSFORM NAME> path/of/files/ or/some**/*glob.js

# or

yarn global add daisyui-v3-to-v4-codemods
daisyui-v3-to-v4-codemods <TRANSFORM NAME> path/of/files/ or/some**/*glob.js

Local Usage

node ./bin/cli.js <TRANSFORM NAME> path/of/files/ or/some**/*glob.js

Transforms

Contributing

Installation

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

Running tests

  • yarn test

Update Documentation

  • yarn update-docs

Package Sidebar

Install

npm i daisyui-v3-to-v4-codemods

Weekly Downloads

1

Version

0.1.1

License

MIT

Unpacked Size

8.67 kB

Total Files

16

Last publish

Collaborators

  • rajasegar