-
Notifications
You must be signed in to change notification settings - Fork 123
Migration from 0.14.4 to 0.14.10
Herbert Vojčík edited this page Feb 17, 2015
·
2 revisions
0.14.10 brought some restructuralization. As result of this, some work is needed to upgrade.
Get new cli with:
npm install -g amber-cli
Upgrade project with:
bower install "amber#^0.14.10" --save
bower install "helios#^0.4.0" --save-dev
bower install "amber-attic#^0.1.5" --save-dev
npm install "amber-dev@^0.4.0" --save-dev
You project's Gruntfile.js must change
library_dirs: ['src'],
into
library_dirs: ['src', 'bower_components/amber/contrib/src'],
Package 'Web' is not included automatically in 0.14.10. If you want it included unconditionally (it is not needed if it is included as dependency of the existing code, for example you have Widget subclasses in your projects), add 'amber-contrib-web/Web' into your deploy.js
.
If you only used #asJQuery
fuctionality of the Web package, you do not need to do anything - that functionality is now part of 'Wrappers-JQuery` package, which is included automatically.
As last thing, commit all packages of the project in IDE, so it saves with correct new names of moved packages.