A codemod for transforming your ember app code to start using @tracked
properties.
- Since
@tracked
properties is supported from the3.13
version of Ember, this codemod should only be used for apps with version3.13+
. - This codemod only supports native classes. To get the most out of this codemod, you would need to run the Ember Native class codemod first.
npx ember-tracked-properties-codemod path/of/files/ or/some**/*glob.js
The codemod accepts the following options:
Option | Value | Default | Details |
---|---|---|---|
--always-prefix |
boolean | true |
Always prefix @tracked inline |
- clone the repo
- change into the repo directory
yarn
yarn test