Skip to content
A codemod for transforming your ember app code to start using `@tracked` properties.
JavaScript
Branch: master
Clone or download
Suchita Doshi
Suchita Doshi Release 0.2.5
Latest commit 70740a7 Jan 14, 2020
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
bin initial commit for ember tracked properties codemod Dec 23, 2019
transforms Release 0.2.5 Jan 14, 2020
.eslintrc.js initial commit for ember tracked properties codemod Dec 23, 2019
.gitignore
.prettierrc initial commit for ember tracked properties codemod Dec 23, 2019
.travis.yml update travis to run coveralls Dec 24, 2019
CHANGELOG.md Release 0.2.5 Jan 14, 2020
LICENSE Create LICENSE Dec 26, 2019
README.md
RELEASE.md add release-it config Dec 24, 2019
package.json Release 0.2.5 Jan 14, 2020
yarn.lock Merge pull request #10 from ember-codemods/dependabot/npm_and_yarn/pr… Jan 6, 2020

README.md

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
You can’t perform that action at this time.