From b5ce8bbfaf4891c37984a31175a2ba9104dccdac Mon Sep 17 00:00:00 2001 From: Zachary DeRose Date: Wed, 6 Apr 2022 11:36:48 -0700 Subject: [PATCH] docs(angular): updating script changes per Nx updates (#9715) * docs(angular): updating script changes per Nx updates * docs(angular): update youtube link --- docs/shared/migration/migration-angular.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/shared/migration/migration-angular.md b/docs/shared/migration/migration-angular.md index 1d7724831d8e6..d4b5f5dfaf0d0 100644 --- a/docs/shared/migration/migration-angular.md +++ b/docs/shared/migration/migration-angular.md @@ -401,7 +401,7 @@ Learn more about the advantages of Nx in the following guides: ## From Nx Console - + As of Nx Console version 17.15.0, Angular CLI users will receive a notice periodically when running commands via Nx Console, asking if they want to use Nx to make their Angular commands faster. @@ -409,13 +409,13 @@ When you click this button, we’ll run [a script](https://github.com/nrwl/add-n The script will make the following changes: -- Installs the `@nrwl/cli`, `@nrwl/tao`, and `@nrwl/workspace` packages (`@nrwl/nx-cloud` will be installed only if you opted into Nx Cloud). +- Installs the `@nrwl/workspace` and `nx` packages. + - If you opted into Nx Cloud, `@nrwl/nx-cloud` will be installed as well. + - If your project's Angular version is greater than or equal to version 13, then the `@nrwl/angular` package will be installed as well. - Creates an `nx.json` file in the root of your workspace. - Adds a `decorate-angular-cli.js` to the root of your workspace, and a `postinstall` script in your `package.json` to run the script when your dependencies are updated. The script forwards the `ng` commands to the Nx CLI (`nx`) to enable features such as [Computation Caching](/using-nx/caching). -Note that the `@nrwl/angular` package is not installed, only the core pieces of Nx to enable this capability. - -By running this command, you’re not buying whole-sale into Nx, yet (see the sections above for more on that migration)- but Nx distributed caching is now enabled. +By running this command and accepting Nx Cloud, Nx distributed caching is now enabled. Once the script has run, commit the changes. Reverting these changes will effectively undo the changes made.