@angular/cli 12.0.2 → 12.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.
- package/lib/config/schema.json +3 -3
- package/models/architect-command.js +2 -1
- package/package.json +12 -12
package/lib/config/schema.json
CHANGED
|
@@ -1690,7 +1690,7 @@
|
|
|
1690
1690
|
"type": "object",
|
|
1691
1691
|
"properties": {
|
|
1692
1692
|
"includePaths": {
|
|
1693
|
-
"description": "Paths to include. Paths will be resolved to
|
|
1693
|
+
"description": "Paths to include. Paths will be resolved to workspace root.",
|
|
1694
1694
|
"type": "array",
|
|
1695
1695
|
"items": {
|
|
1696
1696
|
"type": "string"
|
|
@@ -2471,7 +2471,7 @@
|
|
|
2471
2471
|
"type": "object",
|
|
2472
2472
|
"properties": {
|
|
2473
2473
|
"includePaths": {
|
|
2474
|
-
"description": "Paths to include. Paths will be resolved to
|
|
2474
|
+
"description": "Paths to include. Paths will be resolved to workspace root.",
|
|
2475
2475
|
"type": "array",
|
|
2476
2476
|
"items": {
|
|
2477
2477
|
"type": "string"
|
|
@@ -2746,7 +2746,7 @@
|
|
|
2746
2746
|
"type": "object",
|
|
2747
2747
|
"properties": {
|
|
2748
2748
|
"includePaths": {
|
|
2749
|
-
"description": "Paths to include. Paths will be resolved to
|
|
2749
|
+
"description": "Paths to include. Paths will be resolved to workspace root.",
|
|
2750
2750
|
"type": "array",
|
|
2751
2751
|
"items": {
|
|
2752
2752
|
"type": "string"
|
|
@@ -185,6 +185,7 @@ class ArchitectCommand extends command_1.Command {
|
|
|
185
185
|
return success ? 0 : 1;
|
|
186
186
|
}
|
|
187
187
|
async runArchitectTarget(options) {
|
|
188
|
+
var _a;
|
|
188
189
|
const extra = options['--'] || [];
|
|
189
190
|
try {
|
|
190
191
|
const targetSpec = this._makeTargetSpecifier(options);
|
|
@@ -206,7 +207,7 @@ class ArchitectCommand extends command_1.Command {
|
|
|
206
207
|
const newErrors = [];
|
|
207
208
|
for (const schemaError of e.errors) {
|
|
208
209
|
if (schemaError.keyword === 'additionalProperties') {
|
|
209
|
-
const unknownProperty = schemaError.params.additionalProperty;
|
|
210
|
+
const unknownProperty = (_a = schemaError.params) === null || _a === void 0 ? void 0 : _a.additionalProperty;
|
|
210
211
|
if (unknownProperty in options) {
|
|
211
212
|
const dashes = unknownProperty.length === 1 ? '-' : '--';
|
|
212
213
|
this.logger.fatal(`Unknown option: '${dashes}${unknownProperty}'`);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@angular/cli",
|
|
3
|
-
"version": "12.0.
|
|
3
|
+
"version": "12.0.3",
|
|
4
4
|
"description": "CLI tool for Angular",
|
|
5
5
|
"main": "lib/cli/index.js",
|
|
6
6
|
"bin": {
|
|
@@ -28,10 +28,10 @@
|
|
|
28
28
|
},
|
|
29
29
|
"homepage": "https://github.com/angular/angular-cli",
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@angular-devkit/architect": "0.1200.
|
|
32
|
-
"@angular-devkit/core": "12.0.
|
|
33
|
-
"@angular-devkit/schematics": "12.0.
|
|
34
|
-
"@schematics/angular": "12.0.
|
|
31
|
+
"@angular-devkit/architect": "0.1200.3",
|
|
32
|
+
"@angular-devkit/core": "12.0.3",
|
|
33
|
+
"@angular-devkit/schematics": "12.0.3",
|
|
34
|
+
"@schematics/angular": "12.0.3",
|
|
35
35
|
"@yarnpkg/lockfile": "1.1.0",
|
|
36
36
|
"ansi-colors": "4.1.1",
|
|
37
37
|
"debug": "4.3.1",
|
|
@@ -52,16 +52,16 @@
|
|
|
52
52
|
"ng-update": {
|
|
53
53
|
"migrations": "@schematics/angular/migrations/migration-collection.json",
|
|
54
54
|
"packageGroup": {
|
|
55
|
-
"@angular/cli": "12.0.
|
|
56
|
-
"@angular-devkit/architect": "0.1200.
|
|
57
|
-
"@angular-devkit/build-angular": "12.0.
|
|
58
|
-
"@angular-devkit/build-webpack": "0.1200.
|
|
59
|
-
"@angular-devkit/core": "12.0.
|
|
60
|
-
"@angular-devkit/schematics": "12.0.
|
|
55
|
+
"@angular/cli": "12.0.3",
|
|
56
|
+
"@angular-devkit/architect": "0.1200.3",
|
|
57
|
+
"@angular-devkit/build-angular": "12.0.3",
|
|
58
|
+
"@angular-devkit/build-webpack": "0.1200.3",
|
|
59
|
+
"@angular-devkit/core": "12.0.3",
|
|
60
|
+
"@angular-devkit/schematics": "12.0.3"
|
|
61
61
|
}
|
|
62
62
|
},
|
|
63
63
|
"engines": {
|
|
64
|
-
"node": "^12.14.1 ||
|
|
64
|
+
"node": "^12.14.1 || >=14.0.0",
|
|
65
65
|
"npm": "^6.11.0 || ^7.5.6",
|
|
66
66
|
"yarn": ">= 1.13.0"
|
|
67
67
|
}
|