From 32635992e15375fcdaab181ef64783e1bf6056a5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Leosvel=20P=C3=A9rez=20Espinosa?= Date: Fri, 21 Oct 2022 19:27:23 +0200 Subject: [PATCH] docs(angular): recommend using the latest version of nx for the latest version of angular (#12731) --- docs/generated/packages/angular.json | 2 +- docs/shared/angular-nx-version-matrix.md | 2 +- docs/shared/migration/migration-angular.md | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/generated/packages/angular.json b/docs/generated/packages/angular.json index fad415bbce13b..812a4f0e524a1 100644 --- a/docs/generated/packages/angular.json +++ b/docs/generated/packages/angular.json @@ -18,7 +18,7 @@ "id": "angular-nx-version-matrix", "file": "shared/angular-nx-version-matrix", "path": "/angular-nx-version-matrix", - "content": "# Nx and Angular Version Compatibility Matrix\n\nBelow is a reference table that matches versions of Angular to the version of Nx that is compatible with it. The table shows the version of Angular, the recommended version of Nx to use and the range of Nx versions that support the version of Angular.\n\nWe provide a recommended version, and it is usually the latest minor version of Nx in the range provided because there will have been bug fixes added since the first release in the range.\n\n| Angular Version | **Nx Version _(recommended)_** | Nx Version _(range)_ |\n| --------------- | ------------------------------ | -------------------- |\n| ^8.0.0 | **8.12.2** | 8.7.0 <= 8.12.2 |\n| ^9.0.0 | **9.6.0** | 8.12.4 <= 9.6.0 |\n| ^10.0.0 | **10.4.15** | 9.7.0 <= 10.4.15 |\n| ^11.0.0 | **12.2.0** | 11.0.0 <= 12.2.0 |\n| ^12.0.0 | **13.1.4** | 12.3.0 <= 13.1.4 |\n| ^13.0.0 | **14.1.9** | .13.2.0 <= 14.1.9 |\n| ~14.0.0 | **14.4.3** | 14.2.1 <= 14.4.3 |\n| ~14.1.0 | **14.5.10** | 14.5.0 <= 14.5.10 |\n| ~14.2.0 | **14.6.0** | 14.6.0 <= latest |\n\nIf you would like to see how the supported versions of Node and Typescript for the version of Angular you are using, [Lars Gyrup Brink Nielsen](https://twitter.com/LayZeeDK) has a very good resource for that [here](https://gist.github.com/LayZeeDK/c822cc812f75bb07b7c55d07ba2719b3).\n" + "content": "# Nx and Angular Version Compatibility Matrix\n\nBelow is a reference table that matches versions of Angular to the version of Nx that is compatible with it. The table shows the version of Angular, the recommended version of Nx to use and the range of Nx versions that support the version of Angular.\n\nWe provide a recommended version, and it is usually the latest minor version of Nx in the range provided because there will have been bug fixes added since the first release in the range.\n\n| Angular Version | **Nx Version _(recommended)_** | Nx Version _(range)_ |\n| --------------- | ------------------------------ | -------------------- |\n| ^8.0.0 | **8.12.2** | 8.7.0 <= 8.12.2 |\n| ^9.0.0 | **9.6.0** | 8.12.4 <= 9.6.0 |\n| ^10.0.0 | **10.4.15** | 9.7.0 <= 10.4.15 |\n| ^11.0.0 | **12.2.0** | 11.0.0 <= 12.2.0 |\n| ^12.0.0 | **13.1.4** | 12.3.0 <= 13.1.4 |\n| ^13.0.0 | **14.1.9** | .13.2.0 <= 14.1.9 |\n| ~14.0.0 | **14.4.3** | 14.2.1 <= 14.4.3 |\n| ~14.1.0 | **14.5.10** | 14.5.0 <= 14.5.10 |\n| ~14.2.0 | **latest** | 14.6.0 <= latest |\n\nIf you would like to see how the supported versions of Node and Typescript for the version of Angular you are using, [Lars Gyrup Brink Nielsen](https://twitter.com/LayZeeDK) has a very good resource for that [here](https://gist.github.com/LayZeeDK/c822cc812f75bb07b7c55d07ba2719b3).\n" } ], "generators": [ diff --git a/docs/shared/angular-nx-version-matrix.md b/docs/shared/angular-nx-version-matrix.md index ab02918f7aac3..7cb2181c7dd18 100644 --- a/docs/shared/angular-nx-version-matrix.md +++ b/docs/shared/angular-nx-version-matrix.md @@ -14,6 +14,6 @@ We provide a recommended version, and it is usually the latest minor version of | ^13.0.0 | **14.1.9** | .13.2.0 <= 14.1.9 | | ~14.0.0 | **14.4.3** | 14.2.1 <= 14.4.3 | | ~14.1.0 | **14.5.10** | 14.5.0 <= 14.5.10 | -| ~14.2.0 | **14.6.0** | 14.6.0 <= latest | +| ~14.2.0 | **latest** | 14.6.0 <= latest | If you would like to see how the supported versions of Node and Typescript for the version of Angular you are using, [Lars Gyrup Brink Nielsen](https://twitter.com/LayZeeDK) has a very good resource for that [here](https://gist.github.com/LayZeeDK/c822cc812f75bb07b7c55d07ba2719b3). diff --git a/docs/shared/migration/migration-angular.md b/docs/shared/migration/migration-angular.md index 022f1bac8f32f..20f01674c52f1 100644 --- a/docs/shared/migration/migration-angular.md +++ b/docs/shared/migration/migration-angular.md @@ -9,7 +9,7 @@ width="100%" /%} ## Prerequisites -**The major version of your `Angular CLI` must align with the version of `Nx` you are upgrading to**. For example, if you're using Angular CLI version 7, you must transition using the latest version 7 release of Nx. +**The major version of your `Angular CLI` must align with the version of `Nx` you are upgrading to**. You can check the [Nx and Angular Version Compatibility Matrix](/angular-nx-version-matrix) for more information. ## Using the Nx CLI while preserving the existing structure