Skip to content

Commit a126b02

Browse files
committed
chore(e2e): align vite 7 peer deps in react-vite and vue-vite templates
vite 7 declares peerOptional @types/node "^20.19.0 || >=22.12.0", which the react-vite template's ^18.19.33 pin fails under npm's strict resolution (pkglab uses npm internally). Bumps that template's @types/node to ^22.12.0. vue-vite was on @vitejs/plugin-vue ^5.1.4, which only supports vite 5/6. Bumps it to ^6.0.0 for vite 7 support.
1 parent 4818414 commit a126b02

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

integration/templates/react-vite/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"react-router-dom": "^6.14.1"
1616
},
1717
"devDependencies": {
18-
"@types/node": "^18.19.33",
18+
"@types/node": "^22.12.0",
1919
"@types/react": "18.3.12",
2020
"@types/react-dom": "18.3.1",
2121
"@typescript-eslint/eslint-plugin": "^5.59.0",

integration/templates/vue-vite/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"vue-router": "^4.4.5"
1414
},
1515
"devDependencies": {
16-
"@vitejs/plugin-vue": "^5.1.4",
16+
"@vitejs/plugin-vue": "^6.0.0",
1717
"typescript": "~5.7.3",
1818
"vite": "^7.3.3",
1919
"vue-tsc": "^2.1.8"

0 commit comments

Comments
 (0)