From 9d54fc086cbde17c78c1ce3c3a25d188becaab83 Mon Sep 17 00:00:00 2001 From: Judy Bogart Date: Mon, 19 Aug 2019 15:27:14 -0700 Subject: [PATCH 1/2] docs: ng add configures project in cwd --- packages/angular/cli/commands/add.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/packages/angular/cli/commands/add.md b/packages/angular/cli/commands/add.md index d2bbcd6af692..f09b1317fd20 100644 --- a/packages/angular/cli/commands/add.md +++ b/packages/angular/cli/commands/add.md @@ -1,8 +1,9 @@ -Adds the npm package for a published library to your workspace, and configures your default -app project to use that library, in whatever way is specified by the library's schematic. +Adds the npm package for a published library to your workspace, and configures +the project in the current working directory (or the default app if you are +not in a project directory) to use that library, as specified by the library's schematic. For example, adding `@angular/pwa` configures your project for PWA support: ```bash ng add @angular/pwa ``` -The default app project is the value of `defaultProject` in `angular.json`. +The default app project is the value of `defaultProject` in `angular.json`. From 26697155b00d34b54c182bb08e52c6956332bb41 Mon Sep 17 00:00:00 2001 From: Judy Bogart Date: Tue, 20 Aug 2019 10:44:40 -0700 Subject: [PATCH 2/2] docs: remove app from app project --- packages/angular/cli/commands/add.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/angular/cli/commands/add.md b/packages/angular/cli/commands/add.md index f09b1317fd20..465438a4e5b2 100644 --- a/packages/angular/cli/commands/add.md +++ b/packages/angular/cli/commands/add.md @@ -1,9 +1,9 @@ Adds the npm package for a published library to your workspace, and configures -the project in the current working directory (or the default app if you are +the project in the current working directory (or the default project if you are not in a project directory) to use that library, as specified by the library's schematic. For example, adding `@angular/pwa` configures your project for PWA support: ```bash ng add @angular/pwa ``` -The default app project is the value of `defaultProject` in `angular.json`. +The default project is the value of `defaultProject` in `angular.json`.