From 480f4f8eb839e829a0e119cec54257aa8006ab15 Mon Sep 17 00:00:00 2001 From: MeAkib Date: Mon, 19 Oct 2026 14:45:35 +0600 Subject: [PATCH] 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. --- packages/angular/build/src/builders/application/schema.json | 2 +- packages/angular/build/src/builders/karma/schema.json | 4 ++-- packages/angular/cli/src/commands/run/long-description.md | 2 +- .../build_angular/src/builders/karma/schema.json | 4 ++-- packages/schematics/angular/application/schema.json | 2 +- packages/schematics/angular/ng-new/schema.json | 2 +- 6 files changed, 8 insertions(+), 8 deletions(-) diff --git a/packages/angular/build/src/builders/application/schema.json b/packages/angular/build/src/builders/application/schema.json index 8458d385a3fc..cdf059ce3a25 100644 --- a/packages/angular/build/src/builders/application/schema.json +++ b/packages/angular/build/src/builders/application/schema.json @@ -568,7 +568,7 @@ "oneOf": [ { "type": "boolean", - "description": "Enable prerending of pages of your application during build time." + "description": "Enable prerendering of pages of your application during build time." }, { "type": "object", diff --git a/packages/angular/build/src/builders/karma/schema.json b/packages/angular/build/src/builders/karma/schema.json index 50c739ff69c8..4a41bc4fdad2 100644 --- a/packages/angular/build/src/builders/karma/schema.json +++ b/packages/angular/build/src/builders/karma/schema.json @@ -245,12 +245,12 @@ "oneOf": [ { "type": "string", - "description": "A comma seperate list of browsers to run tests against." + "description": "A comma-separated list of browsers to run tests against." }, { "const": false, "type": "boolean", - "description": "Does use run tests against a browser." + "description": "Does not run tests against a browser." } ] }, diff --git a/packages/angular/cli/src/commands/run/long-description.md b/packages/angular/cli/src/commands/run/long-description.md index e74f8756679d..00ff74da0628 100644 --- a/packages/angular/cli/src/commands/run/long-description.md +++ b/packages/angular/cli/src/commands/run/long-description.md @@ -7,4 +7,4 @@ For example, the `serve` target for a newly generated app has a predefined alternate configuration named `production`. You can define new targets and their configuration options in the `architect` section -of the `angular.json` file which you can run them from the command line using the `ng run` command. +of the `angular.json` file, which you can run from the command line using the `ng run` command. diff --git a/packages/angular_devkit/build_angular/src/builders/karma/schema.json b/packages/angular_devkit/build_angular/src/builders/karma/schema.json index fdd5927cfdac..1704810ab840 100644 --- a/packages/angular_devkit/build_angular/src/builders/karma/schema.json +++ b/packages/angular_devkit/build_angular/src/builders/karma/schema.json @@ -203,12 +203,12 @@ "oneOf": [ { "type": "string", - "description": "A comma seperate list of browsers to run tests against." + "description": "A comma-separated list of browsers to run tests against." }, { "const": false, "type": "boolean", - "description": "Does use run tests against a browser." + "description": "Does not run tests against a browser." } ] }, diff --git a/packages/schematics/angular/application/schema.json b/packages/schematics/angular/application/schema.json index 83df1b163873..d0c4f348feea 100644 --- a/packages/schematics/angular/application/schema.json +++ b/packages/schematics/angular/application/schema.json @@ -84,7 +84,7 @@ "x-user-analytics": "ep.ng_style" }, "skipTests": { - "description": "Skip the generation of a unit test files `spec.ts`.", + "description": "Skip the generation of unit test files `spec.ts`.", "type": "boolean", "default": false, "alias": "S" diff --git a/packages/schematics/angular/ng-new/schema.json b/packages/schematics/angular/ng-new/schema.json index 2c69fa84aaad..6494b1889d96 100644 --- a/packages/schematics/angular/ng-new/schema.json +++ b/packages/schematics/angular/ng-new/schema.json @@ -152,7 +152,7 @@ "aiConfig": { "type": "array", "uniqueItems": true, - "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.", + "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.", "items": { "type": "string", "enum": ["none", "claude-code", "cursor", "gemini-cli", "open-ai-codex", "vscode"]