Reputation: 7552
What is the correct process for upgrading an Ember-cli addon? If I follow the normal process for upgrading an ember app:
npm uninstall -g ember-cli
npm cache clean
bower cache clean
npm install -g [email protected]
rm -rf node_modules bower_components dist tmp
ember install:npm [email protected]
ember install
ember init
It will replace the brocfile with ember-app
instead of ember-addon
. Will this let it still work as an addon?
Upvotes: 3
Views: 1549
Reputation: 229
It looks like this has been taken care of in Ember-cli master. Mr. Penner says he's trying to get Ember CLI 0.2.2 out the door. That should fix your issue.
Edit: I can confirm 0.2.2 will fix this. Just pulled Ember-cli master and ran an update on one of my addons.
Upvotes: 3