@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.
@@ -27,7 +27,7 @@
27
27
  "projects": {
28
28
  "type": "object",
29
29
  "patternProperties": {
30
- "^(?:@[a-z0-9-~][a-z0-9-._~]*\/)?[a-z0-9-~][a-z0-9-._~]*$": {
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": "Whitelist of hosts that are allowed to access the dev server.",
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
- ? [process.cwd(), this.workspace.root, __dirname]
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.2",
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.2",
32
- "@angular-devkit/core": "10.1.2",
33
- "@angular-devkit/schematics": "10.1.2",
34
- "@schematics/angular": "10.1.2",
35
- "@schematics/update": "0.1001.2",
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.2",
56
- "@angular-devkit/build-angular": "0.1001.2",
57
- "@angular-devkit/build-ng-packagr": "0.1001.2",
58
- "@angular-devkit/build-webpack": "0.1001.2",
59
- "@angular-devkit/core": "10.1.2",
60
- "@angular-devkit/schematics": "10.1.2"
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": {