@angular/cli 10.0.0 → 10.0.4
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/commands/update-impl.js +4 -1
- package/commands/update.d.ts +1 -1
- package/commands/update.json +1 -1
- package/package.json +12 -12
package/commands/update-impl.js
CHANGED
|
@@ -493,7 +493,10 @@ class UpdateCommand extends command_1.Command {
|
|
|
493
493
|
const migrations = global.externalMigrations;
|
|
494
494
|
if (success && migrations) {
|
|
495
495
|
for (const migration of migrations) {
|
|
496
|
-
const result = await this.executeMigrations(migration.package,
|
|
496
|
+
const result = await this.executeMigrations(migration.package,
|
|
497
|
+
// Resolve the collection from the workspace root, as otherwise it will be resolved from the temp
|
|
498
|
+
// installed CLI version.
|
|
499
|
+
require.resolve(migration.collection, { paths: [this.workspace.root] }), new semver.Range('>' + migration.from + ' <=' + migration.to), options.createCommits);
|
|
497
500
|
if (!result) {
|
|
498
501
|
return 0;
|
|
499
502
|
}
|
package/commands/update.d.ts
CHANGED
package/commands/update.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@angular/cli",
|
|
3
|
-
"version": "10.0.
|
|
3
|
+
"version": "10.0.4",
|
|
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.1000.
|
|
32
|
-
"@angular-devkit/core": "10.0.
|
|
33
|
-
"@angular-devkit/schematics": "10.0.
|
|
34
|
-
"@schematics/angular": "10.0.
|
|
35
|
-
"@schematics/update": "0.1000.
|
|
31
|
+
"@angular-devkit/architect": "0.1000.4",
|
|
32
|
+
"@angular-devkit/core": "10.0.4",
|
|
33
|
+
"@angular-devkit/schematics": "10.0.4",
|
|
34
|
+
"@schematics/angular": "10.0.4",
|
|
35
|
+
"@schematics/update": "0.1000.4",
|
|
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.0.
|
|
56
|
-
"@angular-devkit/build-angular": "0.1000.
|
|
57
|
-
"@angular-devkit/build-ng-packagr": "0.1000.
|
|
58
|
-
"@angular-devkit/build-webpack": "0.1000.
|
|
59
|
-
"@angular-devkit/core": "10.0.
|
|
60
|
-
"@angular-devkit/schematics": "10.0.
|
|
55
|
+
"@angular/cli": "10.0.4",
|
|
56
|
+
"@angular-devkit/build-angular": "0.1000.4",
|
|
57
|
+
"@angular-devkit/build-ng-packagr": "0.1000.4",
|
|
58
|
+
"@angular-devkit/build-webpack": "0.1000.4",
|
|
59
|
+
"@angular-devkit/core": "10.0.4",
|
|
60
|
+
"@angular-devkit/schematics": "10.0.4"
|
|
61
61
|
}
|
|
62
62
|
},
|
|
63
63
|
"engines": {
|