@angular/cli 11.0.2 → 11.0.3

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.
@@ -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
  * Setting this explicitly overrides the "--prod" flag
10
13
  */
11
14
  configuration?: string;
@@ -14,7 +14,7 @@
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"
@@ -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/e2e.d.ts CHANGED
@@ -3,8 +3,11 @@
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.
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.
8
11
  * Setting this explicitly overrides the "--prod" flag
9
12
  */
10
13
  configuration?: string;
@@ -3,8 +3,11 @@
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.
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.
8
11
  * Setting this explicitly overrides the "--prod" flag
9
12
  */
10
13
  configuration?: string;
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,8 +3,11 @@
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.
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.
8
11
  * Setting this explicitly overrides the "--prod" flag
9
12
  */
10
13
  configuration?: string;
@@ -3,8 +3,11 @@
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.
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.
8
11
  * Setting this explicitly overrides the "--prod" flag
9
12
  */
10
13
  configuration?: string;
@@ -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 eliminiation 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",
@@ -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",
@@ -1261,7 +1261,7 @@
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 eliminiation 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
  {
@@ -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",
@@ -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 eliminiation. For more information, see https://angular.io/guide/workspace-config#optimization-and-source-map-configuration.",
1747
1747
  "default": false,
1748
1748
  "oneOf": [
1749
1749
  {
@@ -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.3",
4
4
  "description": "CLI tool for Angular",
5
5
  "main": "lib/cli/index.js",
6
6
  "bin": {
@@ -28,11 +28,11 @@
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.3",
32
+ "@angular-devkit/core": "11.0.3",
33
+ "@angular-devkit/schematics": "11.0.3",
34
+ "@schematics/angular": "11.0.3",
35
+ "@schematics/update": "0.1100.3",
36
36
  "@yarnpkg/lockfile": "1.1.0",
37
37
  "ansi-colors": "4.1.1",
38
38
  "debug": "4.2.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.3",
56
+ "@angular-devkit/build-angular": "0.1100.3",
57
+ "@angular-devkit/build-webpack": "0.1100.3",
58
+ "@angular-devkit/core": "11.0.3",
59
+ "@angular-devkit/schematics": "11.0.3"
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
  }