Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

update an nx-angular project to a specific major version of angular

I am a bit lost in the versioning system of nx (with angular). In my case, I want to upgrade from angular 12 to angular 13 with latest compatible tooling (jest, nx).

Agnular 14 is out now. So if I run the command below, it will update to angular 14.

nx migrate latest

How do I update to latest angular13 with latest compatible jest and other tooling?

What I do not understand is the connection between angular versions and nx versions. How are those two connected in terms of version numbers?

Best regards

like image 515
yonexbat Avatar asked Dec 14 '25 04:12

yonexbat


1 Answers

Some months later ... I found this page https://nx.dev/angular-nx-version-matrix It seems the major numbers are connected between angular and nrwl-nx.

For a list of releases of angular-nx version numbers I found this page (maybe there is a better one?): https://github.com/nrwl/nx/releases If you want the latest angular 13, you have to look at previous pages till you find the last version 13.*.

I would also like to share some experience. To migrate from 12.x to 13.10.6 did not work (but to 14 worked out of the box). What we did is migrate to 13.0 first and then 13.10.6 in a second migration.

like image 93
yonexbat Avatar answered Dec 16 '25 22:12

yonexbat