Reputation: 417
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.
Upvotes: 4
Views: 4358
Reputation: 81
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
Upvotes: 8
Reputation: 31
You can use:
nx migrate @nrwl/workspace --to="angular/[email protected],angular/[email protected]"
Upvotes: 3