chore: Update all deps

This commit is contained in:
CharleeWa 2025-02-19 10:28:00 +08:00
parent 637360f8dc
commit dd4d5e83f0
4 changed files with 1299 additions and 1801 deletions

View File

@ -18,15 +18,15 @@
"typecheck": "vue-tsc --noEmit"
},
"dependencies": {
"@unhead/vue": "^1.11.18",
"@unhead/vue": "~1.11.19",
"@vant/touch-emulator": "^1.4.0",
"@vant/use": "^1.6.0",
"@vueuse/core": "^12.5.0",
"@vueuse/core": "^12.7.0",
"axios": "^1.7.9",
"echarts": "^5.6.0",
"lodash-es": "^4.17.21",
"nprogress": "^0.2.0",
"pinia": "^2.3.1",
"pinia": "^3.0.1",
"pinia-plugin-persistedstate": "^4.2.0",
"resize-detector": "^0.3.0",
"vant": "^4.9.17",
@ -36,54 +36,48 @@
"vue-router": "^4.5.0"
},
"devDependencies": {
"@antfu/eslint-config": "4.1.1",
"@iconify-json/carbon": "^1.2.6",
"@antfu/eslint-config": "4.3.0",
"@iconify-json/carbon": "^1.2.7",
"@intlify/unplugin-vue-i18n": "^6.0.3",
"@types/lodash-es": "^4.17.12",
"@types/node": "^22.13.1",
"@types/node": "^22.13.4",
"@types/nprogress": "^0.2.3",
"@unocss/eslint-plugin": "65.4.3",
"@unocss/preset-rem-to-px": "65.4.3",
"@unocss/eslint-plugin": "66.0.0",
"@unocss/preset-rem-to-px": "66.0.0",
"@vant/auto-import-resolver": "^1.2.1",
"@vitejs/plugin-legacy": "^6.0.1",
"@vitejs/plugin-vue": "^5.2.1",
"autoprefixer": "^10.4.20",
"bumpp": "^10.0.2",
"bumpp": "^10.0.3",
"consola": "^3.4.0",
"cross-env": "^7.0.3",
"eslint": "^9.20.0",
"eslint": "^9.20.1",
"eslint-plugin-format": "^1.0.1",
"husky": "^9.1.7",
"less": "^4.2.2",
"mockjs": "^1.1.0",
"postcss-mobile-forever": "^4.3.2",
"rollup": "^4.34.6",
"terser": "^5.38.1",
"postcss-mobile-forever": "^4.4.0",
"rollup": "^4.34.8",
"terser": "^5.39.0",
"typescript": "^5.7.3",
"unocss": "65.4.3",
"unplugin-auto-import": "^19.0.0",
"unplugin-vue-components": "^28.0.0",
"unocss": "66.0.0",
"unplugin-auto-import": "^19.1.0",
"unplugin-vue-components": "^28.2.0",
"unplugin-vue-router": "^0.11.2",
"vite": "^6.1.0",
"vite-plugin-mock-dev-server": "^1.8.4",
"vite-plugin-pwa": "^0.21.1",
"vite-plugin-sitemap": "^0.7.1",
"vite-plugin-vconsole": "^2.1.1",
"vite-plugin-vue-devtools": "^7.7.1",
"vitest": "^3.0.5",
"vue-tsc": "^2.2.0"
"vite-plugin-vue-devtools": "^7.7.2",
"vitest": "^3.0.6",
"vue-tsc": "^2.2.2"
},
"pnpm": {
"allowedDeprecatedVersions": {
"glob": "7.2.3",
"inflight": "1.0.6",
"sourcemap-codec": "1.4.8"
},
"peerDependencyRules": {
"allowedVersions": {
"@intlify/shared": "^11.x",
"vue-i18n": "^11.x"
}
}
},
"resolutions": {

File diff suppressed because it is too large Load Diff

View File

@ -1,6 +1,6 @@
const contrastColor = 'rgba(255, 255, 255, 0.65)'
const backgroundColor = 'transparent'
const axisCommon = function () {
function axisCommon() {
return {
axisLine: {
lineStyle: {

View File

@ -3,24 +3,18 @@ import {
presetAttributify,
presetIcons,
presetMini,
presetUno,
} from 'unocss'
import presetWind3 from '@unocss/preset-wind3'
// https://unocss.dev/presets/rem-to-px
import presetRemToPx from '@unocss/preset-rem-to-px'
// 刚使用unocss的朋友可以借助这个工具 https://to-unocss.netlify.app
export default defineConfig({
presets: [
presetUno,
presetWind3(),
presetAttributify,
presetIcons(),
// 为什么要用到这个插件?
// 模板使用 viewport 作为移动端适配方案unocss 默认单位为 rem
// 所以需要转成 px然后由 postcss 把 px 转成 vw/vh完成适配
presetRemToPx({
// 这里为什么要设置基础字体大小?看下面这篇文章
// https://juejin.cn/post/7262975395620618298
baseFontSize: 4,
}),
presetMini(),