chore: Update all deps

This commit is contained in:
CharleeWa 2025-01-13 10:38:32 +08:00
parent 3728ae57b4
commit 577f57c99c
4 changed files with 1155 additions and 1083 deletions

View File

@ -2,7 +2,7 @@
"name": "vue3-vant-mobile",
"type": "module",
"version": "3.5.0",
"packageManager": "pnpm@9.15.1",
"packageManager": "pnpm@9.15.3",
"description": "An mobile web apps template based on the Vue 3 ecosystem",
"license": "MIT",
"scripts": {
@ -18,12 +18,12 @@
"typecheck": "vue-tsc --noEmit"
},
"dependencies": {
"@unhead/vue": "^1.11.14",
"@unhead/vue": "^1.11.15",
"@vant/touch-emulator": "^1.4.0",
"@vant/use": "^1.6.0",
"@vueuse/core": "^12.2.0",
"@vueuse/core": "^12.4.0",
"axios": "^1.7.9",
"echarts": "^5.5.1",
"echarts": "^5.6.0",
"lodash-es": "^4.17.21",
"nprogress": "^0.2.0",
"pinia": "^2.3.0",
@ -36,40 +36,40 @@
"vue-router": "^4.5.0"
},
"devDependencies": {
"@antfu/eslint-config": "3.12.1",
"@antfu/eslint-config": "3.14.0",
"@iconify-json/carbon": "^1.2.5",
"@intlify/unplugin-vue-i18n": "^6.0.2",
"@intlify/unplugin-vue-i18n": "^6.0.3",
"@types/lodash-es": "^4.17.12",
"@types/node": "^22.10.2",
"@types/node": "^22.10.5",
"@types/nprogress": "^0.2.3",
"@unocss/eslint-plugin": "0.65.3",
"@unocss/preset-rem-to-px": "0.65.3",
"@unocss/eslint-plugin": "65.4.0",
"@unocss/preset-rem-to-px": "65.4.0",
"@vant/auto-import-resolver": "^1.2.1",
"@vitejs/plugin-legacy": "^6.0.0",
"@vitejs/plugin-vue": "^5.2.1",
"autoprefixer": "^10.4.20",
"bumpp": "^9.9.2",
"bumpp": "^9.10.0",
"consola": "^3.3.3",
"cross-env": "^7.0.3",
"eslint": "^9.17.0",
"eslint-plugin-format": "^0.1.3",
"eslint": "^9.18.0",
"eslint-plugin-format": "^1.0.1",
"husky": "^9.1.7",
"less": "^4.2.1",
"mockjs": "^1.1.0",
"postcss-mobile-forever": "^4.3.1",
"rollup": "^4.29.1",
"postcss-mobile-forever": "^4.3.2",
"rollup": "^4.30.1",
"terser": "^5.37.0",
"typescript": "^5.7.2",
"unocss": "0.65.3",
"unplugin-auto-import": "^0.19.0",
"unplugin-vue-components": "^0.28.0",
"typescript": "^5.7.3",
"unocss": "65.4.0",
"unplugin-auto-import": "^19.0.0",
"unplugin-vue-components": "^28.0.0",
"unplugin-vue-router": "^0.10.9",
"vite": "^6.0.6",
"vite": "^6.0.7",
"vite-plugin-mock-dev-server": "^1.8.3",
"vite-plugin-pwa": "^0.21.1",
"vite-plugin-sitemap": "^0.7.1",
"vite-plugin-vconsole": "^2.1.1",
"vite-plugin-vue-devtools": "^7.6.8",
"vite-plugin-vue-devtools": "^7.7.0",
"vitest": "^2.1.8",
"vue-tsc": "^2.2.0"
},
@ -87,6 +87,6 @@
}
},
"resolutions": {
"vite": "^6.0.6"
"vite": "^6.0.7"
}
}

File diff suppressed because it is too large Load Diff

View File

@ -7,7 +7,7 @@ export interface AppStore {
const prefersDark
= window.matchMedia
&& window.matchMedia('(prefers-color-scheme: dark)').matches
&& window.matchMedia('(prefers-color-scheme: dark)').matches
const useAppStore = defineStore('app', () => {
const theme = prefersDark ? 'dark' : 'light'

View File

@ -69,6 +69,7 @@ declare global {
const onBeforeUpdate: typeof import('vue')['onBeforeUpdate']
const onClickOutside: typeof import('@vueuse/core')['onClickOutside']
const onDeactivated: typeof import('vue')['onDeactivated']
const onElementRemoval: typeof import('@vueuse/core')['onElementRemoval']
const onErrorCaptured: typeof import('vue')['onErrorCaptured']
const onKeyStroke: typeof import('@vueuse/core')['onKeyStroke']
const onLongPress: typeof import('@vueuse/core')['onLongPress']