Skip to content

Commit 3074e1a

Browse files
authored
feat: add Vite 8 to peer dep range (#230)
1 parent 678e937 commit 3074e1a

6 files changed

Lines changed: 179 additions & 251 deletions

File tree

.changeset/silver-bugs-yawn.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'vite-plugin-static-copy': minor
3+
---
4+
5+
Add Vite 8 to peer dependency range.

.github/workflows/main.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,5 +67,8 @@ jobs:
6767
name: dist
6868
path: dist
6969
- if: matrix.node_version == '18.x'
70-
run: pnpm i -D vite@6.3.5 -w
70+
run: |
71+
yq -i '.overrides.vite = "^6.3.5"' pnpm-workspace.yaml
72+
yq -i '.overrides["vitest"] = "^4.0.18"' pnpm-workspace.yaml
73+
pnpm install --no-frozen-lockfile
7174
- run: pnpm run test

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
},
4343
"sideEffects": false,
4444
"peerDependencies": {
45-
"vite": "^5.0.0 || ^6.0.0 || ^7.0.0"
45+
"vite": "^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0"
4646
},
4747
"devDependencies": {
4848
"@changesets/changelog-github": "^0.6.0",
@@ -61,7 +61,7 @@
6161
"tsdown": "^0.21.2",
6262
"typescript": "^5.9.3",
6363
"typescript-eslint": "^8.57.0",
64-
"vite": "^7.3.1",
64+
"vite": "^8.0.0",
6565
"vitest": "^4.1.0"
6666
},
6767
"dependencies": {

0 commit comments

Comments
 (0)