Update NG Project using nx
1.
sh
npm i
npx nx migrate latest
2.
Replace ~
in package.json
by ^
3.
sh
npx nx migrate --run-migrations
troubleshoot
NX Failed to run migration-v19 from @angular/material. This workspace is NOT up to date! NX Cannot find module '@angular/cdk/schematics'
sh
npm i @angular/cdk
4.
sh
npm outdated
npm update --save
npm outdated