@angular/cli 15.0.0-rc.1 → 15.0.0-rc.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
CHANGED
|
@@ -423,7 +423,8 @@ export declare enum Implement {
|
|
|
423
423
|
CanActivate = "CanActivate",
|
|
424
424
|
CanActivateChild = "CanActivateChild",
|
|
425
425
|
CanDeactivate = "CanDeactivate",
|
|
426
|
-
CanLoad = "CanLoad"
|
|
426
|
+
CanLoad = "CanLoad",
|
|
427
|
+
CanMatch = "CanMatch"
|
|
427
428
|
}
|
|
428
429
|
/**
|
|
429
430
|
* Creates a new, generic interceptor definition in the given or default project.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@angular/cli",
|
|
3
|
-
"version": "15.0.0-rc.
|
|
3
|
+
"version": "15.0.0-rc.3",
|
|
4
4
|
"description": "CLI tool for Angular",
|
|
5
5
|
"main": "lib/cli/index.js",
|
|
6
6
|
"bin": {
|
|
@@ -25,10 +25,10 @@
|
|
|
25
25
|
},
|
|
26
26
|
"homepage": "https://github.com/angular/angular-cli",
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@angular-devkit/architect": "0.1500.0-rc.
|
|
29
|
-
"@angular-devkit/core": "15.0.0-rc.
|
|
30
|
-
"@angular-devkit/schematics": "15.0.0-rc.
|
|
31
|
-
"@schematics/angular": "15.0.0-rc.
|
|
28
|
+
"@angular-devkit/architect": "0.1500.0-rc.3",
|
|
29
|
+
"@angular-devkit/core": "15.0.0-rc.3",
|
|
30
|
+
"@angular-devkit/schematics": "15.0.0-rc.3",
|
|
31
|
+
"@schematics/angular": "15.0.0-rc.3",
|
|
32
32
|
"@yarnpkg/lockfile": "1.1.0",
|
|
33
33
|
"ansi-colors": "4.1.3",
|
|
34
34
|
"ini": "3.0.1",
|
|
@@ -38,21 +38,21 @@
|
|
|
38
38
|
"npm-pick-manifest": "8.0.1",
|
|
39
39
|
"open": "8.4.0",
|
|
40
40
|
"ora": "5.4.1",
|
|
41
|
-
"pacote": "15.0.
|
|
41
|
+
"pacote": "15.0.6",
|
|
42
42
|
"resolve": "1.22.1",
|
|
43
43
|
"semver": "7.3.8",
|
|
44
44
|
"symbol-observable": "4.0.0",
|
|
45
|
-
"yargs": "17.6.
|
|
45
|
+
"yargs": "17.6.2"
|
|
46
46
|
},
|
|
47
47
|
"ng-update": {
|
|
48
48
|
"migrations": "@schematics/angular/migrations/migration-collection.json",
|
|
49
49
|
"packageGroup": {
|
|
50
|
-
"@angular/cli": "15.0.0-rc.
|
|
51
|
-
"@angular-devkit/architect": "0.1500.0-rc.
|
|
52
|
-
"@angular-devkit/build-angular": "15.0.0-rc.
|
|
53
|
-
"@angular-devkit/build-webpack": "0.1500.0-rc.
|
|
54
|
-
"@angular-devkit/core": "15.0.0-rc.
|
|
55
|
-
"@angular-devkit/schematics": "15.0.0-rc.
|
|
50
|
+
"@angular/cli": "15.0.0-rc.3",
|
|
51
|
+
"@angular-devkit/architect": "0.1500.0-rc.3",
|
|
52
|
+
"@angular-devkit/build-angular": "15.0.0-rc.3",
|
|
53
|
+
"@angular-devkit/build-webpack": "0.1500.0-rc.3",
|
|
54
|
+
"@angular-devkit/core": "15.0.0-rc.3",
|
|
55
|
+
"@angular-devkit/schematics": "15.0.0-rc.3"
|
|
56
56
|
}
|
|
57
57
|
},
|
|
58
58
|
"engines": {
|
package/src/commands/add/cli.js
CHANGED
|
@@ -32,9 +32,9 @@ const version_1 = require("../../utilities/version");
|
|
|
32
32
|
* The key is a package name and the value is a SemVer range of versions to exclude.
|
|
33
33
|
*/
|
|
34
34
|
const packageVersionExclusions = {
|
|
35
|
-
// @angular/localize@9.x versions do not have peer dependencies setup
|
|
36
|
-
'@angular/localize': '
|
|
37
|
-
// @angular/material@7.x versions have unbounded peer dependency ranges (>=7.0.0)
|
|
35
|
+
// @angular/localize@9.x and earlier versions as well as @angular/localize@10.0 prereleases do not have peer dependencies setup.
|
|
36
|
+
'@angular/localize': '<10.0.0',
|
|
37
|
+
// @angular/material@7.x versions have unbounded peer dependency ranges (>=7.0.0).
|
|
38
38
|
'@angular/material': '7.x',
|
|
39
39
|
};
|
|
40
40
|
class AddCommandModule extends schematics_command_module_1.SchematicsCommandModule {
|
|
@@ -155,7 +155,8 @@ class AddCommandModule extends schematics_command_module_1.SchematicsCommandModu
|
|
|
155
155
|
return false;
|
|
156
156
|
}
|
|
157
157
|
// Excluded package versions should not be considered
|
|
158
|
-
if (versionExclusions &&
|
|
158
|
+
if (versionExclusions &&
|
|
159
|
+
(0, semver_1.satisfies)(value.version, versionExclusions, { includePrerelease: true })) {
|
|
159
160
|
return false;
|
|
160
161
|
}
|
|
161
162
|
return true;
|