nlfurniss / ember-first-class-component-templates-codemod

A collection of codemods for transforming existing Ember components to use first-class templates.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ember-first-class-component-templates-migrator

A collection of codemods for ember-first-class-component-templates-migrator.

Usage

To run a specific codemod from this project, you would run the following:

npx ember-first-class-component-templates-migrator <TRANSFORM NAME> path/of/files/ or/some**/*glob.js

# or

yarn global add ember-first-class-component-templates-migrator
ember-first-class-component-templates-migrator <TRANSFORM NAME> path/of/files/ or/some**/*glob.js

Local Usage

node ./bin/cli.js <TRANSFORM NAME> path/of/files/ or/some**/*glob.js

Transforms

Contributing

Installation

  • clone the repo
  • change into the repo directory
  • yarn

Running tests

  • yarn test

Update Documentation

  • yarn update-docs

About

A collection of codemods for transforming existing Ember components to use first-class templates.


Languages

Language:JavaScript 90.6%Language:Handlebars 9.4%