0.0.3 • Published 4 years ago

ember-mix-module-migrator v0.0.3

Weekly downloads
9
License
-
Repository
-
Last release
4 years ago

ember-mix-module-migrator

Migrates ember-cli projects to the newly proposed module format.

Usage

To run the migrator on your app:

npm install -g ember-mix-module-migrator jscodeshift
cd your/project/path
ember-mix-module-migrator

After running the migrator itself, you will need to update several files to boot an application in order to boot it.

New project structure

.
├── .
├── app-express(like pods)
│   ├── components
│   │   └── news-rolling
│   │       ├── component.js
│   │       ├── template.hbs
│   │       └── [style.css]s
│   ├── routes
│   │   ├── login
│   │   │   ├── route.js
│   │   │   ├── template.hbs
│   │   │   └── controller.js
│   │   └── index
│   │       ├── route.js
│   │       └── template.hbs
│   ├── services
│   │   ├── setting.js
│   │   └── tone.js
│   ├── styles
│   │   └── app.css
│   ├── utils
│   │   └── cookie.js
│   ├── mixins
│   │   └── config.js

├── app-advance
│   └── ...
├── ...
└── ember-cli-build.js

Note

  • need use extra Resolver for lookup

Inspiration