ember-3x-codemods
v1.12.8
Published
[![Build Status](https://travis-ci.org/ember-codemods/ember-3x-codemods.svg?branch=master)](https://travis-ci.org/ember-codemods/ember-3x-codemods) [![Coverage Status](https://coveralls.io/repos/github/ember-codemods/ember-3x-codemods/badge.svg?branch=ma
Downloads
85
Readme
ember-3x-codemods
A jscodeshift Codemod with a collection of transforms to address the list of deprecations introduced to Ember during the 3.x cycle
To run a specific codemod from this project, you would run the following:
npx ember-3x-codemods <TRANSFORM NAME> path/of/files/ or/some**/*glob.js
# or
yarn global add ember-3x-codemods
ember-3x-codemods <TRANSFORM NAME> path/of/files/ or/some**/*glob.js
Transforms
Deprecations & Transforms
| Introduced in | id | Transform | | ------------- | -- | --------- | | 3.1 | use-notifypropertychange... | notify-property-change | | 3.3 | jquery-event| jquery-event | | 3.3 | jquery-event| ember-jquery-legacy | | 3.6 | ember-polyfills.deprecate-merge | deprecate-merge | | 3.6 | deprecate-router-events| deprecate-router-events | | 3.6 | array.new-array-wrapper | new-array-wrapper | | 3.6 | array.new-array-wrapper | array-wrapper | | 3.6 | object.new-constructor | object-new-constructor | | 3.9 | computed-property.property | cp-property | | 3.9 | computed-property.volatile | cp-volatile | | 3.9 | computed-property.property | cp-property-map | | 3.9 | jquery-apis| jquery-apis | | 3.10 | application-controller.router-properties| app-controller-router-props | | 3.11 | function-prototype-extensions.observes | fpe-observes | | 3.11 | function-prototype-extensions.on | fpe-on | | 3.11 | function-prototype-extensions.property | fpe-computed |
For more details, please visit the main Ember 3.x deprecations page
Contributing
Installation
- clone the repo
- change into the repo directory
yarn
Running tests
yarn test
Update Documentation
yarn update-docs