README
ember-tracked-properties-codemod
A codemod for transforming your ember app code to start using @tracked properties.
Pre-requisites
- Since
@trackedproperties is supported from the3.13version 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.
Usage
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 |
| ## Transforms |
Contributing
Installation
- clone the repo
- change into the repo directory
yarn
Running tests
yarn test