@angular/cli 18.2.0-next.0 → 18.2.0-next.2
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
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@angular/cli",
|
|
3
|
-
"version": "18.2.0-next.
|
|
3
|
+
"version": "18.2.0-next.2",
|
|
4
4
|
"description": "CLI tool for Angular",
|
|
5
5
|
"main": "lib/cli/index.js",
|
|
6
6
|
"bin": {
|
|
@@ -25,38 +25,38 @@
|
|
|
25
25
|
},
|
|
26
26
|
"homepage": "https://github.com/angular/angular-cli",
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@angular-devkit/architect": "0.1802.0-next.
|
|
29
|
-
"@angular-devkit/core": "18.2.0-next.
|
|
30
|
-
"@angular-devkit/schematics": "18.2.0-next.
|
|
31
|
-
"@inquirer/prompts": "5.
|
|
32
|
-
"@listr2/prompt-adapter-inquirer": "2.0.
|
|
33
|
-
"@schematics/angular": "18.2.0-next.
|
|
28
|
+
"@angular-devkit/architect": "0.1802.0-next.2",
|
|
29
|
+
"@angular-devkit/core": "18.2.0-next.2",
|
|
30
|
+
"@angular-devkit/schematics": "18.2.0-next.2",
|
|
31
|
+
"@inquirer/prompts": "5.3.2",
|
|
32
|
+
"@listr2/prompt-adapter-inquirer": "2.0.14",
|
|
33
|
+
"@schematics/angular": "18.2.0-next.2",
|
|
34
34
|
"@yarnpkg/lockfile": "1.1.0",
|
|
35
35
|
"ini": "4.1.3",
|
|
36
36
|
"jsonc-parser": "3.3.1",
|
|
37
37
|
"listr2": "8.2.3",
|
|
38
|
-
"npm-package-arg": "11.0.
|
|
38
|
+
"npm-package-arg": "11.0.3",
|
|
39
39
|
"npm-pick-manifest": "9.1.0",
|
|
40
40
|
"pacote": "18.0.6",
|
|
41
41
|
"resolve": "1.22.8",
|
|
42
|
-
"semver": "7.6.
|
|
42
|
+
"semver": "7.6.3",
|
|
43
43
|
"symbol-observable": "4.0.0",
|
|
44
44
|
"yargs": "17.7.2"
|
|
45
45
|
},
|
|
46
46
|
"ng-update": {
|
|
47
47
|
"migrations": "@schematics/angular/migrations/migration-collection.json",
|
|
48
48
|
"packageGroup": {
|
|
49
|
-
"@angular/cli": "18.2.0-next.
|
|
50
|
-
"@angular/build": "18.2.0-next.
|
|
51
|
-
"@angular/ssr": "18.2.0-next.
|
|
52
|
-
"@angular-devkit/architect": "0.1802.0-next.
|
|
53
|
-
"@angular-devkit/build-angular": "18.2.0-next.
|
|
54
|
-
"@angular-devkit/build-webpack": "0.1802.0-next.
|
|
55
|
-
"@angular-devkit/core": "18.2.0-next.
|
|
56
|
-
"@angular-devkit/schematics": "18.2.0-next.
|
|
49
|
+
"@angular/cli": "18.2.0-next.2",
|
|
50
|
+
"@angular/build": "18.2.0-next.2",
|
|
51
|
+
"@angular/ssr": "18.2.0-next.2",
|
|
52
|
+
"@angular-devkit/architect": "0.1802.0-next.2",
|
|
53
|
+
"@angular-devkit/build-angular": "18.2.0-next.2",
|
|
54
|
+
"@angular-devkit/build-webpack": "0.1802.0-next.2",
|
|
55
|
+
"@angular-devkit/core": "18.2.0-next.2",
|
|
56
|
+
"@angular-devkit/schematics": "18.2.0-next.2"
|
|
57
57
|
}
|
|
58
58
|
},
|
|
59
|
-
"packageManager": "yarn@4.3.
|
|
59
|
+
"packageManager": "yarn@4.3.1",
|
|
60
60
|
"engines": {
|
|
61
61
|
"node": "^18.19.1 || ^20.11.1 || >=22.0.0",
|
|
62
62
|
"npm": "^6.11.0 || ^7.5.6 || >=8.0.0",
|
|
@@ -206,8 +206,10 @@ let SchematicsCommandModule = (() => {
|
|
|
206
206
|
if (!definition.items?.length) {
|
|
207
207
|
continue;
|
|
208
208
|
}
|
|
209
|
-
|
|
210
|
-
|
|
209
|
+
answers[definition.id] = await (definition.multiselect ? prompts.checkbox : prompts.select)({
|
|
210
|
+
message: definition.message,
|
|
211
|
+
default: definition.default,
|
|
212
|
+
choices: definition.items?.map((item) => typeof item == 'string'
|
|
211
213
|
? {
|
|
212
214
|
name: item,
|
|
213
215
|
value: item,
|
|
@@ -215,15 +217,10 @@ let SchematicsCommandModule = (() => {
|
|
|
215
217
|
: {
|
|
216
218
|
name: item.label,
|
|
217
219
|
value: item.value,
|
|
218
|
-
}
|
|
219
|
-
});
|
|
220
|
-
answers[definition.id] = await (definition.multiselect ? prompts.checkbox : prompts.select)({
|
|
221
|
-
message: definition.message,
|
|
222
|
-
default: definition.default,
|
|
223
|
-
choices,
|
|
220
|
+
}),
|
|
224
221
|
});
|
|
225
222
|
break;
|
|
226
|
-
case 'input':
|
|
223
|
+
case 'input': {
|
|
227
224
|
let finalValue;
|
|
228
225
|
answers[definition.id] = await prompts.input({
|
|
229
226
|
message: definition.message,
|
|
@@ -263,6 +260,7 @@ let SchematicsCommandModule = (() => {
|
|
|
263
260
|
answers[definition.id] = finalValue;
|
|
264
261
|
}
|
|
265
262
|
break;
|
|
263
|
+
}
|
|
266
264
|
}
|
|
267
265
|
}
|
|
268
266
|
return answers;
|
|
@@ -9,18 +9,20 @@
|
|
|
9
9
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
10
|
exports.subscribeToWorkflow = subscribeToWorkflow;
|
|
11
11
|
const color_1 = require("../../utilities/color");
|
|
12
|
+
function removeLeadingSlash(value) {
|
|
13
|
+
return value[0] === '/' ? value.slice(1) : value;
|
|
14
|
+
}
|
|
12
15
|
function subscribeToWorkflow(workflow, logger) {
|
|
13
16
|
const files = new Set();
|
|
14
17
|
let error = false;
|
|
15
18
|
let logs = [];
|
|
16
19
|
const reporterSubscription = workflow.reporter.subscribe((event) => {
|
|
17
20
|
// Strip leading slash to prevent confusion.
|
|
18
|
-
const eventPath =
|
|
21
|
+
const eventPath = removeLeadingSlash(event.path);
|
|
19
22
|
switch (event.kind) {
|
|
20
23
|
case 'error':
|
|
21
24
|
error = true;
|
|
22
|
-
|
|
23
|
-
logger.error(`ERROR! ${eventPath} ${desc}.`);
|
|
25
|
+
logger.error(`ERROR! ${eventPath} ${event.description == 'alreadyExist' ? 'already exists' : 'does not exist'}.`);
|
|
24
26
|
break;
|
|
25
27
|
case 'update':
|
|
26
28
|
logs.push(`${color_1.colors.cyan('UPDATE')} ${eventPath} (${event.content.length} bytes)`);
|
|
@@ -35,8 +37,7 @@ function subscribeToWorkflow(workflow, logger) {
|
|
|
35
37
|
files.add(eventPath);
|
|
36
38
|
break;
|
|
37
39
|
case 'rename':
|
|
38
|
-
|
|
39
|
-
logs.push(`${color_1.colors.blue('RENAME')} ${eventPath} => ${eventToPath}`);
|
|
40
|
+
logs.push(`${color_1.colors.blue('RENAME')} ${eventPath} => ${removeLeadingSlash(event.to)}`);
|
|
40
41
|
files.add(eventPath);
|
|
41
42
|
break;
|
|
42
43
|
}
|
package/src/utilities/version.js
CHANGED
|
@@ -25,5 +25,5 @@ class Version {
|
|
|
25
25
|
}
|
|
26
26
|
}
|
|
27
27
|
// TODO(bazel): Convert this to use build-time version stamping after flipping the build script to use bazel
|
|
28
|
-
// export const VERSION = new Version('18.2.0-next.
|
|
28
|
+
// export const VERSION = new Version('18.2.0-next.2');
|
|
29
29
|
exports.VERSION = new Version(JSON.parse((0, fs_1.readFileSync)((0, path_1.resolve)(__dirname, '../../package.json'), 'utf-8')).version);
|