@angular/cli 11.0.2 → 11.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/commands/add.d.ts CHANGED
@@ -7,7 +7,7 @@ export interface Schema {
7
7
  */
8
8
  collection?: string;
9
9
  /**
10
- * When true, disables interactive input prompts for options with a default.
10
+ * Disable interactive input prompts for options with a default.
11
11
  */
12
12
  defaults?: boolean;
13
13
  /**
@@ -15,7 +15,7 @@ export interface Schema {
15
15
  */
16
16
  help?: HelpUnion;
17
17
  /**
18
- * When false, disables interactive input prompts.
18
+ * Enable interactive input prompts.
19
19
  */
20
20
  interactive?: boolean;
21
21
  /**
@@ -4,9 +4,12 @@
4
4
  */
5
5
  export interface Schema {
6
6
  /**
7
- * A named build target, as specified in the "configurations" section of angular.json.
8
- * Each named target is accompanied by a configuration of option defaults for that target.
9
- * Setting this explicitly overrides the "--prod" flag
7
+ * One or more named builder configurations as a comma-separated list as specified in the
8
+ * "configurations" section of angular.json.
9
+ * The builder uses the named configurations to run the given target.
10
+ * For more information, see
11
+ * https://angular.io/guide/workspace-config#alternate-build-configurations.
12
+ * Setting this explicitly overrides the "--prod" flag.
10
13
  */
11
14
  configuration?: string;
12
15
  /**
@@ -15,7 +18,7 @@ export interface Schema {
15
18
  help?: HelpUnion;
16
19
  /**
17
20
  * Shorthand for "--configuration=production".
18
- * When true, sets the build configuration to the production target.
21
+ * Set the build configuration to the production target.
19
22
  * By default, the production target is set up in the workspace configuration such that all
20
23
  * builds make use of bundling, limited tree-shaking, and also limited dead code elimination.
21
24
  */
@@ -3,7 +3,7 @@
3
3
  */
4
4
  export interface Schema {
5
5
  /**
6
- * When true, accesses the global configuration in the caller's home directory.
6
+ * Access the global configuration in the caller's home directory.
7
7
  */
8
8
  global?: boolean;
9
9
  /**
@@ -31,7 +31,7 @@
31
31
  },
32
32
  "global": {
33
33
  "type": "boolean",
34
- "description": "When true, accesses the global configuration in the caller's home directory.",
34
+ "description": "Access the global configuration in the caller's home directory.",
35
35
  "default": false,
36
36
  "aliases": ["g"]
37
37
  }
@@ -14,14 +14,14 @@
14
14
  }
15
15
  },
16
16
  "configuration": {
17
- "description": "A named build target, as specified in the \"configurations\" section of angular.json.\nEach named target is accompanied by a configuration of option defaults for that target.\nSetting this explicitly overrides the \"--prod\" flag",
17
+ "description": "One or more named builder configurations as a comma-separated list as specified in the \"configurations\" section of angular.json.\nThe builder uses the named configurations to run the given target.\nFor more information, see https://angular.io/guide/workspace-config#alternate-build-configurations.\nSetting this explicitly overrides the \"--prod\" flag.",
18
18
  "type": "string",
19
19
  "aliases": [
20
20
  "c"
21
21
  ]
22
22
  },
23
23
  "prod": {
24
- "description": "Shorthand for \"--configuration=production\".\nWhen true, sets the build configuration to the production target.\nBy default, the production target is set up in the workspace configuration such that all builds make use of bundling, limited tree-shaking, and also limited dead code elimination.",
24
+ "description": "Shorthand for \"--configuration=production\".\nSet the build configuration to the production target.\nBy default, the production target is set up in the workspace configuration such that all builds make use of bundling, limited tree-shaking, and also limited dead code elimination.",
25
25
  "type": "boolean"
26
26
  }
27
27
  }
@@ -42,13 +42,13 @@
42
42
  "type": "boolean",
43
43
  "default": false,
44
44
  "aliases": [ "d" ],
45
- "description": "When true, runs through and reports activity without writing out results."
45
+ "description": "Run through and reports activity without writing out results."
46
46
  },
47
47
  "force": {
48
48
  "type": "boolean",
49
49
  "default": false,
50
50
  "aliases": [ "f" ],
51
- "description": "When true, forces overwriting of existing files."
51
+ "description": "Force overwriting of existing files."
52
52
  }
53
53
  }
54
54
  },
@@ -57,12 +57,12 @@
57
57
  "interactive": {
58
58
  "type": "boolean",
59
59
  "default": "true",
60
- "description": "When false, disables interactive input prompts."
60
+ "description": "Enable interactive input prompts."
61
61
  },
62
62
  "defaults": {
63
63
  "type": "boolean",
64
64
  "default": "false",
65
- "description": "When true, disables interactive input prompts for options with a default."
65
+ "description": "Disable interactive input prompts for options with a default."
66
66
  }
67
67
  }
68
68
  }
@@ -4,8 +4,11 @@
4
4
  */
5
5
  export interface Schema {
6
6
  /**
7
- * A named build target, as specified in the "configurations" section of angular.json.
8
- * Each named target is accompanied by a configuration of option defaults for that target.
7
+ * One or more named builder configurations as a comma-separated list as specified in the
8
+ * "configurations" section of angular.json.
9
+ * The builder uses the named configurations to run the given target.
10
+ * For more information, see
11
+ * https://angular.io/guide/workspace-config#alternate-build-configurations.
9
12
  */
10
13
  configuration?: string;
11
14
  /**
@@ -20,7 +20,7 @@
20
20
  }
21
21
  },
22
22
  "configuration": {
23
- "description": "A named build target, as specified in the \"configurations\" section of angular.json.\nEach named target is accompanied by a configuration of option defaults for that target.",
23
+ "description": "One or more named builder configurations as a comma-separated list as specified in the \"configurations\" section of angular.json.\nThe builder uses the named configurations to run the given target.\nFor more information, see https://angular.io/guide/workspace-config#alternate-build-configurations.",
24
24
  "type": "string",
25
25
  "aliases": [
26
26
  "c"
package/commands/doc.d.ts CHANGED
@@ -12,8 +12,7 @@ export interface Schema {
12
12
  */
13
13
  keyword?: string;
14
14
  /**
15
- * When true, searches all of angular.io. Otherwise, searches only API reference
16
- * documentation.
15
+ * Search all of angular.io. Otherwise, searches only API reference documentation.
17
16
  */
18
17
  search?: boolean;
19
18
  /**
package/commands/doc.json CHANGED
@@ -24,7 +24,7 @@
24
24
  "aliases": ["s"],
25
25
  "type": "boolean",
26
26
  "default": false,
27
- "description": "When true, searches all of angular.io. Otherwise, searches only API reference documentation."
27
+ "description": "Search all of angular.io. Otherwise, searches only API reference documentation."
28
28
  },
29
29
  "version" : {
30
30
  "oneOf": [
package/commands/e2e.d.ts CHANGED
@@ -3,9 +3,12 @@
3
3
  */
4
4
  export interface Schema {
5
5
  /**
6
- * A named build target, as specified in the "configurations" section of angular.json.
7
- * Each named target is accompanied by a configuration of option defaults for that target.
8
- * Setting this explicitly overrides the "--prod" flag
6
+ * One or more named builder configurations as a comma-separated list as specified in the
7
+ * "configurations" section of angular.json.
8
+ * The builder uses the named configurations to run the given target.
9
+ * For more information, see
10
+ * https://angular.io/guide/workspace-config#alternate-build-configurations.
11
+ * Setting this explicitly overrides the "--prod" flag.
9
12
  */
10
13
  configuration?: string;
11
14
  /**
@@ -14,7 +17,7 @@ export interface Schema {
14
17
  help?: HelpUnion;
15
18
  /**
16
19
  * Shorthand for "--configuration=production".
17
- * When true, sets the build configuration to the production target.
20
+ * Set the build configuration to the production target.
18
21
  * By default, the production target is set up in the workspace configuration such that all
19
22
  * builds make use of bundling, limited tree-shaking, and also limited dead code elimination.
20
23
  */
@@ -3,9 +3,12 @@
3
3
  */
4
4
  export interface Schema {
5
5
  /**
6
- * A named build target, as specified in the "configurations" section of angular.json.
7
- * Each named target is accompanied by a configuration of option defaults for that target.
8
- * Setting this explicitly overrides the "--prod" flag
6
+ * One or more named builder configurations as a comma-separated list as specified in the
7
+ * "configurations" section of angular.json.
8
+ * The builder uses the named configurations to run the given target.
9
+ * For more information, see
10
+ * https://angular.io/guide/workspace-config#alternate-build-configurations.
11
+ * Setting this explicitly overrides the "--prod" flag.
9
12
  */
10
13
  configuration?: string;
11
14
  /**
@@ -14,7 +17,7 @@ export interface Schema {
14
17
  help?: HelpUnion;
15
18
  /**
16
19
  * Shorthand for "--configuration=production".
17
- * When true, sets the build configuration to the production target.
20
+ * Set the build configuration to the production target.
18
21
  * By default, the production target is set up in the workspace configuration such that all
19
22
  * builds make use of bundling, limited tree-shaking, and also limited dead code elimination.
20
23
  */
@@ -3,15 +3,15 @@
3
3
  */
4
4
  export interface Schema {
5
5
  /**
6
- * When true, disables interactive input prompts for options with a default.
6
+ * Disable interactive input prompts for options with a default.
7
7
  */
8
8
  defaults?: boolean;
9
9
  /**
10
- * When true, runs through and reports activity without writing out results.
10
+ * Run through and reports activity without writing out results.
11
11
  */
12
12
  dryRun?: boolean;
13
13
  /**
14
- * When true, forces overwriting of existing files.
14
+ * Force overwriting of existing files.
15
15
  */
16
16
  force?: boolean;
17
17
  /**
@@ -19,7 +19,7 @@ export interface Schema {
19
19
  */
20
20
  help?: HelpUnion;
21
21
  /**
22
- * When false, disables interactive input prompts.
22
+ * Enable interactive input prompts.
23
23
  */
24
24
  interactive?: boolean;
25
25
  /**
@@ -1,4 +1,7 @@
1
1
  Takes the name of the project, as specified in the `projects` section of the `angular.json` workspace configuration file.
2
2
  When a project name is not supplied, it will execute for all projects.
3
3
 
4
- The default linting tool is [TSLint](https://palantir.github.io/tslint/), and the default configuration is specified in the project's `tslint.json` file.
4
+ The default linting tool is [TSLint](https://palantir.github.io/tslint/), and the default configuration is specified in the project's `tslint.json` file.
5
+
6
+ **Note**: TSLint has been discontinued and support has been deprecated in the Angular CLI. The options shown below are for the deprecated TSLint builder.
7
+ To opt-in using the community driven ESLint builder, see [angular-eslint](https://github.com/angular-eslint/angular-eslint#migrating-from-codelyzer-and-tslint) README.
package/commands/new.d.ts CHANGED
@@ -7,15 +7,15 @@ export interface Schema {
7
7
  */
8
8
  collection?: string;
9
9
  /**
10
- * When true, disables interactive input prompts for options with a default.
10
+ * Disable interactive input prompts for options with a default.
11
11
  */
12
12
  defaults?: boolean;
13
13
  /**
14
- * When true, runs through and reports activity without writing out results.
14
+ * Run through and reports activity without writing out results.
15
15
  */
16
16
  dryRun?: boolean;
17
17
  /**
18
- * When true, forces overwriting of existing files.
18
+ * Force overwriting of existing files.
19
19
  */
20
20
  force?: boolean;
21
21
  /**
@@ -23,11 +23,11 @@ export interface Schema {
23
23
  */
24
24
  help?: HelpUnion;
25
25
  /**
26
- * When false, disables interactive input prompts.
26
+ * Enable interactive input prompts.
27
27
  */
28
28
  interactive?: boolean;
29
29
  /**
30
- * When true, adds more details to output logging.
30
+ * Add more details to output logging.
31
31
  */
32
32
  verbose?: boolean;
33
33
  }
package/commands/new.json CHANGED
@@ -22,7 +22,7 @@
22
22
  "type": "boolean",
23
23
  "default": false,
24
24
  "aliases": [ "v" ],
25
- "description": "When true, adds more details to output logging."
25
+ "description": "Add more details to output logging."
26
26
  }
27
27
  },
28
28
  "required": []
package/commands/run.d.ts CHANGED
@@ -4,8 +4,11 @@
4
4
  */
5
5
  export interface Schema {
6
6
  /**
7
- * A named builder configuration, defined in the "configurations" section of angular.json.
8
- * The builder uses the named configuration to run the given target.
7
+ * One or more named builder configurations as a comma-separated list as specified in the
8
+ * "configurations" section of angular.json.
9
+ * The builder uses the named configurations to run the given target.
10
+ * For more information, see
11
+ * https://angular.io/guide/workspace-config#alternate-build-configurations.
9
12
  */
10
13
  configuration?: string;
11
14
  /**
package/commands/run.json CHANGED
@@ -22,7 +22,7 @@
22
22
  }
23
23
  },
24
24
  "configuration": {
25
- "description": "A named builder configuration, defined in the \"configurations\" section of angular.json.\nThe builder uses the named configuration to run the given target.",
25
+ "description": "One or more named builder configurations as a comma-separated list as specified in the \"configurations\" section of angular.json.\nThe builder uses the named configurations to run the given target.\nFor more information, see https://angular.io/guide/workspace-config#alternate-build-configurations.",
26
26
  "type": "string",
27
27
  "aliases": [ "c" ]
28
28
  }
@@ -3,9 +3,12 @@
3
3
  */
4
4
  export interface Schema {
5
5
  /**
6
- * A named build target, as specified in the "configurations" section of angular.json.
7
- * Each named target is accompanied by a configuration of option defaults for that target.
8
- * Setting this explicitly overrides the "--prod" flag
6
+ * One or more named builder configurations as a comma-separated list as specified in the
7
+ * "configurations" section of angular.json.
8
+ * The builder uses the named configurations to run the given target.
9
+ * For more information, see
10
+ * https://angular.io/guide/workspace-config#alternate-build-configurations.
11
+ * Setting this explicitly overrides the "--prod" flag.
9
12
  */
10
13
  configuration?: string;
11
14
  /**
@@ -14,7 +17,7 @@ export interface Schema {
14
17
  help?: HelpUnion;
15
18
  /**
16
19
  * Shorthand for "--configuration=production".
17
- * When true, sets the build configuration to the production target.
20
+ * Set the build configuration to the production target.
18
21
  * By default, the production target is set up in the workspace configuration such that all
19
22
  * builds make use of bundling, limited tree-shaking, and also limited dead code elimination.
20
23
  */
@@ -3,9 +3,12 @@
3
3
  */
4
4
  export interface Schema {
5
5
  /**
6
- * A named build target, as specified in the "configurations" section of angular.json.
7
- * Each named target is accompanied by a configuration of option defaults for that target.
8
- * Setting this explicitly overrides the "--prod" flag
6
+ * One or more named builder configurations as a comma-separated list as specified in the
7
+ * "configurations" section of angular.json.
8
+ * The builder uses the named configurations to run the given target.
9
+ * For more information, see
10
+ * https://angular.io/guide/workspace-config#alternate-build-configurations.
11
+ * Setting this explicitly overrides the "--prod" flag.
9
12
  */
10
13
  configuration?: string;
11
14
  /**
@@ -14,7 +17,7 @@ export interface Schema {
14
17
  help?: HelpUnion;
15
18
  /**
16
19
  * Shorthand for "--configuration=production".
17
- * When true, sets the build configuration to the production target.
20
+ * Set the build configuration to the production target.
18
21
  * By default, the production target is set up in the workspace configuration such that all
19
22
  * builds make use of bundling, limited tree-shaking, and also limited dead code elimination.
20
23
  */
@@ -28,7 +28,7 @@ export interface Schema {
28
28
  */
29
29
  help?: HelpUnion;
30
30
  /**
31
- * Only perform a migration, does not update the installed version.
31
+ * Only perform a migration, do not update the installed version.
32
32
  */
33
33
  migrateOnly?: MigrateOnly;
34
34
  /**
@@ -59,6 +59,6 @@ export declare enum HelpEnum {
59
59
  Json = "json"
60
60
  }
61
61
  /**
62
- * Only perform a migration, does not update the installed version.
62
+ * Only perform a migration, do not update the installed version.
63
63
  */
64
64
  export declare type MigrateOnly = boolean | string;
@@ -44,7 +44,7 @@
44
44
  "type": "boolean"
45
45
  },
46
46
  "migrateOnly": {
47
- "description": "Only perform a migration, does not update the installed version.",
47
+ "description": "Only perform a migration, do not update the installed version.",
48
48
  "oneOf": [
49
49
  {
50
50
  "type": "boolean"
@@ -65,7 +65,7 @@ export interface SchematicOptions {
65
65
  }
66
66
  export interface SchematicsAngularClass {
67
67
  /**
68
- * When true, does not create test files.
68
+ * Do not create test files.
69
69
  */
70
70
  skipTests?: boolean;
71
71
  }
@@ -115,7 +115,7 @@ export interface SchematicsAngularComponent {
115
115
  */
116
116
  skipImport?: boolean;
117
117
  /**
118
- * When true, does not create test files.
118
+ * Do not create test files.
119
119
  */
120
120
  skipTests?: boolean;
121
121
  /**
@@ -179,7 +179,7 @@ export interface SchematicsAngularDirective {
179
179
  */
180
180
  skipImport?: boolean;
181
181
  /**
182
- * When true, does not create test files.
182
+ * Do not create test files.
183
183
  */
184
184
  skipTests?: boolean;
185
185
  }
@@ -230,7 +230,7 @@ export interface SchematicsAngularPipe {
230
230
  */
231
231
  skipImport?: boolean;
232
232
  /**
233
- * When true, does not create test files.
233
+ * Do not create test files.
234
234
  */
235
235
  skipTests?: boolean;
236
236
  }
@@ -240,7 +240,7 @@ export interface SchematicsAngularService {
240
240
  */
241
241
  flat?: boolean;
242
242
  /**
243
- * When true, does not create test files.
243
+ * Do not create test files.
244
244
  */
245
245
  skipTests?: boolean;
246
246
  }
@@ -155,7 +155,7 @@
155
155
  },
156
156
  "skipTests": {
157
157
  "type": "boolean",
158
- "description": "When true, does not create test files.",
158
+ "description": "Do not create test files.",
159
159
  "default": false
160
160
  }
161
161
  }
@@ -197,7 +197,7 @@
197
197
  },
198
198
  "skipTests": {
199
199
  "type": "boolean",
200
- "description": "When true, does not create test files.",
200
+ "description": "Do not create test files.",
201
201
  "default": false
202
202
  }
203
203
  }
@@ -244,7 +244,7 @@
244
244
  },
245
245
  "skipTests": {
246
246
  "type": "boolean",
247
- "description": "When true, does not create test files.",
247
+ "description": "Do not create test files.",
248
248
  "default": false
249
249
  }
250
250
  }
@@ -259,7 +259,7 @@
259
259
  },
260
260
  "skipTests": {
261
261
  "type": "boolean",
262
- "description": "When true, does not create test files.",
262
+ "description": "Do not create test files.",
263
263
  "default": false
264
264
  },
265
265
  "skipImport": {
@@ -285,7 +285,7 @@
285
285
  "properties": {
286
286
  "skipTests": {
287
287
  "type": "boolean",
288
- "description": "When true, does not create test files.",
288
+ "description": "Do not create test files.",
289
289
  "default": false
290
290
  }
291
291
  }
@@ -619,11 +619,11 @@
619
619
  "properties": {
620
620
  "browserTarget": {
621
621
  "type": "string",
622
- "description": "Target to build."
622
+ "description": "A browser builder target to use for rendering the app shell in the format of `project:target[:configuration]`. You can also pass in more than one configuration name as a comma-separated list. Example: `project:target:production,staging`."
623
623
  },
624
624
  "serverTarget": {
625
625
  "type": "string",
626
- "description": "Server target to use for rendering the app shell."
626
+ "description": "A server builder target to use for rendering the app shell in the format of `project:target[:configuration]`. You can also pass in more than one configuration name as a comma-separated list. Example: `project:target:production,staging`."
627
627
  },
628
628
  "appModuleBundle": {
629
629
  "type": "string",
@@ -701,7 +701,7 @@
701
701
  "additionalProperties": false
702
702
  },
703
703
  "optimization": {
704
- "description": "Enables optimization of the build output.",
704
+ "description": "Enables optimization of the build output. Including minification of scripts and styles, tree-shaking, dead-code elimination and fonts inlining. For more information, see https://angular.io/guide/workspace-config#optimization-and-source-map-configuration.",
705
705
  "oneOf": [
706
706
  {
707
707
  "type": "object",
@@ -725,7 +725,7 @@
725
725
  "properties": {
726
726
  "inline": {
727
727
  "type": "boolean",
728
- "description": "Reduce render blocking requests by inlining external fonts in the application's HTML index file. This requires internet access.",
728
+ "description": "Reduce render blocking requests by inlining external Google fonts and icons CSS definitions in the application's HTML index file. This requires internet access.",
729
729
  "default": true
730
730
  }
731
731
  },
@@ -766,7 +766,7 @@
766
766
  "default": false
767
767
  },
768
768
  "sourceMap": {
769
- "description": "Output sourcemaps.",
769
+ "description": "Output source maps.",
770
770
  "default": true,
771
771
  "oneOf": [
772
772
  {
@@ -774,22 +774,22 @@
774
774
  "properties": {
775
775
  "scripts": {
776
776
  "type": "boolean",
777
- "description": "Output sourcemaps for all scripts.",
777
+ "description": "Output source maps for all scripts.",
778
778
  "default": true
779
779
  },
780
780
  "styles": {
781
781
  "type": "boolean",
782
- "description": "Output sourcemaps for all styles.",
782
+ "description": "Output source maps for all styles.",
783
783
  "default": true
784
784
  },
785
785
  "hidden": {
786
786
  "type": "boolean",
787
- "description": "Output sourcemaps used for error reporting tools.",
787
+ "description": "Output source maps used for error reporting tools.",
788
788
  "default": false
789
789
  },
790
790
  "vendor": {
791
791
  "type": "boolean",
792
- "description": "Resolve vendor packages sourcemaps.",
792
+ "description": "Resolve vendor packages source maps.",
793
793
  "default": false
794
794
  }
795
795
  },
@@ -955,7 +955,7 @@
955
955
  "default": true
956
956
  },
957
957
  "lazyModules": {
958
- "description": "List of additional NgModule files that will be lazy loaded. Lazy router modules with be discovered automatically.",
958
+ "description": "List of additional NgModule files that will be lazy loaded. Lazy router modules will be discovered automatically.",
959
959
  "type": "array",
960
960
  "items": {
961
961
  "type": "string"
@@ -1169,7 +1169,7 @@
1169
1169
  "properties": {
1170
1170
  "browserTarget": {
1171
1171
  "type": "string",
1172
- "description": "Target to serve."
1172
+ "description": "A browser builder target to serve in the format of `project:target[:configuration]`. You can also pass in more than one configuration name as a comma-separated list. Example: `project:target:production,staging`."
1173
1173
  },
1174
1174
  "port": {
1175
1175
  "type": "number",
@@ -1210,13 +1210,13 @@
1210
1210
  },
1211
1211
  "open": {
1212
1212
  "type": "boolean",
1213
- "description": "When true, open the live-reload URL in default browser.",
1213
+ "description": "Open the live-reload URL in default browser.",
1214
1214
  "default": false,
1215
1215
  "alias": "o"
1216
1216
  },
1217
1217
  "liveReload": {
1218
1218
  "type": "boolean",
1219
- "description": "When true, reload the page on change using live-reload.",
1219
+ "description": "Reload the page on change using live-reload.",
1220
1220
  "default": true
1221
1221
  },
1222
1222
  "publicHost": {
@@ -1237,31 +1237,31 @@
1237
1237
  },
1238
1238
  "disableHostCheck": {
1239
1239
  "type": "boolean",
1240
- "description": "When true, don't verify that connected clients are part of allowed hosts.",
1240
+ "description": "Do not verify that connected clients are part of allowed hosts.",
1241
1241
  "default": false
1242
1242
  },
1243
1243
  "hmr": {
1244
1244
  "type": "boolean",
1245
- "description": "When true, enable hot module replacement.",
1245
+ "description": "Enable hot module replacement.",
1246
1246
  "default": false
1247
1247
  },
1248
1248
  "watch": {
1249
1249
  "type": "boolean",
1250
- "description": "When true, rebuild on change.",
1250
+ "description": "Rebuild on change.",
1251
1251
  "default": true
1252
1252
  },
1253
1253
  "hmrWarning": {
1254
1254
  "type": "boolean",
1255
- "description": "When true, show a warning when the --hmr option is enabled.",
1255
+ "description": "Show a warning when the --hmr option is enabled.",
1256
1256
  "default": true
1257
1257
  },
1258
1258
  "servePathDefaultWarning": {
1259
1259
  "type": "boolean",
1260
- "description": "When true, show a warning when deploy-url/base-href use unsupported serve path values.",
1260
+ "description": "Show a warning when deploy-url/base-href use unsupported serve path values.",
1261
1261
  "default": true
1262
1262
  },
1263
1263
  "optimization": {
1264
- "description": "Enable optimization of the build output.",
1264
+ "description": "Enables optimization of the build output. Including minification of scripts and styles, tree-shaking, dead-code elimination and fonts inlining. For more information, see https://angular.io/guide/workspace-config#optimization-and-source-map-configuration.",
1265
1265
  "default": false,
1266
1266
  "oneOf": [
1267
1267
  {
@@ -1269,12 +1269,12 @@
1269
1269
  "properties": {
1270
1270
  "scripts": {
1271
1271
  "type": "boolean",
1272
- "description": "When true, enable optimization of the scripts output.",
1272
+ "description": "Enable optimization of the scripts output.",
1273
1273
  "default": true
1274
1274
  },
1275
1275
  "styles": {
1276
1276
  "type": "boolean",
1277
- "description": "When true, enable optimization of the styles output.",
1277
+ "description": "Enable optimization of the styles output.",
1278
1278
  "default": true
1279
1279
  }
1280
1280
  },
@@ -1290,7 +1290,7 @@
1290
1290
  "description": "Build using ahead-of-time compilation."
1291
1291
  },
1292
1292
  "sourceMap": {
1293
- "description": "When true, output sourcemaps.",
1293
+ "description": "Output source maps.",
1294
1294
  "default": true,
1295
1295
  "oneOf": [
1296
1296
  {
@@ -1298,17 +1298,17 @@
1298
1298
  "properties": {
1299
1299
  "scripts": {
1300
1300
  "type": "boolean",
1301
- "description": "When true, output sourcemaps for all scripts.",
1301
+ "description": "Output source maps for all scripts.",
1302
1302
  "default": true
1303
1303
  },
1304
1304
  "styles": {
1305
1305
  "type": "boolean",
1306
- "description": "When true, output sourcemaps for all styles.",
1306
+ "description": "Output source maps for all styles.",
1307
1307
  "default": true
1308
1308
  },
1309
1309
  "vendor": {
1310
1310
  "type": "boolean",
1311
- "description": "When true, resolve vendor packages sourcemaps.",
1311
+ "description": "Resolve vendor packages source maps.",
1312
1312
  "default": false
1313
1313
  }
1314
1314
  },
@@ -1321,11 +1321,11 @@
1321
1321
  },
1322
1322
  "vendorChunk": {
1323
1323
  "type": "boolean",
1324
- "description": "When true, use a separate bundle containing only vendor libraries."
1324
+ "description": "Use a separate bundle containing only vendor libraries."
1325
1325
  },
1326
1326
  "commonChunk": {
1327
1327
  "type": "boolean",
1328
- "description": "When true, use a separate bundle containing code used across multiple bundles."
1328
+ "description": "Use a separate bundle containing code used across multiple bundles."
1329
1329
  },
1330
1330
  "baseHref": {
1331
1331
  "type": "string",
@@ -1337,11 +1337,11 @@
1337
1337
  },
1338
1338
  "verbose": {
1339
1339
  "type": "boolean",
1340
- "description": "When true, add more details to output logging."
1340
+ "description": "Add more details to output logging."
1341
1341
  },
1342
1342
  "progress": {
1343
1343
  "type": "boolean",
1344
- "description": "When true, log progress to the console while building."
1344
+ "description": "Log progress to the console while building."
1345
1345
  }
1346
1346
  },
1347
1347
  "additionalProperties": false
@@ -1352,7 +1352,7 @@
1352
1352
  "properties": {
1353
1353
  "browserTarget": {
1354
1354
  "type": "string",
1355
- "description": "Target to extract from."
1355
+ "description": "A browser builder target to extract i18n messages in the format of `project:target[:configuration]`. You can also pass in more than one configuration name as a comma-separated list. Example: `project:target:production,staging`."
1356
1356
  },
1357
1357
  "format": {
1358
1358
  "type": "string",
@@ -1466,7 +1466,7 @@
1466
1466
  "additionalProperties": false
1467
1467
  },
1468
1468
  "sourceMap": {
1469
- "description": "Output sourcemaps.",
1469
+ "description": "Output source maps.",
1470
1470
  "default": true,
1471
1471
  "oneOf": [
1472
1472
  {
@@ -1474,17 +1474,17 @@
1474
1474
  "properties": {
1475
1475
  "scripts": {
1476
1476
  "type": "boolean",
1477
- "description": "Output sourcemaps for all scripts.",
1477
+ "description": "Output source maps for all scripts.",
1478
1478
  "default": true
1479
1479
  },
1480
1480
  "styles": {
1481
1481
  "type": "boolean",
1482
- "description": "Output sourcemaps for all styles.",
1482
+ "description": "Output source maps for all styles.",
1483
1483
  "default": true
1484
1484
  },
1485
1485
  "vendor": {
1486
1486
  "type": "boolean",
1487
- "description": "Resolve vendor packages sourcemaps.",
1487
+ "description": "Resolve vendor packages source maps.",
1488
1488
  "default": false
1489
1489
  }
1490
1490
  },
@@ -1665,7 +1665,7 @@
1665
1665
  },
1666
1666
  "devServerTarget": {
1667
1667
  "type": "string",
1668
- "description": "Dev server target to run tests against."
1668
+ "description": "A dev-server builder target to run tests against in the format of `project:target[:configuration]`. You can also pass in more than one configuration name as a comma-separated list. Example: `project:target:production,staging`."
1669
1669
  },
1670
1670
  "grep": {
1671
1671
  "type": "string",
@@ -1743,7 +1743,7 @@
1743
1743
  "additionalProperties": false
1744
1744
  },
1745
1745
  "optimization": {
1746
- "description": "Enables optimization of the build output.",
1746
+ "description": "Enables optimization of the build output. Including minification of scripts and styles, tree-shaking and dead-code elimination. For more information, see https://angular.io/guide/workspace-config#optimization-and-source-map-configuration.",
1747
1747
  "default": false,
1748
1748
  "oneOf": [
1749
1749
  {
@@ -1784,7 +1784,7 @@
1784
1784
  "description": "The path where style resources will be placed, relative to outputPath."
1785
1785
  },
1786
1786
  "sourceMap": {
1787
- "description": "Output sourcemaps.",
1787
+ "description": "Output source maps.",
1788
1788
  "default": true,
1789
1789
  "oneOf": [
1790
1790
  {
@@ -1792,22 +1792,22 @@
1792
1792
  "properties": {
1793
1793
  "scripts": {
1794
1794
  "type": "boolean",
1795
- "description": "Output sourcemaps for all scripts.",
1795
+ "description": "Output source maps for all scripts.",
1796
1796
  "default": true
1797
1797
  },
1798
1798
  "styles": {
1799
1799
  "type": "boolean",
1800
- "description": "Output sourcemaps for all styles.",
1800
+ "description": "Output source maps for all styles.",
1801
1801
  "default": true
1802
1802
  },
1803
1803
  "hidden": {
1804
1804
  "type": "boolean",
1805
- "description": "Output sourcemaps used for error reporting tools.",
1805
+ "description": "Output source maps used for error reporting tools.",
1806
1806
  "default": false
1807
1807
  },
1808
1808
  "vendor": {
1809
1809
  "type": "boolean",
1810
- "description": "Resolve vendor packages sourcemaps.",
1810
+ "description": "Resolve vendor packages source maps.",
1811
1811
  "default": false
1812
1812
  }
1813
1813
  },
@@ -2064,6 +2064,7 @@
2064
2064
  "default": "warning"
2065
2065
  },
2066
2066
  "localize": {
2067
+ "description": "Translate the bundles in one or more locales.",
2067
2068
  "oneOf": [
2068
2069
  {
2069
2070
  "type": "boolean",
package/models/command.js CHANGED
@@ -33,7 +33,10 @@ class Command {
33
33
  return 0;
34
34
  }
35
35
  async printJsonHelp(_options) {
36
- this.logger.info(JSON.stringify(this.description));
36
+ const replacer = (key, value) => key === 'name'
37
+ ? core_1.strings.dasherize(value)
38
+ : value;
39
+ this.logger.info(JSON.stringify(this.description, replacer, 2));
37
40
  return 0;
38
41
  }
39
42
  async printHelpUsage() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@angular/cli",
3
- "version": "11.0.2",
3
+ "version": "11.0.6",
4
4
  "description": "CLI tool for Angular",
5
5
  "main": "lib/cli/index.js",
6
6
  "bin": {
@@ -28,15 +28,15 @@
28
28
  },
29
29
  "homepage": "https://github.com/angular/angular-cli",
30
30
  "dependencies": {
31
- "@angular-devkit/architect": "0.1100.2",
32
- "@angular-devkit/core": "11.0.2",
33
- "@angular-devkit/schematics": "11.0.2",
34
- "@schematics/angular": "11.0.2",
35
- "@schematics/update": "0.1100.2",
31
+ "@angular-devkit/architect": "0.1100.6",
32
+ "@angular-devkit/core": "11.0.6",
33
+ "@angular-devkit/schematics": "11.0.6",
34
+ "@schematics/angular": "11.0.6",
35
+ "@schematics/update": "0.1100.6",
36
36
  "@yarnpkg/lockfile": "1.1.0",
37
37
  "ansi-colors": "4.1.1",
38
38
  "debug": "4.2.0",
39
- "ini": "1.3.5",
39
+ "ini": "1.3.6",
40
40
  "inquirer": "7.3.3",
41
41
  "npm-package-arg": "8.1.0",
42
42
  "npm-pick-manifest": "6.1.0",
@@ -52,22 +52,16 @@
52
52
  "ng-update": {
53
53
  "migrations": "@schematics/angular/migrations/migration-collection.json",
54
54
  "packageGroup": {
55
- "@angular/cli": "11.0.2",
56
- "@angular-devkit/build-angular": "0.1100.2",
57
- "@angular-devkit/build-webpack": "0.1100.2",
58
- "@angular-devkit/core": "11.0.2",
59
- "@angular-devkit/schematics": "11.0.2"
55
+ "@angular/cli": "11.0.6",
56
+ "@angular-devkit/build-angular": "0.1100.6",
57
+ "@angular-devkit/build-webpack": "0.1100.6",
58
+ "@angular-devkit/core": "11.0.6",
59
+ "@angular-devkit/schematics": "11.0.6"
60
60
  }
61
61
  },
62
62
  "engines": {
63
63
  "node": ">= 10.13.0",
64
64
  "npm": ">= 6.11.0",
65
65
  "yarn": ">= 1.13.0"
66
- },
67
- "husky": {
68
- "hooks": {
69
- "commit-msg": "yarn -s ng-dev commit-message pre-commit-validate --file-env-variable HUSKY_GIT_PARAMS",
70
- "prepare-commit-msg": "yarn -s ng-dev commit-message restore-commit-message-draft --file-env-variable HUSKY_GIT_PARAMS"
71
- }
72
66
  }
73
67
  }