Skip to content

Instantly share code, notes, and snippets.

📦 root/
┃
┣ 📄 file.ext
┣ 📚 lib
┣ 📦 package
┃
┣ 📂 folder
┃ ┣ 📄 file.ext
┃ ┗ 📄 ...
@kekel87
kekel87 / nx-migration.md
Last active February 21, 2024 17:42
Nx migration and comparison
npx nx migrate latest --interactive
npm i
npx nx migrate --run-migrations

# Upgrade angular (Take backup of migrations.json file between cmds)
npx nx migrate @angular/core@latest
npx nx migrate @angular/cli@latest
npx nx migrate @angular/material@latest

Check/install snaps updates only Monday between 7 and 9

sudo snap set system refresh.timer=mon,7:00-9:00

# Check
snap refresh --time
@kekel87
kekel87 / angular-update-tuto.md
Last active February 10, 2023 15:47
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

Keybase proof

I hereby claim:

  • I am kekel87 on github.
  • I am kekel87 (https://keybase.io/kekel87) on keybase.
  • I have a public key ASCO0Xk5u1s3qJ2UI9_x_dIG1yD_jxtcyoZKf_-VIWk4ZAo

To claim this, I am signing this object: