ember-tracked-properties-codemod

0.2.6 • Public • Published

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

Package Sidebar

Install

npm i ember-tracked-properties-codemod

Weekly Downloads

0

Version

0.2.6

License

MIT

Unpacked Size

37.4 kB

Total Files

32

Last publish

Collaborators

  • suchitadoshi1987