An experiment in using ember-cli-typescript and module unification together
yarn global add ember-cli#master
MODULE_UNIFICATION=true ember new ts-mu-experiment --yarn
cd ts-mu-experiment
# update ember-source version in package.json
# Remove ember-welcome-page from package.json
# Edit src/routes/applicaton.hbs to remove {{welcome-page}}
yarn
ember install ember-cli-typescript#1.3.0-beta.5
ember g component some-input
yarn add ember-modules-codemod --dev
./node_modules/.bin/ember-modules-codemod
yarn remove ember-modules-codemod
yarn add ember-modules-migrator --dev
yarn add jscodeshift --dev
./node_modules/.bin/ember-module-migrator
# Add some-input contents from http://www.chriskrycho.com/2017/typing-your-ember-part-1.html
You will need the following things properly installed on your computer.
git clone <repository-url>
this repositorycd ts-mu-experiment
yarn install
ember serve
- Visit your app at http://localhost:4200.
- Visit your tests at http://localhost:4200/tests.
Make use of the many generators for code, try ember help generate
for more details
ember test
ember test --server
yarn lint:js
yarn lint:js --fix
ember build
(development)ember build --environment production
(production)
Specify what it takes to deploy your app.