Skip to content

Commit 16ab827

Browse files
committed
refactor!: bump required node version to 20.19+, 22.12+
1 parent de18693 commit 16ab827

File tree

5 files changed

+9
-9
lines changed

5 files changed

+9
-9
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,13 +37,13 @@ jobs:
3737
strategy:
3838
matrix:
3939
os: [ubuntu-latest]
40-
node_version: [18, 20]
40+
node_version: [20, 22, 24]
4141
include:
4242
# Active LTS + other OS
4343
- os: macos-latest
44-
node_version: 20
44+
node_version: 22
4545
- os: windows-latest
46-
node_version: 20
46+
node_version: 22
4747
fail-fast: false
4848

4949
name: "Build&Test: node-${{ matrix.node_version }}, ${{ matrix.os }}"

eslint.config.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -120,13 +120,13 @@ export default tseslint.config(
120120
'n/no-unsupported-features/es-builtins': [
121121
'error',
122122
{
123-
version: '^18.0.0 || >=20.0.0',
123+
version: '^20.19.0 || >=22.12.0',
124124
},
125125
],
126126
'n/no-unsupported-features/node-builtins': [
127127
'error',
128128
{
129-
version: '^18.0.0 || >=20.0.0',
129+
version: '^20.19.0 || >=22.12.0',
130130
},
131131
],
132132
'@typescript-eslint/explicit-module-boundary-types': 'off',
@@ -150,7 +150,7 @@ export default tseslint.config(
150150
'n/no-unsupported-features/node-builtins': [
151151
'error',
152152
{
153-
version: '^18.0.0 || >=20.0.0',
153+
version: '^20.19.0 || >=22.12.0',
154154
allowExperimental: true,
155155
},
156156
],

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"private": true,
44
"type": "module",
55
"engines": {
6-
"node": "^18.0.0 || >=20.0.0"
6+
"node": "^20.19.0 || >=22.12.0"
77
},
88
"homepage": "https://github.com/vitejs/vite-plugin-vue/",
99
"repository": {

packages/plugin-vue-jsx/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
"prepublishOnly": "npm run build"
2424
},
2525
"engines": {
26-
"node": "^18.0.0 || >=20.0.0"
26+
"node": "^20.19.0 || >=22.12.0"
2727
},
2828
"repository": {
2929
"type": "git",

packages/plugin-vue/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
"prepublishOnly": "npm run build"
2424
},
2525
"engines": {
26-
"node": "^18.0.0 || >=20.0.0"
26+
"node": "^20.19.0 || >=22.12.0"
2727
},
2828
"repository": {
2929
"type": "git",

0 commit comments

Comments
 (0)