Socket
Socket
Sign inDemoInstall

ember-data-codemod

Package Overview
Dependencies
Maintainers
11
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ember-data-codemod


Version published
Weekly downloads
4
increased by33.33%
Maintainers
11
Weekly downloads
 
Created
Source

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

  • globals-to-ember-data-imports

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

RFC 395: @ember-data packages.

Keywords

FAQs

Package last updated on 30 Jan 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc