Skip to content

A codemod for transforming your ember app code to start using `@tracked` properties.

License

Notifications You must be signed in to change notification settings

ember-codemods/ember-tracked-properties-codemod

Repository files navigation

ember-tracked-properties-codemod

Build Status Coverage Status npm dependencies Status devDependencies Status

A codemod for transforming your ember app code to start using @tracked properties.

Pre-requisites

  • Since @tracked properties is supported from the 3.13 version of Ember, this codemod should only be used for apps with version 3.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

About

A codemod for transforming your ember app code to start using `@tracked` properties.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •