@angular/cli 15.0.0-rc.3 → 15.0.0-rc.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/package.json +11 -11
- package/src/utilities/package-metadata.js +10 -0
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.4",
|
|
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.4",
|
|
29
|
+
"@angular-devkit/core": "15.0.0-rc.4",
|
|
30
|
+
"@angular-devkit/schematics": "15.0.0-rc.4",
|
|
31
|
+
"@schematics/angular": "15.0.0-rc.4",
|
|
32
32
|
"@yarnpkg/lockfile": "1.1.0",
|
|
33
33
|
"ansi-colors": "4.1.3",
|
|
34
34
|
"ini": "3.0.1",
|
|
@@ -47,12 +47,12 @@
|
|
|
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.4",
|
|
51
|
+
"@angular-devkit/architect": "0.1500.0-rc.4",
|
|
52
|
+
"@angular-devkit/build-angular": "15.0.0-rc.4",
|
|
53
|
+
"@angular-devkit/build-webpack": "0.1500.0-rc.4",
|
|
54
|
+
"@angular-devkit/core": "15.0.0-rc.4",
|
|
55
|
+
"@angular-devkit/schematics": "15.0.0-rc.4"
|
|
56
56
|
}
|
|
57
57
|
},
|
|
58
58
|
"engines": {
|
|
@@ -53,6 +53,7 @@ function ensureNpmrc(logger, usingYarn, verbose) {
|
|
|
53
53
|
}
|
|
54
54
|
}
|
|
55
55
|
function readOptions(logger, yarn = false, showPotentials = false) {
|
|
56
|
+
var _a;
|
|
56
57
|
const cwd = process.cwd();
|
|
57
58
|
const baseFilename = yarn ? 'yarnrc' : 'npmrc';
|
|
58
59
|
const dotFilename = '.' + baseFilename;
|
|
@@ -108,6 +109,15 @@ function readOptions(logger, yarn = false, showPotentials = false) {
|
|
|
108
109
|
else {
|
|
109
110
|
continue;
|
|
110
111
|
}
|
|
112
|
+
if (normalizedName === 'registry' &&
|
|
113
|
+
rcOptions['registry'] &&
|
|
114
|
+
value === 'https://registry.yarnpkg.com' &&
|
|
115
|
+
((_a = process.env['npm_config_user_agent']) === null || _a === void 0 ? void 0 : _a.includes('yarn'))) {
|
|
116
|
+
// When running `ng update` using yarn (`yarn ng update`), yarn will set the `npm_config_registry` env variable to `https://registry.yarnpkg.com`
|
|
117
|
+
// even when an RC file is present with a different repository.
|
|
118
|
+
// This causes the registry specified in the RC to always be overridden with the below logic.
|
|
119
|
+
continue;
|
|
120
|
+
}
|
|
111
121
|
normalizedName = normalizedName.replace(/(?!^)_/g, '-'); // don't replace _ at the start of the key.s
|
|
112
122
|
envVariablesOptions[normalizedName] = value;
|
|
113
123
|
}
|