From fe533cd244ee794b375fec99dc095f8a2fa259a8 Mon Sep 17 00:00:00 2001 From: Angular Robot Date: Thu, 28 Aug 2025 10:02:24 +0000 Subject: [PATCH] docs: update Angular CLI help (#63420) Updated Angular CLI help contents. PR Close #63420 --- adev/src/content/cli/help/_build-info.json | 2 +- adev/src/content/cli/help/build.json | 3 +++ adev/src/content/cli/help/generate.json | 7 ++++++- adev/src/content/cli/help/test.json | 7 +++++++ 4 files changed, 17 insertions(+), 2 deletions(-) diff --git a/adev/src/content/cli/help/_build-info.json b/adev/src/content/cli/help/_build-info.json index cebdba69a9a..832525908dc 100644 --- a/adev/src/content/cli/help/_build-info.json +++ b/adev/src/content/cli/help/_build-info.json @@ -1,4 +1,4 @@ { "branchName": "refs/heads/20.2.x", - "sha": "d90448f54816b8be9343ecaefd948aba5dc9ba98" + "sha": "5215bd3eb09685c18ac7f894d02f399f864717b8" } \ No newline at end of file diff --git a/adev/src/content/cli/help/build.json b/adev/src/content/cli/help/build.json index ec990f5814a..972b64e7f1e 100644 --- a/adev/src/content/cli/help/build.json +++ b/adev/src/content/cli/help/build.json @@ -12,6 +12,7 @@ { "name": "allowed-common-js-dependencies", "type": "array", + "default": [], "description": "A list of CommonJS or AMD packages that are allowed to be used without a build time warning. Use `'*'` to allow all." }, { @@ -84,6 +85,7 @@ { "name": "external-dependencies", "type": "array", + "default": [], "description": "Exclude the listed external dependencies from being bundled into the bundle. Instead, the created bundle relies on these dependencies to be available during runtime. Note: `@foo/bar` marks all paths within the `@foo/bar` package as external, including sub-paths like `@foo/bar/baz`." }, { @@ -187,6 +189,7 @@ { "name": "polyfills", "type": "array", + "default": [], "description": "A list of polyfills to include in the build. Can be a full path for a file, relative to the current workspace or module specifier. Example: 'zone.js'." }, { diff --git a/adev/src/content/cli/help/generate.json b/adev/src/content/cli/help/generate.json index 6e903758764..f15f4b9dd8d 100644 --- a/adev/src/content/cli/help/generate.json +++ b/adev/src/content/cli/help/generate.json @@ -55,7 +55,9 @@ { "name": "tool", "type": "array", - "default": "none", + "default": [ + "none" + ], "enum": [ "claude", "copilot", @@ -572,6 +574,9 @@ "aliases": [ "guardType" ], + "default": [ + "CanActivate" + ], "enum": [ "CanActivate", "CanActivateChild", diff --git a/adev/src/content/cli/help/test.json b/adev/src/content/cli/help/test.json index 6f7151f23bb..456be471244 100644 --- a/adev/src/content/cli/help/test.json +++ b/adev/src/content/cli/help/test.json @@ -29,6 +29,7 @@ { "name": "code-coverage-exclude", "type": "array", + "default": [], "description": "Globs to exclude from code coverage." }, { @@ -47,11 +48,13 @@ { "name": "exclude", "type": "array", + "default": [], "description": "Globs of files to exclude, relative to the project root." }, { "name": "external-dependencies", "type": "array", + "default": [], "description": "Exclude the listed external dependencies from being bundled into the bundle. Instead, the created bundle relies on these dependencies to be available during runtime." }, { @@ -62,6 +65,9 @@ { "name": "include", "type": "array", + "default": [ + "**/*.spec.ts" + ], "description": "Globs of files to include, relative to project root. \nThere are 2 special cases:\n - when a path to directory is provided, all spec files ending \".spec.@(ts|tsx)\" will be included\n - when a path to a file is provided, and a matching spec file exists it will be included instead." }, { @@ -94,6 +100,7 @@ { "name": "polyfills", "type": "array", + "default": [], "description": "A list of polyfills to include in the build. Can be a full path for a file, relative to the current workspace or module specifier. Example: 'zone.js'." }, {