Exploring Yeoman, and like to know how can I update a package.
I initialized an angular project
yeoman init angular
the version included in app/script/vendor (which also included in index.html) is AngularJS v1.0.1
How can I upgrade to AngularJS v1.0.2, which is the latest.
There is a command yeoman update , but that only updating the packages installed through yeoman. The packages installed through yeoman lives in app/components.
So, the questions are
- Why there is a
vendorandcomponentsfolder. - How can upgrade Angular to latest version (without breaking whatever dependency management yeoman provides)
thanks.
We are planning to make generators fetch dependencies from Bower (package manager which we use under the covers) when available there. This mean you’ll be able to do
yeoman update angularto get the latest.