How to update angular small version with angular cli
It's a simple question, but I'm trying to find an answer via google ...
I have an angular 4 project (built using the angular cli) and would like to use the http interceptors that were just released in version 4.3.
How do I upgrade to this minor release using the angular cli?
In my Angular CLI project I am using npm update
to update my dependencies. If npm outdated
, you can see all deprecated dependencies.
Update June 2018
If you are using Angular CLI version 6+ you can use the new one ng update <packagename>
to update your dependencies. Note: This will update to the latest major version. If you don't want this stick with npm update
.
https://angular.io/guide/updating
For simple updates, all you need is the CLI command
ng update
.ng update
Lists the updates available to you without additional arguments and suggests recommended steps to update the application to the most recent version.