Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ember-data-codemod

Package Overview
Dependencies
Maintainers
13
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ember-data-codemod

  • 0.1.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
13
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

Keywords

FAQs

Package last updated on 15 Jan 2021

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