feat!: bump minimum supported node.js version to 24.15.0 (#16540)

**BREAKING:** this bumps the minimum supported Node.js version from
18.20.2 to 24.15.0.

Additionally, this updates all `@types/node packages` to the latest 24.x
version. This should allow us to stop installing `tsx` by default in the
`payload` package, since Node now supports running TypeScript files
natively.
This commit is contained in:
Alessio Gravili
2026-05-08 09:07:36 -07:00
committed by GitHub
parent 87cfa51ee5
commit 81c0c4e2c4
43 changed files with 192 additions and 438 deletions
+2 -2
View File
@@ -56,7 +56,7 @@
"@playwright/test": "1.58.2",
"@swc-node/register": "1.10.9",
"@swc/cli": "0.6.0",
"@types/node": "22.19.9",
"@types/node": "24.12.3",
"@types/react": "19.2.14",
"@types/react-dom": "19.2.3",
"copyfiles": "2.4.1",
@@ -83,7 +83,7 @@
"payload": "^3.82.1"
},
"engines": {
"node": "^18.20.2 || >=20.9.0",
"node": ">=24.15.0",
"pnpm": "^9 || ^10"
},
"publishConfig": {