Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/versions.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Versions of tools to use in CI.
PHP_VERSION=8.4
COMPOSER_VERSION=2.9.2
NODE_VERSION=22.19.0
NODE_VERSION=24.14.0
PNPM_VERSION=10.28.2

# Other useful version numbers.
Expand Down
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
22.19.0
24.14.0
12 changes: 10 additions & 2 deletions .pnpmfile.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -347,9 +347,17 @@ function fixPeerDeps( pkg ) {
// Outdated peer dependency because Gutenberg is still on node 20.
if (
pkg.name === '@wordpress/e2e-test-utils-playwright' &&
pkg.peerDependencies?.[ '@types/node' ]?.startsWith( '^20.' )
! pkg.peerDependencies?.[ '@types/node' ]?.includes( '^24.' )
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm surprised it's just these two. If it were more, I'd probably lean toward having an array and using includes.

) {
pkg.peerDependencies[ '@types/node' ] += ' || ^22.0.0';
pkg.peerDependencies[ '@types/node' ] += ' || ^24.0.0';
}

// Outdated dependency because Calypso is still on node 22.
if (
pkg.name === '@automattic/calypso-config' &&
! pkg.dependencies?.[ '@types/node' ]?.includes( '^24.' )
) {
pkg.dependencies[ '@types/node' ] += ' || ^24.0.0';
}

// Should be an optional peer dep, but isn't.
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
},
"packageManager": "pnpm@10.28.2",
"engines": {
"node": "^22.19.0",
"node": "^24.14.0",
"pnpm": "^10.28.2"
}
}
Loading
Loading