Ember-cli upgrade process

Think it was mentioned but, not with step by step instructions. Assuming you’re using Git for version control, this is what you might want to use:

$ rm -rf node_modules bower_components dist tmp
$ npm install --save-dev ember-cli@0.1.4
$ npm install
$ bower install
$ ember init # Accept to overwrite all files
$ git add --interactive

Then, you’ll be able to either accept or reject every change. Check man git-add if you’re not familiar with the interactive mode. Once you’ve staged all wanted changes:

$ git commit -m "Upgrade to 0.1.4"
$ git checkout -- .
$ git clean -f -d # Clean up any leftovers

Hope that helps.

6 Likes