Aller au contenu principal

Migration Steps

Set Up (latest 8)

updates

nvm use 12 # grpc isn't compatible with Node 14
yarn global add nx
git reset --hard
git clean -dffx
rm -rf /tmp/tmp-*
df -i # check IUse%
yarn
nx migrate 8.12.11
yarn start --prod
  1. Clean package.json (remove unnecessary transitive dependencies from root and use consistent version).
  2. Use versions from Nx 8.12.11 (npx create-nx-workspace@8.12.11 --preset=angular)
  3. Audit dependencies (see npm)

8 ➡️ 9

Nx 9.0

updates / migrations

Nx 9.1

updates / migrations

Nx 9.2

updates / migrations

Nx 9.3

updates / migrations

Nx 9.4

updates / migrations

Nx 9.5 - 9.8

updates: 9.5.1, 9.6.0, 9.7 & 9.8 /

9 ➡️ 10

updates: 10.0.13, 10.1.0, 10.2.1, 10.3.3, 10.4.15 / migrations: 10.0, 10.1, 10.2, 10.3, 10.4

10 ➡️ 11

updates: 11.0.20, 11.1.5, 11.2.12, 11.3.2, 11.4.0, 11.5.2, 11.6.3 / migrations: 11.0, 11.2, 10.3, 11.5, 11.6

11 ➡️ 12

updates: 12.0.8, 12.1.1, 12.2.0, 12.3.4 / migrations: 12.0, 12.1, 12.2, 12.3

Next