/ember-v2-codemods

Collection of transforms used for updating Ember apps from pre version 2

Primary LanguageJavaScript

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