Skip to content

Commit 95295f7

Browse files
authored
Update Node.js engine version to 22.x in Preact and Vue boilerplates (#1242)
### Description Fixes an issue with deprecated templates due to Node 18. <img width="1765" height="283" alt="image" src="https://github.com/user-attachments/assets/80dde585-1cd5-4a2f-8317-7c46a09a9cb6" /> ### Demo URL <!-- Provide a URL to a live deployment where we can test your PR. If a demo isn't possible feel free to omit this section. --> ### Type of Change - [ ] New Example - [x] Example updates (Bug fixes, new features, etc.) - [ ] Other (changes to the codebase, but not to examples) ### New Example Checklist - [ ] 🛫 `npm run new-example` was used to create the example - [ ] 📚 The template wasn't used but I carefuly read the [Adding a new example](https://github.com/vercel/examples#adding-a-new-example) steps and implemented them in the example - [ ] 📱 Is it responsive? Are mobile and tablets considered?
1 parent b57e429 commit 95295f7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

framework-boilerplates/preact/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"test": "jest"
99
},
1010
"engines": {
11-
"node": "18.x"
11+
"node": "22.x"
1212
},
1313
"eslintConfig": {
1414
"extends": "preact",

framework-boilerplates/vue/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"lint": "vue-cli-service lint"
77
},
88
"engines": {
9-
"node": "18.x"
9+
"node": "22.x"
1010
},
1111
"dependencies": {
1212
"core-js": "^3.30.2",

0 commit comments

Comments
 (0)