@angular/cli 10.1.2 → 10.1.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 +2 -2
- package/models/schematic-command.js +4 -1
- package/package.json +12 -12
package/lib/config/schema.json
CHANGED
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"projects": {
|
|
28
28
|
"type": "object",
|
|
29
29
|
"patternProperties": {
|
|
30
|
-
"^(?:@[a-
|
|
30
|
+
"^(?:@[a-zA-Z0-9_-]+\/)?[a-zA-Z0-9_-]+$": {
|
|
31
31
|
"$ref": "#/definitions/project"
|
|
32
32
|
}
|
|
33
33
|
},
|
|
@@ -1202,7 +1202,7 @@
|
|
|
1202
1202
|
},
|
|
1203
1203
|
"allowedHosts": {
|
|
1204
1204
|
"type": "array",
|
|
1205
|
-
"description": "
|
|
1205
|
+
"description": "List of hosts that are allowed to access the dev server.",
|
|
1206
1206
|
"default": [],
|
|
1207
1207
|
"items": {
|
|
1208
1208
|
"type": "string"
|
|
@@ -164,7 +164,10 @@ class SchematicCommand extends command_1.Command {
|
|
|
164
164
|
registry: new core_1.schema.CoreSchemaRegistry(schematics_1.formats.standardFormats),
|
|
165
165
|
resolvePaths: !!this.workspace.configFile
|
|
166
166
|
// Workspace
|
|
167
|
-
?
|
|
167
|
+
? this.collectionName === this.defaultCollectionName
|
|
168
|
+
// Favor __dirname for @schematics/angular to use the build-in version
|
|
169
|
+
? [__dirname, process.cwd(), this.workspace.root]
|
|
170
|
+
: [process.cwd(), this.workspace.root, __dirname]
|
|
168
171
|
// Global
|
|
169
172
|
: [__dirname, process.cwd()],
|
|
170
173
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@angular/cli",
|
|
3
|
-
"version": "10.1.
|
|
3
|
+
"version": "10.1.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.1001.
|
|
32
|
-
"@angular-devkit/core": "10.1.
|
|
33
|
-
"@angular-devkit/schematics": "10.1.
|
|
34
|
-
"@schematics/angular": "10.1.
|
|
35
|
-
"@schematics/update": "0.1001.
|
|
31
|
+
"@angular-devkit/architect": "0.1001.3",
|
|
32
|
+
"@angular-devkit/core": "10.1.3",
|
|
33
|
+
"@angular-devkit/schematics": "10.1.3",
|
|
34
|
+
"@schematics/angular": "10.1.3",
|
|
35
|
+
"@schematics/update": "0.1001.3",
|
|
36
36
|
"@yarnpkg/lockfile": "1.1.0",
|
|
37
37
|
"ansi-colors": "4.1.1",
|
|
38
38
|
"debug": "4.1.1",
|
|
@@ -52,12 +52,12 @@
|
|
|
52
52
|
"ng-update": {
|
|
53
53
|
"migrations": "@schematics/angular/migrations/migration-collection.json",
|
|
54
54
|
"packageGroup": {
|
|
55
|
-
"@angular/cli": "10.1.
|
|
56
|
-
"@angular-devkit/build-angular": "0.1001.
|
|
57
|
-
"@angular-devkit/build-ng-packagr": "0.1001.
|
|
58
|
-
"@angular-devkit/build-webpack": "0.1001.
|
|
59
|
-
"@angular-devkit/core": "10.1.
|
|
60
|
-
"@angular-devkit/schematics": "10.1.
|
|
55
|
+
"@angular/cli": "10.1.3",
|
|
56
|
+
"@angular-devkit/build-angular": "0.1001.3",
|
|
57
|
+
"@angular-devkit/build-ng-packagr": "0.1001.3",
|
|
58
|
+
"@angular-devkit/build-webpack": "0.1001.3",
|
|
59
|
+
"@angular-devkit/core": "10.1.3",
|
|
60
|
+
"@angular-devkit/schematics": "10.1.3"
|
|
61
61
|
}
|
|
62
62
|
},
|
|
63
63
|
"engines": {
|