Skip to content

Commit 0d57dfb

Browse files
angular-robotmmalerba
authored andcommitted
docs: update Angular CLI help (angular#63419)
Updated Angular CLI help contents. PR Close angular#63419
1 parent 059e0d3 commit 0d57dfb

5 files changed

Lines changed: 21 additions & 4 deletions

File tree

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
22
"branchName": "refs/heads/main",
3-
"sha": "999aed627f576000118bdcd869f56ca88b44b2a1"
3+
"sha": "68f94d2e60e8b3ea7759b5abeaf7feb47480a25e"
44
}

adev/src/content/cli/help/build.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
{
1313
"name": "allowed-common-js-dependencies",
1414
"type": "array",
15+
"default": [],
1516
"description": "A list of CommonJS or AMD packages that are allowed to be used without a build time warning. Use `'*'` to allow all."
1617
},
1718
{
@@ -84,6 +85,7 @@
8485
{
8586
"name": "external-dependencies",
8687
"type": "array",
88+
"default": [],
8789
"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`."
8890
},
8991
{
@@ -187,6 +189,7 @@
187189
{
188190
"name": "polyfills",
189191
"type": "array",
192+
"default": [],
190193
"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'."
191194
},
192195
{

adev/src/content/cli/help/generate.json

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,9 @@
5555
{
5656
"name": "tool",
5757
"type": "array",
58-
"default": "none",
58+
"default": [
59+
"none"
60+
],
5961
"enum": [
6062
"claude",
6163
"copilot",
@@ -185,7 +187,8 @@
185187
"css",
186188
"less",
187189
"sass",
188-
"scss"
190+
"scss",
191+
"tailwind"
189192
],
190193
"description": "The type of stylesheet files to be created for components in the application."
191194
},
@@ -572,6 +575,9 @@
572575
"aliases": [
573576
"guardType"
574577
],
578+
"default": [
579+
"CanActivate"
580+
],
575581
"enum": [
576582
"CanActivate",
577583
"CanActivateChild",

adev/src/content/cli/help/new.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,8 @@
187187
"css",
188188
"less",
189189
"sass",
190-
"scss"
190+
"scss",
191+
"tailwind"
191192
],
192193
"description": "The type of stylesheet files to be created for components in the initial project."
193194
},

adev/src/content/cli/help/test.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
{
3030
"name": "code-coverage-exclude",
3131
"type": "array",
32+
"default": [],
3233
"description": "Globs to exclude from code coverage."
3334
},
3435
{
@@ -47,11 +48,13 @@
4748
{
4849
"name": "exclude",
4950
"type": "array",
51+
"default": [],
5052
"description": "Globs of files to exclude, relative to the project root."
5153
},
5254
{
5355
"name": "external-dependencies",
5456
"type": "array",
57+
"default": [],
5558
"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."
5659
},
5760
{
@@ -62,6 +65,9 @@
6265
{
6366
"name": "include",
6467
"type": "array",
68+
"default": [
69+
"**/*.spec.ts"
70+
],
6571
"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."
6672
},
6773
{
@@ -94,6 +100,7 @@
94100
{
95101
"name": "polyfills",
96102
"type": "array",
103+
"default": [],
97104
"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'."
98105
},
99106
{

0 commit comments

Comments
 (0)