@freshworks/ember-codemods
v0.5.0
Published
![npm (scoped)](https://img.shields.io/npm/v/@freshworks/ember-codemods) ![](https://github.com/freshdesk/ember-freshdesk-codemods/workflows/Node%20CI/badge.svg)
Downloads
45
Maintainers
Keywords
Readme
@freshworks/ember-codemods
A collection of codemods by Freshworks.
Usage
To run a specific codemod from this project, you would run the following:
npx @freshworks/ember-codemods <TRANSFORM NAME> path/of/files/ or/some**/*glob.js
# or
yarn global add @freshworks/ember-codemods
ember-codemods <TRANSFORM NAME> path/of/files/ or/some**/*glob.js
Transforms
- async-leaks
- cleanup-imports
- engine-route-transitions
- insert-hooks
- mocha-to-qunit
- modify-import
- remove-unused-get-import
- setup-helpers-with-await
Contributing
Installation
- clone the repo
- change into the repo directory
yarn
Running tests
yarn test
Update Documentation
yarn update-docs