Skip to content

Commit 46ac00b

Browse files
committed
chore: update deps
1 parent d07894c commit 46ac00b

File tree

5 files changed

+2076
-1597
lines changed

5 files changed

+2076
-1597
lines changed

.vscode/settings.json

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,21 +5,22 @@
55

66
// Auto fix
77
"editor.codeActionsOnSave": {
8-
"source.fixAll": "explicit",
8+
"source.fixAll.eslint": "explicit",
99
"source.organizeImports": "never"
1010
},
1111

1212
// Silent the stylistic rules in you IDE, but still auto fix them
1313
"eslint.rules.customizations": [
14-
{ "rule": "style/*", "severity": "off" },
15-
{ "rule": "*-indent", "severity": "off" },
16-
{ "rule": "*-spacing", "severity": "off" },
17-
{ "rule": "*-spaces", "severity": "off" },
18-
{ "rule": "*-order", "severity": "off" },
19-
{ "rule": "*-dangle", "severity": "off" },
20-
{ "rule": "*-newline", "severity": "off" },
21-
{ "rule": "*quotes", "severity": "off" },
22-
{ "rule": "*semi", "severity": "off" }
14+
{ "rule": "style/*", "severity": "off", "fixable": true },
15+
{ "rule": "format/*", "severity": "off", "fixable": true },
16+
{ "rule": "*-indent", "severity": "off", "fixable": true },
17+
{ "rule": "*-spacing", "severity": "off", "fixable": true },
18+
{ "rule": "*-spaces", "severity": "off", "fixable": true },
19+
{ "rule": "*-order", "severity": "off", "fixable": true },
20+
{ "rule": "*-dangle", "severity": "off", "fixable": true },
21+
{ "rule": "*-newline", "severity": "off", "fixable": true },
22+
{ "rule": "*quotes", "severity": "off", "fixable": true },
23+
{ "rule": "*semi", "severity": "off", "fixable": true }
2324
],
2425

2526
// Enable eslint for all supported languages
@@ -39,6 +40,7 @@
3940
"gql",
4041
"graphql",
4142
"astro",
43+
"svelte",
4244
"css",
4345
"less",
4446
"scss",

eslint.config.js

Lines changed: 26 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,30 @@
11
import antfu from '@antfu/eslint-config'
22

3-
export default antfu({
4-
// enable UnoCSS support
5-
// https://unocss.dev/integrations/vscode
6-
unocss: true,
3+
export default antfu(
4+
{
5+
vue: true,
6+
typescript: true,
77

8-
formatters: {
9-
css: true,
10-
},
8+
// enable UnoCSS support
9+
// https://unocss.dev/integrations/vscode
10+
unocss: true,
11+
12+
formatters: {
13+
css: true,
14+
},
1115

12-
ignores: [
13-
'.github/**',
14-
'scripts/**',
15-
],
16-
})
16+
},
17+
{
18+
rules: {
19+
'perfectionist/sort-imports': 'off',
20+
'perfectionist/sort-exports': 'off',
21+
'perfectionist/sort-named-exports': 'off',
22+
},
23+
},
24+
{
25+
ignores: [
26+
'.github/**',
27+
'scripts/**',
28+
],
29+
},
30+
)

package.json

Lines changed: 32 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "vue3-vant-mobile",
33
"type": "module",
44
"version": "2.3.11",
5-
"packageManager": "pnpm@9.9.0",
5+
"packageManager": "pnpm@9.10.0",
66
"description": "Vue + Vite H5 Starter Template",
77
"license": "MIT",
88
"scripts": {
@@ -17,60 +17,60 @@
1717
"prepare": "husky"
1818
},
1919
"dependencies": {
20-
"@unhead/vue": "^1.9.16",
20+
"@unhead/vue": "^1.11.6",
2121
"@vant/touch-emulator": "^1.4.0",
2222
"@vant/use": "^1.6.0",
23-
"@vueuse/core": "^11.0.0",
24-
"axios": "^1.7.4",
23+
"@vueuse/core": "^11.1.0",
24+
"axios": "^1.7.7",
2525
"echarts": "^5.5.1",
2626
"lodash-es": "^4.17.21",
2727
"nprogress": "^0.2.0",
2828
"pinia": "^2.2.2",
29-
"pinia-plugin-persistedstate": "^3.2.1",
29+
"pinia-plugin-persistedstate": "^4.0.2",
3030
"resize-detector": "^0.3.0",
31-
"vant": "^4.9.4",
31+
"vant": "^4.9.6",
3232
"vconsole": "^3.15.1",
33-
"vue": "^3.4.38",
34-
"vue-i18n": "^9.13.1",
35-
"vue-router": "^4.4.3"
33+
"vue": "^3.5.6",
34+
"vue-i18n": "^10.0.1",
35+
"vue-router": "^4.4.5"
3636
},
3737
"devDependencies": {
38-
"@antfu/eslint-config": "2.26.0",
39-
"@iconify-json/carbon": "^1.1.37",
40-
"@intlify/unplugin-vue-i18n": "^4.0.0",
38+
"@antfu/eslint-config": "3.6.2",
39+
"@iconify-json/carbon": "^1.2.1",
40+
"@intlify/unplugin-vue-i18n": "^5.0.0",
4141
"@types/lodash-es": "^4.17.12",
42-
"@types/node": "^22.4.0",
42+
"@types/node": "^22.5.5",
4343
"@types/nprogress": "^0.2.3",
44-
"@unocss/eslint-plugin": "0.62.2",
45-
"@unocss/preset-rem-to-px": "0.62.2",
44+
"@unocss/eslint-plugin": "0.62.4",
45+
"@unocss/preset-rem-to-px": "0.62.4",
4646
"@vant/auto-import-resolver": "^1.2.1",
4747
"@vitejs/plugin-legacy": "^5.4.2",
48-
"@vitejs/plugin-vue": "^5.1.2",
48+
"@vitejs/plugin-vue": "^5.1.4",
4949
"autoprefixer": "^10.4.20",
50-
"bumpp": "^9.5.1",
50+
"bumpp": "^9.5.2",
5151
"consola": "^3.2.3",
5252
"cross-env": "^7.0.3",
53-
"eslint": "^9.9.0",
53+
"eslint": "^9.10.0",
5454
"eslint-plugin-format": "^0.1.2",
55-
"husky": "^9.1.4",
55+
"husky": "^9.1.6",
5656
"less": "^4.2.0",
5757
"mockjs": "^1.1.0",
58-
"postcss-mobile-forever": "^4.1.5",
59-
"rollup": "^4.21.0",
60-
"terser": "^5.31.6",
61-
"typescript": "^5.5.4",
62-
"unocss": "0.62.2",
63-
"unplugin-auto-import": "^0.18.2",
58+
"postcss-mobile-forever": "^4.1.6",
59+
"rollup": "^4.22.0",
60+
"terser": "^5.33.0",
61+
"typescript": "^5.6.2",
62+
"unocss": "0.62.4",
63+
"unplugin-auto-import": "^0.18.3",
6464
"unplugin-vue-components": "^0.27.4",
65-
"unplugin-vue-router": "^0.10.7",
66-
"vite": "^5.4.1",
67-
"vite-plugin-mock-dev-server": "^1.7.1",
68-
"vite-plugin-pwa": "^0.20.1",
65+
"unplugin-vue-router": "^0.10.8",
66+
"vite": "^5.4.6",
67+
"vite-plugin-mock-dev-server": "^1.7.2",
68+
"vite-plugin-pwa": "^0.20.5",
6969
"vite-plugin-sitemap": "^0.7.1",
7070
"vite-plugin-vconsole": "^2.1.1",
71-
"vite-plugin-vue-devtools": "^7.3.8",
72-
"vitest": "^2.0.5",
73-
"vue-tsc": "^2.0.29"
71+
"vite-plugin-vue-devtools": "^7.4.5",
72+
"vitest": "^2.1.1",
73+
"vue-tsc": "^2.1.6"
7474
},
7575
"pnpm": {
7676
"peerDependencyRules": {

0 commit comments

Comments
 (0)