
Research
SANDWORM_MODE: Shai-Hulud-Style npm Worm Hijacks CI Workflows and Poisons AI Toolchains
An emerging npm supply chain attack that infects repos, steals CI secrets, and targets developer AI toolchains for further compromise.
ember-cli-migrator
Advanced tools
Important: As of 0.5.0 Node JS v0.10 is no longer supported. Please use Node v0.12 or IOJS instead.
npm install -g ember-cli-migrator
Migrate your files to the standard ember-cli structure, preserving git history.
You can run the command line tool by running the ember-cli-migrator script from within your existing ember project.
The goal of the project is to convert global variables to ES6 Modules. For example:
App.Post = DS.Model.extend({
});
becomes
import DS from "ember-data";
var Post = DS.Model.extend({
});
export default Post;
-h, --help output usage information
-V, --version output the version number
-g, --global [name] Global namespace of Ember application, eg: "MyApplication = Ember.Application.."
-d, --ember-cli-app-name [name], Name of application namespace/modulePrefix. This is the name of the app you would pass to `ember new <ember-cli-app-name>`
-s, --source [source_directory] Directory to perform migration on
-t, --target [target_directory] Directory to output result of migration
To convert an Ember App Kit-like project and put it back in the same parent directory, you can use the following
ember-cli-migrator -g App -t . -s . -d appkit
You can run the tests by running mocha in the root folder.
The project uses recast (which uses Esprima) to walk the JavaScript AST to accurately identify exports and move the file.
FAQs
migrates files over to the ember-cli structure
The npm package ember-cli-migrator receives a total of 49 weekly downloads. As such, ember-cli-migrator popularity was classified as not popular.
We found that ember-cli-migrator demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

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.

Research
An emerging npm supply chain attack that infects repos, steals CI secrets, and targets developer AI toolchains for further compromise.

Company News
Socket is proud to join the OpenJS Foundation as a Silver Member, deepening our commitment to the long-term health and security of the JavaScript ecosystem.

Security News
npm now links to Socket's security analysis on every package page. Here's what you'll find when you click through.