@angular/cli 15.0.0-rc.3 → 15.0.0-rc.5
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
|
@@ -1874,7 +1874,7 @@
|
|
|
1874
1874
|
},
|
|
1875
1875
|
"vendorChunk": {
|
|
1876
1876
|
"type": "boolean",
|
|
1877
|
-
"description": "Generate a seperate bundle containing only vendor libraries. This option should only used for development.",
|
|
1877
|
+
"description": "Generate a seperate bundle containing only vendor libraries. This option should only be used for development to reduce the incremental compilation time.",
|
|
1878
1878
|
"default": false
|
|
1879
1879
|
},
|
|
1880
1880
|
"commonChunk": {
|
|
@@ -2449,7 +2449,7 @@
|
|
|
2449
2449
|
},
|
|
2450
2450
|
"vendorChunk": {
|
|
2451
2451
|
"type": "boolean",
|
|
2452
|
-
"description": "Generate a seperate bundle containing only vendor libraries. This option should only used for development.",
|
|
2452
|
+
"description": "Generate a seperate bundle containing only vendor libraries. This option should only be used for development to reduce the incremental compilation time.",
|
|
2453
2453
|
"default": false
|
|
2454
2454
|
},
|
|
2455
2455
|
"commonChunk": {
|
|
@@ -3352,6 +3352,11 @@
|
|
|
3352
3352
|
"description": "URL where files will be deployed.",
|
|
3353
3353
|
"deprecated": true
|
|
3354
3354
|
},
|
|
3355
|
+
"vendorChunk": {
|
|
3356
|
+
"type": "boolean",
|
|
3357
|
+
"description": "Generate a seperate bundle containing only vendor libraries. This option should only be used for development to reduce the incremental compilation time.",
|
|
3358
|
+
"default": false
|
|
3359
|
+
},
|
|
3355
3360
|
"verbose": {
|
|
3356
3361
|
"type": "boolean",
|
|
3357
3362
|
"description": "Adds more details to output logging.",
|
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.5",
|
|
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.5",
|
|
29
|
+
"@angular-devkit/core": "15.0.0-rc.5",
|
|
30
|
+
"@angular-devkit/schematics": "15.0.0-rc.5",
|
|
31
|
+
"@schematics/angular": "15.0.0-rc.5",
|
|
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.5",
|
|
51
|
+
"@angular-devkit/architect": "0.1500.0-rc.5",
|
|
52
|
+
"@angular-devkit/build-angular": "15.0.0-rc.5",
|
|
53
|
+
"@angular-devkit/build-webpack": "0.1500.0-rc.5",
|
|
54
|
+
"@angular-devkit/core": "15.0.0-rc.5",
|
|
55
|
+
"@angular-devkit/schematics": "15.0.0-rc.5"
|
|
56
56
|
}
|
|
57
57
|
},
|
|
58
58
|
"engines": {
|
|
@@ -146,6 +146,10 @@ class AnalyticsCollector {
|
|
|
146
146
|
}
|
|
147
147
|
}
|
|
148
148
|
async send(data) {
|
|
149
|
+
// Temporarily disable sending analytics.
|
|
150
|
+
if (true) {
|
|
151
|
+
return Promise.resolve();
|
|
152
|
+
}
|
|
149
153
|
return new Promise((resolve, reject) => {
|
|
150
154
|
const request = https.request({
|
|
151
155
|
host: 'www.google-analytics.com',
|
|
@@ -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
|
}
|