Skip to content

Commit 9c7cf2e

Browse files
feat: add Vite 7 to peer dep range (#171)
1 parent db40feb commit 9c7cf2e

File tree

7 files changed

+49
-29
lines changed

7 files changed

+49
-29
lines changed

.changeset/short-feet-own.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 7 to peer dep range

.github/actions/setup-repo/action.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ inputs:
99
runs:
1010
using: composite
1111
steps:
12-
- uses: pnpm/action-setup@v2
12+
- uses: pnpm/action-setup@v4
1313
- name: setup Node
14-
uses: actions/setup-node@v3
14+
uses: actions/setup-node@v4
1515
with:
1616
node-version: ${{ inputs.node-version }}
1717
cache: pnpm

.github/workflows/main.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,4 +65,6 @@ jobs:
6565
with:
6666
name: dist
6767
path: dist
68+
- if: matrix.node_version == '18.x'
69+
run: pnpm i -D vite@6.3.5 -w
6870
- run: pnpm run test

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,3 +76,4 @@ typings/
7676
.fusebox/
7777

7878
dist
79+
.idea

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
"homepage": "https://github.com/sapphi-red/vite-plugin-static-copy#readme",
3939
"sideEffects": false,
4040
"peerDependencies": {
41-
"vite": "^5.0.0 || ^6.0.0"
41+
"vite": "^5.0.0 || ^6.0.0 || ^7.0.0"
4242
},
4343
"devDependencies": {
4444
"@changesets/changelog-github": "^0.5.1",
@@ -59,7 +59,7 @@
5959
"tsdown": "^0.12.7",
6060
"typescript": "^5.8.3",
6161
"typescript-eslint": "^8.34.0",
62-
"vite": "^6.3.5",
62+
"vite": "^7.0.0",
6363
"vitest": "^3.2.3"
6464
},
6565
"dependencies": {

pnpm-lock.yaml

Lines changed: 36 additions & 24 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

test/fixtures/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"build:structured": "vite --config vite.structured.config.ts build"
1414
},
1515
"devDependencies": {
16-
"vite": "^6.3.5",
16+
"vite": "^7.0.0",
1717
"vite-plugin-static-copy": "workspace:*"
1818
}
1919
}

0 commit comments

Comments
 (0)