Created
March 10, 2019 17:30
-
-
Save bacarybruno/12ac83c5ceb3d23a94bc815f27a6fcee to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
echo "Updating Angular CLI globally." | |
npm install -g @angular/cli | |
echo "Updating Angular CLI locally." | |
npm install @angular/cli | |
echo "Migrating the configuration to the new angular.json." | |
ng update @angular/cli | |
echo "Updating all packages to v6" | |
ng update @angular/core | |
echo "Using ng update to identify and update other dependencies." | |
ng update --all --force | |
echo "Updating the core framework and CLI to v7" | |
ng update @angular/cli @angular/core | |
echo "Setting the correct version of typescript." | |
npm i -D [email protected] | |
echo "Remove deprecated RxJS 6 features using rxjs-tslint auto update rules" | |
npm install -g rxjs-tslint | |
rxjs-5-to-6-migrate -p src/tsconfig.app.json | |
echo "Migration done" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment