Skip to content

Instantly share code, notes, and snippets.

@kekel87
Last active February 10, 2023 15:47
Show Gist options
  • Save kekel87/7d9c4a7c1aa4c0957ae3d835f4c4d941 to your computer and use it in GitHub Desktop.
Save kekel87/7d9c4a7c1aa4c0957ae3d835f4c4d941 to your computer and use it in GitHub Desktop.
Angular update tuto

Angular update TUTO

  • Follow official Angular migration guide
  • Update Angular core / eslint / material
    npm run ng update @angular/core@x @angular/cli@x @angular-eslint/schematics@x @angular/material@x @angular-builders/jest@x
  • Update NGRX
    npm run ng update @ngrx/effects @ngrx/entity @ngrx/store @ngrx/router-store @ngrx/eslint-plugin @ngrx/store-devtools
  • Update Cypress
    npm run ng update @cypress/schematic cypress
  • Check and update dependencies
    npm outdated
    npm update --save false
  • Compare what have done by angular-cli and not by migration schematics
    https://github.com/cexbrayat/angular-cli-diff
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment