Skip to content

Commit 405839b

Browse files
MeAkibclydin
authored andcommitted
docs: fix typos in option descriptions and the ng run long description
Several option descriptions that are published on angular.dev contain typos ("prerending", "These file are", "a unit test files", "comma seperate"). The Karma `browsers: false` description also read "Does use run tests against a browser", which says the opposite of what the option does. The `ng run` long description has a run-on sentence. Correct the wording.
1 parent e93d9cb commit 405839b

6 files changed

Lines changed: 8 additions & 8 deletions

File tree

‎packages/angular/build/src/builders/application/schema.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -568,7 +568,7 @@
568568
"oneOf": [
569569
{
570570
"type": "boolean",
571-
"description": "Enable prerending of pages of your application during build time."
571+
"description": "Enable prerendering of pages of your application during build time."
572572
},
573573
{
574574
"type": "object",

‎packages/angular/build/src/builders/karma/schema.json‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -245,12 +245,12 @@
245245
"oneOf": [
246246
{
247247
"type": "string",
248-
"description": "A comma seperate list of browsers to run tests against."
248+
"description": "A comma-separated list of browsers to run tests against."
249249
},
250250
{
251251
"const": false,
252252
"type": "boolean",
253-
"description": "Does use run tests against a browser."
253+
"description": "Does not run tests against a browser."
254254
}
255255
]
256256
},

‎packages/angular/cli/src/commands/run/long-description.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ For example, the `serve` target for a newly generated app has a predefined
77
alternate configuration named `production`.
88

99
You can define new targets and their configuration options in the `architect` section
10-
of the `angular.json` file which you can run them from the command line using the `ng run` command.
10+
of the `angular.json` file, which you can run from the command line using the `ng run` command.

‎packages/angular_devkit/build_angular/src/builders/karma/schema.json‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -203,12 +203,12 @@
203203
"oneOf": [
204204
{
205205
"type": "string",
206-
"description": "A comma seperate list of browsers to run tests against."
206+
"description": "A comma-separated list of browsers to run tests against."
207207
},
208208
{
209209
"const": false,
210210
"type": "boolean",
211-
"description": "Does use run tests against a browser."
211+
"description": "Does not run tests against a browser."
212212
}
213213
]
214214
},

‎packages/schematics/angular/application/schema.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@
8484
"x-user-analytics": "ep.ng_style"
8585
},
8686
"skipTests": {
87-
"description": "Skip the generation of a unit test files `spec.ts`.",
87+
"description": "Skip the generation of unit test files `spec.ts`.",
8888
"type": "boolean",
8989
"default": false,
9090
"alias": "S"

‎packages/schematics/angular/ng-new/schema.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@
152152
"aiConfig": {
153153
"type": "array",
154154
"uniqueItems": true,
155-
"description": "Specifies which AI tools to generate configuration files for. These file are used to improve the outputs of AI tools by following the best practices.",
155+
"description": "Specifies which AI tools to generate configuration files for. These files are used to improve the outputs of AI tools by following the best practices.",
156156
"items": {
157157
"type": "string",
158158
"enum": ["none", "claude-code", "cursor", "gemini-cli", "open-ai-codex", "vscode"]

0 commit comments

Comments
 (0)