Skip to content

Commit ed92841

Browse files
committed
fix(@angular/cli): add Node.js 24 as supported version
Node.js 24 has been released https://nodejs.org/en/about/previous-releases
1 parent e29c6a2 commit ed92841

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

constants.bzl

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Engine versions to stamp in a release package.json
2-
RELEASE_ENGINES_NODE = "^20.11.1 || >=22.11.0"
2+
RELEASE_ENGINES_NODE = "^20.11.1 || ^22.11.0 || >=24.0.0"
33
RELEASE_ENGINES_NPM = "^6.11.0 || ^7.5.6 || >=8.0.0"
44
RELEASE_ENGINES_YARN = ">= 1.13.0"
55

packages/angular/cli/src/commands/version/cli.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ interface PartialPackageInfo {
2323
/**
2424
* Major versions of Node.js that are officially supported by Angular.
2525
*/
26-
const SUPPORTED_NODE_MAJORS = [20, 22];
26+
const SUPPORTED_NODE_MAJORS = [20, 22, 24];
2727

2828
const PACKAGE_PATTERNS = [
2929
/^@angular\/.*/,

0 commit comments

Comments
 (0)