ember-data-codemod
Last updated 9 months ago by dcyriller .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install ember-data-codemod 
SYNC missed versions from official npm registry.

Ember Data Codemod

A collection of codemods for ember-data. For now, it only contains a codemod to upgrade to the new "@ember-data" packages!

Usage

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

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

# or

yarn global add ember-data-codemod
ember-data-codemod <TRANSFORM NAME> path/of/files/ or/some**/*glob.js

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

npx ember-data-codemod . path/of/files/ or/some**/*glob.js

# or

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

Credits

This repository is intially a fork of ember-modules-codemod adapted for the needs of ember-data. This PR illustrates the work needed to adapt ember-modules-codemod to fit ember-data needs.

This codemod uses jscodeshift

Links

RFC 395: @ember-data packages.

Current Tags

  • 0.1.0                                ...           latest (9 months ago)

2 Versions

  • 0.1.0                                ...           9 months ago
  • 0.0.1                                ...           a year ago
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (2)
Dev Dependencies (8)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |