Keeping up with the latest version of Angular is good practise. In this post I will take you through the steps I took with my projects upgrading to Angular 7.
You could also take a look at this upgrading tool by Angular to help with your specific upgrade.
Let’s begin with the basics. From Angular 6 upgrading Angular versions can be done with the cli. This makes life a lot easier:
ng update @angular/cli @angular/core
Angular 7 uses RxJS v6.3 so update RxJS:
ng update rxjs
Angular 7 supports Typescript v3.1 so here we go again:
ng update typescript
- tsickle (had to be added)
This could be old news already, but we said goodbye to
as our tslint plugin. Note that this has to be changed in the
Hope you got some valuable pointers for a smooth upgrade. Happy upgrading!