@angular/cli 19.2.0 → 20.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/bin/ng.js
CHANGED
|
@@ -55,13 +55,13 @@ if (version[0] % 2 === 1) {
|
|
|
55
55
|
);
|
|
56
56
|
|
|
57
57
|
require('./bootstrap');
|
|
58
|
-
} else if (version[0] <
|
|
59
|
-
// Error and exit if less than
|
|
58
|
+
} else if (version[0] < 20 || (version[0] === 20 && version[1] < 11)) {
|
|
59
|
+
// Error and exit if less than 20.11
|
|
60
60
|
console.error(
|
|
61
61
|
'Node.js version ' +
|
|
62
62
|
process.version +
|
|
63
63
|
' detected.\n' +
|
|
64
|
-
'The Angular CLI requires a minimum Node.js version of
|
|
64
|
+
'The Angular CLI requires a minimum Node.js version of v20.11.\n\n' +
|
|
65
65
|
'Please update your Node.js version or visit https://nodejs.org/ for additional instructions.\n',
|
|
66
66
|
);
|
|
67
67
|
|
package/lib/cli/index.js
CHANGED
|
@@ -18,7 +18,7 @@ const environment_options_1 = require("../../src/utilities/environment-options")
|
|
|
18
18
|
const log_file_1 = require("../../src/utilities/log-file");
|
|
19
19
|
var version_1 = require("../../src/utilities/version");
|
|
20
20
|
Object.defineProperty(exports, "VERSION", { enumerable: true, get: function () { return version_1.VERSION; } });
|
|
21
|
-
const MIN_NODEJS_VERSION = [
|
|
21
|
+
const MIN_NODEJS_VERSION = [20, 11];
|
|
22
22
|
/* eslint-disable no-console */
|
|
23
23
|
async function default_1(options) {
|
|
24
24
|
// This node version check ensures that the requirements of the project instance of the CLI are met
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@angular/cli",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "20.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.2000.0-next.0",
|
|
29
|
+
"@angular-devkit/core": "20.0.0-next.0",
|
|
30
|
+
"@angular-devkit/schematics": "20.0.0-next.0",
|
|
31
31
|
"@inquirer/prompts": "7.3.2",
|
|
32
32
|
"@listr2/prompt-adapter-inquirer": "2.0.18",
|
|
33
|
-
"@schematics/angular": "
|
|
33
|
+
"@schematics/angular": "20.0.0-next.0",
|
|
34
34
|
"@yarnpkg/lockfile": "1.1.0",
|
|
35
35
|
"ini": "5.0.0",
|
|
36
36
|
"jsonc-parser": "3.3.1",
|
|
@@ -46,18 +46,18 @@
|
|
|
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": "20.0.0-next.0",
|
|
50
|
+
"@angular/build": "20.0.0-next.0",
|
|
51
|
+
"@angular/ssr": "20.0.0-next.0",
|
|
52
|
+
"@angular-devkit/architect": "0.2000.0-next.0",
|
|
53
|
+
"@angular-devkit/build-angular": "20.0.0-next.0",
|
|
54
|
+
"@angular-devkit/build-webpack": "0.2000.0-next.0",
|
|
55
|
+
"@angular-devkit/core": "20.0.0-next.0",
|
|
56
|
+
"@angular-devkit/schematics": "20.0.0-next.0"
|
|
57
57
|
}
|
|
58
58
|
},
|
|
59
59
|
"engines": {
|
|
60
|
-
"node": "^
|
|
60
|
+
"node": "^20.11.1 || >=22.0.0",
|
|
61
61
|
"npm": "^6.11.0 || ^7.5.6 || >=8.0.0",
|
|
62
62
|
"yarn": ">= 1.13.0"
|
|
63
63
|
}
|
|
@@ -18,7 +18,7 @@ const command_config_1 = require("../command-config");
|
|
|
18
18
|
/**
|
|
19
19
|
* Major versions of Node.js that are officially supported by Angular.
|
|
20
20
|
*/
|
|
21
|
-
const SUPPORTED_NODE_MAJORS = [
|
|
21
|
+
const SUPPORTED_NODE_MAJORS = [20, 22];
|
|
22
22
|
const PACKAGE_PATTERNS = [
|
|
23
23
|
/^@angular\/.*/,
|
|
24
24
|
/^@angular-devkit\/.*/,
|
package/src/utilities/version.js
CHANGED