Skip to content

Commit a502eb0

Browse files
feat: add vite 5 support (#21)
Co-authored-by: bluwy <[email protected]>
1 parent 8d00b66 commit a502eb0

File tree

4 files changed

+674
-527
lines changed

4 files changed

+674
-527
lines changed

.github/workflows/ci.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -10,17 +10,17 @@ jobs:
1010
test:
1111
runs-on: ubuntu-latest
1212
steps:
13-
- uses: actions/checkout@v2
13+
- uses: actions/checkout@v4
1414

1515
- name: Install pnpm
1616
uses: pnpm/action-setup@v2
1717
with:
18-
version: 7
18+
version: 8
1919

2020
- name: Set node version to 16
21-
uses: actions/setup-node@v2
21+
uses: actions/setup-node@v4
2222
with:
23-
node-version: 16
23+
node-version: 18
2424
cache: 'pnpm'
2525

2626
- run: pnpm install

.github/workflows/release-tag.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
runs-on: ubuntu-latest
1212
steps:
1313
- name: Checkout code
14-
uses: actions/checkout@master
14+
uses: actions/checkout@v4
1515
- name: Create Release for Tag
1616
id: release_tag
1717
uses: yyx990803/release-tag@master

package.json

+3-2
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
"engines": {
2727
"node": ">=14.6.0"
2828
},
29+
"packageManager": "[email protected]",
2930
"repository": {
3031
"type": "git",
3132
"url": "git+https://github.com/vitejs/vite-plugin-basic-ssl.git"
@@ -35,7 +36,7 @@
3536
},
3637
"homepage": "https://github.com/vitejs/vite-plugin-basic-ssl/#readme",
3738
"peerDependencies": {
38-
"vite": "^3.0.0 || ^4.0.0"
39+
"vite": "^3.0.0 || ^4.0.0 || ^5.0.0"
3940
},
4041
"devDependencies": {
4142
"@rollup/pluginutils": "^4.2.1",
@@ -55,7 +56,7 @@
5556
"slash": "^3.0.0",
5657
"source-map": "^0.6.1",
5758
"unbuild": "^0.7.4",
58-
"vite": "^4.0.0",
59+
"vite": "^5.0.0",
5960
"vitest": "^0.15.1",
6061
"node-forge": "^1.3.1"
6162
}

0 commit comments

Comments
 (0)