ngx-rocket / generator-ngx-rocket

:rocket: Extensible Angular 14+ enterprise-grade project generator
https://ngx-rocket.github.io/
MIT License
1.53k stars 217 forks source link

How to update to Angular 9 #533

Closed foxMclion closed 4 years ago

foxMclion commented 4 years ago

I'm submitting a...

How can I generate or upgrade an Angular 8 app to version 9 with ngx rocket?

foxMclion commented 4 years ago

Ok I've followed these steps: https://update.angular.io/#8.0:9.0

$ ng update @angular/core@8 @angular/cli@8
$ ng update @angular/core @angular/cli

and then installed localization: ng add @angular/localize

and the project compiled successfully.

bryanrscott commented 4 years ago

What I don't get is : it that head looks to have the angular 9 updates applied? That if I am following the commit trail right (https://github.com/ngx-rocket/generator-ngx-rocket/commit/1de992ea013589c275758dec89574b69a99f371e) .

So I would be interested in knowing the "How to generate a angular 9 project"

sinedied commented 4 years ago

Master branch has already the Angular 9 updates, but it's not released yet as there's some additional changes I would like to include before.

You can use use npm i -g https://github.com/ngx-rocket/generator-ngx-rocket.git if you don't want to wait the next release.

foxMclion commented 4 years ago

What would the potential issues be if any if we update the app manually to angular 9 from latest release?

sinedied commented 4 years ago

@foxMclion Take a look at https://update.angular.io

sinedied commented 4 years ago

8.0.0 released with Angular 9 support 🎉