Skip to content

Commit e70562f

Browse files
alan-agius4filipesilva
authored andcommitted
docs(@angular/cli): use application instead of app
1 parent a379624 commit e70562f

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed

packages/angular/cli/commands/new.json

Lines changed: 2 additions & 2 deletions
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 an initial Angular app.",
4+
"description": "Creates a new workspace and an initial Angular application.",
55
"$longDescription": "./new.md",
66

77
"$aliases": [ "n" ],
@@ -16,7 +16,7 @@
1616
"collection": {
1717
"type": "string",
1818
"aliases": [ "c" ],
19-
"description": "A collection of schematics to use in generating the initial app."
19+
"description": "A collection of schematics to use in generating the initial application."
2020
},
2121
"verbose": {
2222
"type": "boolean",

packages/angular/cli/commands/new.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
1-
Creates and initializes a new Angular app that is the default project for a new workspace.
1+
Creates and initializes a new Angular application that is the default project for a new workspace.
22

33
Provides interactive prompts for optional configuration, such as adding routing support.
44
All prompts can safely be allowed to default.
55

66
* The new workspace folder is given the specified project name, and contains configuration files at the top level.
77

8-
* By default, the files for a new initial app (with the same name as the workspace) are placed in the `src/` subfolder. Corresponding end-to-end tests are placed in the `e2e/` subfolder.
8+
* By default, the files for a new initial application (with the same name as the workspace) are placed in the `src/` subfolder. Corresponding end-to-end tests are placed in the `e2e/` subfolder.
99

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

12-
* Subsequent apps that you generate in the workspace reside in the `projects/` subfolder.
12+
* Subsequent applications that you generate in the workspace reside in the `projects/` subfolder.
1313

14-
If you plan to have multiple apps in the workspace, you can create an empty workspace by setting the `--createApplication` option to false.
15-
You can then use `ng generate application` to create an initial app.
16-
This allows a workspace name different from the initial app name, and ensures that all apps reside in the `/projects` subfolder, matching the structure of the configuration file.
14+
If you plan to have multiple applications in the workspace, you can create an empty workspace by setting the `--createApplication` option to false.
15+
You can then use `ng generate application` to create an initial application.
16+
This allows a workspace name different from the initial app name, and ensures that all applications reside in the `/projects` subfolder, matching the structure of the configuration file.

packages/schematics/angular/application/schema.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@
7676
"x-user-analytics": 5
7777
},
7878
"skipTests": {
79-
"description": "When true, does not create \"spec.ts\" test files for the app.",
79+
"description": "When true, does not create \"spec.ts\" test files for the application.",
8080
"type": "boolean",
8181
"default": false,
8282
"alias": "S",

0 commit comments

Comments
 (0)