Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Correct process for upgrading an Ember-cli addon

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?

like image 841
Nikos Avatar asked Feb 24 '26 05:02

Nikos


1 Answers

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.

like image 117
robdel12 Avatar answered Feb 25 '26 19:02

robdel12



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!