Skip to content

Commit 8cc8bb0

Browse files
jbogarthydealexeagle
authored andcommitted
docs: mention prompts
1 parent 5a8051f commit 8cc8bb0

File tree

3 files changed

+9
-2
lines changed

3 files changed

+9
-2
lines changed

packages/angular/cli/commands/add.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
Adds the npm package for a published library to your workspace, and configures your default
22
app project to use that library, in whatever way is specified by the library's schematic.
33
For example, adding `@angular/pwa` configures your project for PWA support.
4+
5+
The default app project is the value of `defaultProject` in `angular.json`.

packages/angular/cli/commands/new.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"$schema": "http://json-schema.org/schema",
33
"$id": "ng-cli://commands/new.json",
4-
"description": "Creates a new workspace and a new default Angular app.",
4+
"description": "Creates a new workspace and an initial Angular app.",
55
"$longDescription": "./new.md",
66

77
"$aliases": [ "n" ],

packages/angular/cli/commands/new.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
Creates and initializes a new Angular app that is the default project for a new workspace.
22

3-
* The new workspace folder is given the specified project name. The new app is created at the top level of the workspace folder.
3+
Provides interactive prompts for optional configuration, such as adding routing support.
4+
All prompts can safely be allowed to default.
5+
6+
* The new workspace folder is given the specified project name, and contains configuration files at the top level.
7+
8+
* The new app files are placed in the `src/` subfolder. A corresponding end-to-end test app is placed in the `e2e/` subfolder.
49

510
* The new app's configuration appears in the `projects` section of the `angular.json` workspace configuration file, under its project name.

0 commit comments

Comments
 (0)