@angular/cli 17.0.0-rc.2 → 17.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/bin/ng.js
CHANGED
|
@@ -51,7 +51,7 @@ if (version[0] % 2 === 1) {
|
|
|
51
51
|
process.version +
|
|
52
52
|
' detected.\n' +
|
|
53
53
|
'Odd numbered Node.js versions will not enter LTS status and should not be used for production.' +
|
|
54
|
-
' For more information, please see https://nodejs.org/en/about/releases/.',
|
|
54
|
+
' For more information, please see https://nodejs.org/en/about/previous-releases/.',
|
|
55
55
|
);
|
|
56
56
|
|
|
57
57
|
require('./bootstrap');
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@angular/cli",
|
|
3
|
-
"version": "17.0.0-rc.
|
|
3
|
+
"version": "17.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.1700.0-rc.
|
|
29
|
-
"@angular-devkit/core": "17.0.0-rc.
|
|
30
|
-
"@angular-devkit/schematics": "17.0.0-rc.
|
|
31
|
-
"@schematics/angular": "17.0.0-rc.
|
|
28
|
+
"@angular-devkit/architect": "0.1700.0-rc.4",
|
|
29
|
+
"@angular-devkit/core": "17.0.0-rc.4",
|
|
30
|
+
"@angular-devkit/schematics": "17.0.0-rc.4",
|
|
31
|
+
"@schematics/angular": "17.0.0-rc.4",
|
|
32
32
|
"@yarnpkg/lockfile": "1.1.0",
|
|
33
33
|
"ansi-colors": "4.1.3",
|
|
34
34
|
"ini": "4.1.1",
|
|
@@ -47,17 +47,17 @@
|
|
|
47
47
|
"ng-update": {
|
|
48
48
|
"migrations": "@schematics/angular/migrations/migration-collection.json",
|
|
49
49
|
"packageGroup": {
|
|
50
|
-
"@angular/cli": "17.0.0-rc.
|
|
51
|
-
"@angular/ssr": "17.0.0-rc.
|
|
52
|
-
"@angular-devkit/architect": "0.1700.0-rc.
|
|
53
|
-
"@angular-devkit/build-angular": "17.0.0-rc.
|
|
54
|
-
"@angular-devkit/build-webpack": "0.1700.0-rc.
|
|
55
|
-
"@angular-devkit/core": "17.0.0-rc.
|
|
56
|
-
"@angular-devkit/schematics": "17.0.0-rc.
|
|
50
|
+
"@angular/cli": "17.0.0-rc.4",
|
|
51
|
+
"@angular/ssr": "17.0.0-rc.4",
|
|
52
|
+
"@angular-devkit/architect": "0.1700.0-rc.4",
|
|
53
|
+
"@angular-devkit/build-angular": "17.0.0-rc.4",
|
|
54
|
+
"@angular-devkit/build-webpack": "0.1700.0-rc.4",
|
|
55
|
+
"@angular-devkit/core": "17.0.0-rc.4",
|
|
56
|
+
"@angular-devkit/schematics": "17.0.0-rc.4"
|
|
57
57
|
}
|
|
58
58
|
},
|
|
59
59
|
"engines": {
|
|
60
|
-
"node": "
|
|
60
|
+
"node": "^18.13.0 || >=20.9.0",
|
|
61
61
|
"npm": "^6.11.0 || ^7.5.6 || >=8.0.0",
|
|
62
62
|
"yarn": ">= 1.13.0"
|
|
63
63
|
}
|
|
@@ -143,6 +143,7 @@ function _validateReversePeerDependencies(name, version, infoMap, logger, next)
|
|
|
143
143
|
'@schematics/update',
|
|
144
144
|
'@angular-devkit/build-ng-packagr',
|
|
145
145
|
'tsickle',
|
|
146
|
+
'@nguniversal/builders',
|
|
146
147
|
];
|
|
147
148
|
if (ignoredPackages.includes(installed)) {
|
|
148
149
|
continue;
|
|
@@ -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 = [18];
|
|
21
|
+
const SUPPORTED_NODE_MAJORS = [18, 20];
|
|
22
22
|
const PACKAGE_PATTERNS = [
|
|
23
23
|
/^@angular\/.*/,
|
|
24
24
|
/^@angular-devkit\/.*/,
|
|
@@ -8,6 +8,10 @@
|
|
|
8
8
|
*/
|
|
9
9
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
10
|
exports.loadEsmModule = void 0;
|
|
11
|
+
/**
|
|
12
|
+
* Lazily compiled dynamic import loader function.
|
|
13
|
+
*/
|
|
14
|
+
let load;
|
|
11
15
|
/**
|
|
12
16
|
* This uses a dynamic import to load a module which may be ESM.
|
|
13
17
|
* CommonJS code can load ESM code via a dynamic import. Unfortunately, TypeScript
|
|
@@ -21,6 +25,7 @@ exports.loadEsmModule = void 0;
|
|
|
21
25
|
* @returns A Promise that resolves to the dynamically imported module.
|
|
22
26
|
*/
|
|
23
27
|
function loadEsmModule(modulePath) {
|
|
24
|
-
|
|
28
|
+
load ??= new Function('modulePath', `return import(modulePath);`);
|
|
29
|
+
return load(modulePath);
|
|
25
30
|
}
|
|
26
31
|
exports.loadEsmModule = loadEsmModule;
|
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('17.0.0-rc.
|
|
28
|
+
// export const VERSION = new Version('17.0.0-rc.4');
|
|
29
29
|
exports.VERSION = new Version(JSON.parse((0, fs_1.readFileSync)((0, path_1.resolve)(__dirname, '../../package.json'), 'utf-8')).version);
|