Skip to content

Commit b873683

Browse files
committed
ENG-219: Target Node 20 instead of Node 24
Node 20 strikes a better balance for compatibility. It's the version used by WordPress's Gutenberg project and is currently the default on GitHub-hosted runners, so users with strict engine checking enabled in .npmrc should be able to install without issues.
1 parent 1c9f3aa commit b873683

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
24
1+
20

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
},
88
"type": "module",
99
"engines": {
10-
"node": ">=24"
10+
"node": ">=20"
1111
},
1212
"files": [
1313
"dist/",

tsdown.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { defineConfig } from 'tsdown';
33
export default defineConfig({
44
entry: ['src/cli.ts'],
55
format: ['esm'],
6-
target: 'node24',
6+
target: 'node20',
77
outDir: 'dist',
88
fixedExtension: false,
99
sourcemap: true,

0 commit comments

Comments
 (0)