@angular/cli 18.2.0-rc.0 → 19.0.0-next.0
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": "
|
|
3
|
+
"version": "19.0.0-next.0",
|
|
4
4
|
"description": "CLI tool for Angular",
|
|
5
5
|
"main": "lib/cli/index.js",
|
|
6
6
|
"bin": {
|
|
@@ -25,12 +25,12 @@
|
|
|
25
25
|
},
|
|
26
26
|
"homepage": "https://github.com/angular/angular-cli",
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@angular-devkit/architect": "0.
|
|
29
|
-
"@angular-devkit/core": "
|
|
30
|
-
"@angular-devkit/schematics": "
|
|
28
|
+
"@angular-devkit/architect": "0.1900.0-next.0",
|
|
29
|
+
"@angular-devkit/core": "19.0.0-next.0",
|
|
30
|
+
"@angular-devkit/schematics": "19.0.0-next.0",
|
|
31
31
|
"@inquirer/prompts": "5.3.8",
|
|
32
32
|
"@listr2/prompt-adapter-inquirer": "2.0.15",
|
|
33
|
-
"@schematics/angular": "
|
|
33
|
+
"@schematics/angular": "19.0.0-next.0",
|
|
34
34
|
"@yarnpkg/lockfile": "1.1.0",
|
|
35
35
|
"ini": "4.1.3",
|
|
36
36
|
"jsonc-parser": "3.3.1",
|
|
@@ -46,14 +46,14 @@
|
|
|
46
46
|
"ng-update": {
|
|
47
47
|
"migrations": "@schematics/angular/migrations/migration-collection.json",
|
|
48
48
|
"packageGroup": {
|
|
49
|
-
"@angular/cli": "
|
|
50
|
-
"@angular/build": "
|
|
51
|
-
"@angular/ssr": "
|
|
52
|
-
"@angular-devkit/architect": "0.
|
|
53
|
-
"@angular-devkit/build-angular": "
|
|
54
|
-
"@angular-devkit/build-webpack": "0.
|
|
55
|
-
"@angular-devkit/core": "
|
|
56
|
-
"@angular-devkit/schematics": "
|
|
49
|
+
"@angular/cli": "19.0.0-next.0",
|
|
50
|
+
"@angular/build": "19.0.0-next.0",
|
|
51
|
+
"@angular/ssr": "19.0.0-next.0",
|
|
52
|
+
"@angular-devkit/architect": "0.1900.0-next.0",
|
|
53
|
+
"@angular-devkit/build-angular": "19.0.0-next.0",
|
|
54
|
+
"@angular-devkit/build-webpack": "0.1900.0-next.0",
|
|
55
|
+
"@angular-devkit/core": "19.0.0-next.0",
|
|
56
|
+
"@angular-devkit/schematics": "19.0.0-next.0"
|
|
57
57
|
}
|
|
58
58
|
},
|
|
59
59
|
"packageManager": "yarn@4.4.0",
|
|
@@ -208,6 +208,12 @@ let SchematicsCommandModule = (() => {
|
|
|
208
208
|
}
|
|
209
209
|
answers[definition.id] = await (definition.multiselect ? prompts.checkbox : prompts.select)({
|
|
210
210
|
message: definition.message,
|
|
211
|
+
validate: (values) => {
|
|
212
|
+
if (!definition.validator) {
|
|
213
|
+
return true;
|
|
214
|
+
}
|
|
215
|
+
return definition.validator(Object.values(values).map(({ value }) => value));
|
|
216
|
+
},
|
|
211
217
|
default: definition.default,
|
|
212
218
|
choices: definition.items?.map((item) => typeof item == 'string'
|
|
213
219
|
? {
|
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('
|
|
28
|
+
// export const VERSION = new Version('19.0.0-next.0');
|
|
29
29
|
exports.VERSION = new Version(JSON.parse((0, fs_1.readFileSync)((0, path_1.resolve)(__dirname, '../../package.json'), 'utf-8')).version);
|
package/src/typings-bazel.d.ts
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright Google LLC All Rights Reserved.
|
|
4
|
-
*
|
|
5
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
6
|
-
* found in the LICENSE file at https://angular.dev/license
|
|
7
|
-
*/
|
|
8
|
-
|
|
9
|
-
/* eslint-disable import/no-extraneous-dependencies */
|
|
10
|
-
// Workaround for https://github.com/bazelbuild/rules_nodejs/issues/1033
|
|
11
|
-
// Alternative approach instead of https://github.com/angular/angular/pull/33226
|
|
12
|
-
declare module '@yarnpkg/lockfile' {
|
|
13
|
-
export * from '@types/yarnpkg__lockfile';
|
|
14
|
-
}
|