A collection of codemods to primarily to get an outdated codebase up to an acceptable version 2 state, in preparation for further upgrades.
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
node ./bin/cli.js <TRANSFORM NAME> path/of/files/ or/some**/*glob.js
- legacy-computed-codemod
- legacy-get-codemod
- legacy-getProperties-codemod
- legacy-observer-codemod
- legacy-set-codemod
- legacy-setProperties-codemod
- clone the repo
- change into the repo directory
yarn
yarn test
yarn update-docs