@angular/cli 11.1.0-next.3 → 11.1.1

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/README.md CHANGED
@@ -250,7 +250,7 @@ In addition to this one, another, more elaborated way to capture a CPU profile u
250
250
 
251
251
  ## Documentation
252
252
 
253
- The documentation for the Angular CLI is located in this repo's [wiki](https://angular.io/cli).
253
+ The documentation for the Angular CLI is located on our [documentation website](https://angular.io/cli).
254
254
 
255
255
  ## License
256
256
 
@@ -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.
@@ -715,7 +715,7 @@
715
715
  "additionalProperties": false
716
716
  },
717
717
  "optimization": {
718
- "description": "Enables optimization of the build output. Including minification of scripts and styles, tree-shaking, dead-code elimination, inlining of critical CSS and fonts inlining. For more information, see https://angular.io/guide/workspace-config#optimization-and-source-map-configuration.",
718
+ "description": "Enables optimization of the build output. Including minification of scripts and styles, tree-shaking, dead-code elimination, inlining of critical CSS and fonts inlining. For more information, see https://angular.io/guide/workspace-config#optimization-configuration.",
719
719
  "oneOf": [
720
720
  {
721
721
  "type": "object",
@@ -800,7 +800,7 @@
800
800
  "default": false
801
801
  },
802
802
  "sourceMap": {
803
- "description": "Output source maps.",
803
+ "description": "Output source maps for scripts and styles. For more information, see https://angular.io/guide/workspace-config#source-map-configuration.",
804
804
  "default": true,
805
805
  "oneOf": [
806
806
  {
@@ -836,12 +836,12 @@
836
836
  },
837
837
  "vendorChunk": {
838
838
  "type": "boolean",
839
- "description": "Use a separate bundle containing only vendor libraries.",
839
+ "description": "Generate a seperate bundle containing only vendor libraries. This option should only used for development.",
840
840
  "default": true
841
841
  },
842
842
  "commonChunk": {
843
843
  "type": "boolean",
844
- "description": "Use a separate bundle containing code used across multiple bundles.",
844
+ "description": "Generate a seperate bundle containing code used across multiple bundles.",
845
845
  "default": true
846
846
  },
847
847
  "baseHref": {
@@ -989,7 +989,7 @@
989
989
  "default": true
990
990
  },
991
991
  "lazyModules": {
992
- "description": "List of additional NgModule files that will be lazy loaded. Lazy router modules with be discovered automatically.",
992
+ "description": "List of additional NgModule files that will be lazy loaded. Lazy router modules will be discovered automatically.",
993
993
  "type": "array",
994
994
  "items": {
995
995
  "type": "string"
@@ -1300,7 +1300,7 @@
1300
1300
  "default": true
1301
1301
  },
1302
1302
  "optimization": {
1303
- "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.",
1303
+ "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-configuration.",
1304
1304
  "default": false,
1305
1305
  "oneOf": [
1306
1306
  {
@@ -1329,7 +1329,7 @@
1329
1329
  "description": "Build using ahead-of-time compilation."
1330
1330
  },
1331
1331
  "sourceMap": {
1332
- "description": "Output source maps.",
1332
+ "description": "Output source maps for scripts and styles. For more information, see https://angular.io/guide/workspace-config#source-map-configuration.",
1333
1333
  "default": true,
1334
1334
  "oneOf": [
1335
1335
  {
@@ -1360,11 +1360,11 @@
1360
1360
  },
1361
1361
  "vendorChunk": {
1362
1362
  "type": "boolean",
1363
- "description": "Use a separate bundle containing only vendor libraries."
1363
+ "description": "Generate a seperate bundle containing only vendor libraries. This option should only used for development."
1364
1364
  },
1365
1365
  "commonChunk": {
1366
1366
  "type": "boolean",
1367
- "description": "Use a separate bundle containing code used across multiple bundles."
1367
+ "description": "Generate a seperate bundle containing code used across multiple bundles."
1368
1368
  },
1369
1369
  "baseHref": {
1370
1370
  "type": "string",
@@ -1403,7 +1403,9 @@
1403
1403
  "xlif",
1404
1404
  "xliff",
1405
1405
  "xlf2",
1406
- "xliff2"
1406
+ "xliff2",
1407
+ "json",
1408
+ "arb"
1407
1409
  ]
1408
1410
  },
1409
1411
  "i18nFormat": {
@@ -1417,7 +1419,9 @@
1417
1419
  "xlif",
1418
1420
  "xliff",
1419
1421
  "xlf2",
1420
- "xliff2"
1422
+ "xliff2",
1423
+ "json",
1424
+ "arb"
1421
1425
  ]
1422
1426
  },
1423
1427
  "i18nLocale": {
@@ -1505,7 +1509,7 @@
1505
1509
  "additionalProperties": false
1506
1510
  },
1507
1511
  "sourceMap": {
1508
- "description": "Output source maps.",
1512
+ "description": "Output source maps for scripts and styles. For more information, see https://angular.io/guide/workspace-config#source-map-configuration.",
1509
1513
  "default": true,
1510
1514
  "oneOf": [
1511
1515
  {
@@ -1787,7 +1791,7 @@
1787
1791
  "additionalProperties": false
1788
1792
  },
1789
1793
  "optimization": {
1790
- "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.",
1794
+ "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-configuration.",
1791
1795
  "default": false,
1792
1796
  "oneOf": [
1793
1797
  {
@@ -1828,7 +1832,7 @@
1828
1832
  "description": "The path where style resources will be placed, relative to outputPath."
1829
1833
  },
1830
1834
  "sourceMap": {
1831
- "description": "Output source maps.",
1835
+ "description": "Output source maps for scripts and styles. For more information, see https://angular.io/guide/workspace-config#source-map-configuration.",
1832
1836
  "default": true,
1833
1837
  "oneOf": [
1834
1838
  {
@@ -310,7 +310,7 @@ function setAnalyticsConfig(level, value) {
310
310
  throw new Error(`Could not find ${level} workspace.`);
311
311
  }
312
312
  const cli = config.get(['cli']);
313
- if (!core_1.json.isJsonObject(cli)) {
313
+ if (cli !== undefined && !core_1.json.isJsonObject(cli)) {
314
314
  throw new Error(`Invalid config found at ${configPath}. CLI should be an object.`);
315
315
  }
316
316
  if (value === true) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@angular/cli",
3
- "version": "11.1.0-next.3",
3
+ "version": "11.1.1",
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.1101.0-next.3",
32
- "@angular-devkit/core": "11.1.0-next.3",
33
- "@angular-devkit/schematics": "11.1.0-next.3",
34
- "@schematics/angular": "11.1.0-next.3",
35
- "@schematics/update": "0.1101.0-next.3",
31
+ "@angular-devkit/architect": "0.1101.1",
32
+ "@angular-devkit/core": "11.1.1",
33
+ "@angular-devkit/schematics": "11.1.1",
34
+ "@schematics/angular": "11.1.1",
35
+ "@schematics/update": "0.1101.1",
36
36
  "@yarnpkg/lockfile": "1.1.0",
37
37
  "ansi-colors": "4.1.1",
38
38
  "debug": "4.3.1",
@@ -41,8 +41,8 @@
41
41
  "jsonc-parser": "3.0.0",
42
42
  "npm-package-arg": "8.1.0",
43
43
  "npm-pick-manifest": "6.1.0",
44
- "open": "7.3.0",
45
- "pacote": "11.1.13",
44
+ "open": "7.3.1",
45
+ "pacote": "11.1.14",
46
46
  "resolve": "1.19.0",
47
47
  "rimraf": "3.0.2",
48
48
  "semver": "7.3.4",
@@ -53,11 +53,12 @@
53
53
  "ng-update": {
54
54
  "migrations": "@schematics/angular/migrations/migration-collection.json",
55
55
  "packageGroup": {
56
- "@angular/cli": "11.1.0-next.3",
57
- "@angular-devkit/build-angular": "0.1101.0-next.3",
58
- "@angular-devkit/build-webpack": "0.1101.0-next.3",
59
- "@angular-devkit/core": "11.1.0-next.3",
60
- "@angular-devkit/schematics": "11.1.0-next.3"
56
+ "@angular/cli": "11.1.1",
57
+ "@angular-devkit/architect": "0.1101.1",
58
+ "@angular-devkit/build-angular": "0.1101.1",
59
+ "@angular-devkit/build-webpack": "0.1101.1",
60
+ "@angular-devkit/core": "11.1.1",
61
+ "@angular-devkit/schematics": "11.1.1"
61
62
  }
62
63
  },
63
64
  "engines": {