zinyando / ember-data-strict-relationships-codemod

An ember-data codemod to add relationship types and specify async

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ember-data-strict-relationships-codemod

A collection of codemods for ember-data-strict-relationships-codemod.

Usage

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

npx ember-data-strict-relationships-codemod <TRANSFORM NAME> path/of/files/ or/some**/*glob.js

# or

yarn global add ember-data-strict-relationships-codemod
ember-data-strict-relationships-codemod <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

An ember-data codemod to add relationship types and specify async


Languages

Language:JavaScript 100.0%