Skip to content

Commit a1c06c3

Browse files
committed
feat: upgrade to vite7
1 parent 47da38f commit a1c06c3

File tree

7 files changed

+798
-757
lines changed

7 files changed

+798
-757
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
- name: Set node
1616
uses: actions/setup-node@v3
1717
with:
18-
node-version: 18.x
18+
node-version: 20.x
1919

2020
- run: npx conventional-github-releaser -p angular
2121
env:

.node-version

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
20.19.0

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ An mobile web apps template based on the Vue 3 ecosystem.
118118

119119
## Try it now
120120

121-
> vue3-vant-mobile requires Node 18+
121+
> vue3-vant-mobile requires Node 20+
122122
123123
### GitHub Template
124124

README.zh-CN.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ An mobile web apps template based on the Vue 3 ecosystem.
118118

119119
## 现在可以试试
120120

121-
> vue3-vant-mobile 需要 Node 版本 18+
121+
> vue3-vant-mobile 需要 Node 版本 20+
122122
123123
### GitHub 模板
124124

netlify.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ publish = "dist"
44
command = "pnpm run build:pro"
55

66
[build.environment]
7-
NODE_VERSION = "18"
7+
NODE_VERSION = "20"
88

99
[[redirects]]
1010
from = "/*"

package.json

Lines changed: 24 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,12 @@
22
"name": "vue3-vant-mobile",
33
"type": "module",
44
"version": "3.10.2",
5-
"packageManager": "[email protected].1",
5+
"packageManager": "[email protected].3",
66
"description": "An mobile web apps template based on the Vue 3 ecosystem",
77
"license": "MIT",
8+
"engines": {
9+
"node": ">=20.19.0"
10+
},
811
"scripts": {
912
"dev": "cross-env MOCK_SERVER_PORT=8086 vite",
1013
"build:dev": "vue-tsc --noEmit && vite build --mode development",
@@ -18,11 +21,11 @@
1821
"prepare": "simple-git-hooks"
1922
},
2023
"dependencies": {
21-
"@unhead/vue": "2.0.10",
24+
"@unhead/vue": "2.0.11",
2225
"@vant/touch-emulator": "^1.4.0",
2326
"@vant/use": "^1.6.0",
24-
"@vueuse/core": "^13.3.0",
25-
"axios": "^1.9.0",
27+
"@vueuse/core": "^13.4.0",
28+
"axios": "^1.10.0",
2629
"echarts": "^5.6.0",
2730
"lodash-es": "^4.17.21",
2831
"nprogress": "^0.2.0",
@@ -31,48 +34,48 @@
3134
"resize-detector": "^0.3.0",
3235
"vant": "^4.9.20",
3336
"vconsole": "^3.15.1",
34-
"vue": "^3.5.16",
35-
"vue-i18n": "^11.1.5",
37+
"vue": "^3.5.17",
38+
"vue-i18n": "^11.1.7",
3639
"vue-router": "^4.5.1"
3740
},
3841
"devDependencies": {
39-
"@antfu/eslint-config": "4.14.1",
42+
"@antfu/eslint-config": "4.16.1",
4043
"@commitlint/cli": "^19.8.1",
4144
"@commitlint/config-conventional": "^19.8.1",
4245
"@commitlint/types": "^19.8.1",
43-
"@iconify-json/carbon": "^1.2.9",
46+
"@iconify-json/carbon": "^1.2.10",
4447
"@intlify/unplugin-vue-i18n": "^6.0.8",
4548
"@types/lodash-es": "^4.17.12",
46-
"@types/node": "^24.0.1",
49+
"@types/node": "^24.0.4",
4750
"@types/nprogress": "^0.2.3",
48-
"@unocss/eslint-config": "66.2.0",
51+
"@unocss/eslint-config": "66.2.3",
4952
"@vant/auto-import-resolver": "^1.3.0",
50-
"@vitejs/plugin-legacy": "^6.1.1",
51-
"@vitejs/plugin-vue": "^5.2.4",
53+
"@vitejs/plugin-legacy": "^7.0.0",
54+
"@vitejs/plugin-vue": "^6.0.0",
5255
"autoprefixer": "^10.4.21",
53-
"bumpp": "^10.1.1",
56+
"bumpp": "^10.2.0",
5457
"consola": "^3.4.2",
5558
"cross-env": "^7.0.3",
5659
"eslint": "^9.29.0",
5760
"eslint-plugin-format": "^1.0.1",
5861
"less": "^4.3.0",
59-
"lint-staged": "^16.1.0",
62+
"lint-staged": "^16.1.2",
6063
"mockjs": "^1.1.0",
6164
"postcss-mobile-forever": "^5.0.0",
62-
"rollup": "^4.43.0",
65+
"rollup": "^4.44.0",
6366
"simple-git-hooks": "^2.13.0",
64-
"terser": "^5.42.0",
67+
"terser": "^5.43.1",
6568
"typescript": "^5.8.3",
66-
"unocss": "66.2.0",
69+
"unocss": "66.2.3",
6770
"unplugin-auto-import": "^19.3.0",
6871
"unplugin-vue-components": "^28.7.0",
6972
"unplugin-vue-router": "^0.12.0",
70-
"vite": "^6.3.5",
71-
"vite-plugin-mock-dev-server": "^1.8.7",
73+
"vite": "^7.0.0",
74+
"vite-plugin-mock-dev-server": "^1.9.1",
7275
"vite-plugin-pwa": "^1.0.0",
7376
"vite-plugin-sitemap": "^0.8.2",
7477
"vite-plugin-vconsole": "^2.1.1",
75-
"vite-plugin-vue-devtools": "^7.7.6",
78+
"vite-plugin-vue-devtools": "^7.7.7",
7679
"vue-tsc": "^2.2.10"
7780
},
7881
"pnpm": {
@@ -94,7 +97,7 @@
9497
]
9598
},
9699
"resolutions": {
97-
"vite": "^6.3.5"
100+
"vite": "^7.0.0"
98101
},
99102
"simple-git-hooks": {
100103
"pre-commit": "pnpm lint-staged",

0 commit comments

Comments
 (0)