ember-v2-codemods

0.6.1 • Public • Published

ember-v2-codemods

A collection of codemods to primarily to get an outdated codebase up to an acceptable version 2 state, in preparation for further upgrades.

Complementary codemods

Usage

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

npx ember-v2-codemods <TRANSFORM NAME> path/of/files/ or/some**/*glob.js

# or

yarn global add ember-v2-codemods
ember-v2-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

/ember-v2-codemods/

    Package Sidebar

    Install

    npm i ember-v2-codemods

    Weekly Downloads

    16

    Version

    0.6.1

    License

    none

    Unpacked Size

    21.7 kB

    Total Files

    39

    Last publish

    Collaborators

    • linearza