Want to move from nx 10 workspace to 12 without moving away from angular 10.
nx migrate latest
however upgrade also upgrade angular by default.
I searched https://nx.dev/previous/angular/core-concepts/updating-nx.
Nothing specific mentioned here.
Can someone please let me know if it is possible and if yes then could you provide the steps.
Yes, you can update your nx monorepo without upgrading Angular with the next command:
nx migrate latest --to="@nrwl/[email protected]"
Change 13.10.6
with the current version of that package. The side-effect is you can't use the Schematics this package provides.
Restore typescript
package to the lastest version compatible with you Angular version
You can use:
nx migrate @nrwl/workspace --to="angular/[email protected],angular/[email protected]"
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With