A collection of codemod's for fixing memory leaks in Ember applications.
Please refer here to know more about memory leaks in Ember applications.
To run a specific codemod from this project, you would run the following:
npx ember-memory-leaks-codemod <TRANSFORM NAME> path/of/files/ or/some**/*glob.js
# or
yarn global add ember-memory-leaks-codemod
ember-memory-leaks-codemod <TRANSFORM NAME> path/of/files/ or/some**/*glob.js
npx ember-memory-leaks-codemod prototype-reference-leaks path/of/files/ or/some**/*glob.js
npx ember-memory-leaks-codemod callback-leaks path/of/files/ or/some**/*glob.js
- clone the repo
- change into the repo directory
yarn
yarn test
yarn update-docs