chore: 更新依赖

This commit is contained in:
Hooray Hu 2023-04-22 02:19:54 +08:00
parent 11e68df11b
commit fab8f2cfdb
6 changed files with 682 additions and 425 deletions

View File

@ -18,9 +18,9 @@
"release": "bumpp"
},
"dependencies": {
"@vueuse/core": "^9.13.0",
"@vueuse/integrations": "^9.13.0",
"axios": "^1.3.5",
"@vueuse/core": "^10.0.2",
"@vueuse/integrations": "^10.0.2",
"axios": "^1.3.6",
"dayjs": "^1.11.7",
"element-plus": "^2.3.3",
"eruda": "^3.0.0",
@ -31,14 +31,14 @@
"nprogress": "^0.2.0",
"path-browserify": "^1.0.1",
"path-to-regexp": "^6.2.1",
"pinia": "^2.0.34",
"pinia": "^2.0.35",
"qs": "^6.11.1",
"vconsole": "^3.15.0",
"vue": "^3.2.47",
"vue-router": "^4.1.6"
},
"devDependencies": {
"@antfu/eslint-config": "^0.38.4",
"@antfu/eslint-config": "^0.38.5",
"@iconify-json/ep": "^1.1.10",
"@iconify/vue": "^4.1.1",
"@types/nprogress": "^0.2.0",
@ -59,28 +59,28 @@
"postcss-html": "^1.5.0",
"sass": "^1.62.0",
"simple-git-hooks": "^2.8.1",
"stylelint": "^15.4.0",
"stylelint-config-standard": "^32.0.0",
"stylelint": "^15.5.0",
"stylelint-config-standard": "^33.0.0",
"stylelint-config-standard-scss": "^8.0.0",
"stylelint-config-standard-vue": "^1.0.0",
"stylelint-scss": "^4.6.0",
"stylelint-stylistic": "^0.4.0",
"svgo": "^3.0.2",
"terser": "^5.16.9",
"terser": "^5.17.1",
"typescript": "^5.0.4",
"unplugin-auto-import": "^0.15.2",
"unplugin-auto-import": "^0.15.3",
"unplugin-vue-components": "^0.24.1",
"unplugin-vue-setup-extend-plus": "^1.0.0",
"vite": "^4.2.1",
"vite": "^4.3.1",
"vite-plugin-banner": "^0.7.0",
"vite-plugin-compression": "^0.5.1",
"vite-plugin-mock": "^2.9.6",
"vite-plugin-mock": "^2.9.8",
"vite-plugin-pages": "^0.29.0",
"vite-plugin-spritesmith": "^0.1.1",
"vite-plugin-svg-icons": "^2.0.1",
"vite-plugin-vue-inspector": "^3.4.0",
"vite-plugin-vue-meta-layouts": "^0.2.2",
"vue-tsc": "^1.2.0"
"vue-tsc": "^1.4.2"
},
"simple-git-hooks": {
"pre-commit": "pnpm lint-staged",

File diff suppressed because it is too large Load Diff

View File

@ -1,4 +1,5 @@
import axios from 'axios'
// import qs from 'qs'
import { ElMessage } from 'element-plus'
import router from '@/router/index'

View File

@ -7,10 +7,13 @@ import useSettingsStore from './store/modules/settings'
// 自定义指令
import directive from '@/utils/directive'
// 加载 svg 图标
import 'virtual:svg-icons-register'
// 全局样式
import '@/assets/styles/globals.scss'
// 加载 iconify 图标element plus
import { downloadAndInstall } from '@/iconify-ep'

View File

@ -2,6 +2,7 @@ import { createRouter, createWebHashHistory } from 'vue-router'
import type { RouteRecordRaw } from 'vue-router'
import { useNProgress } from '@vueuse/integrations/useNProgress'
import '@/assets/styles/nprogress.scss'
// 路由相关数据
import { asyncRoutes, asyncRoutesByFilesystem, constantRoutes, constantRoutesByFilesystem } from './routes'
import pinia from '@/store'

View File

@ -11,9 +11,7 @@ declare module '@vue/runtime-core' {
export interface GlobalComponents {
Auth: typeof import('./../components/Auth/index.vue')['default']
AuthAll: typeof import('./../components/AuthAll/index.vue')['default']
BatchActionBar: typeof import('./../components/BatchActionBar/index.vue')['default']
Copyright: typeof import('./../components/Copyright/index.vue')['default']
Editor: typeof import('./../components/Editor/index.vue')['default']
FileUpload: typeof import('./../components/FileUpload/index.vue')['default']
FixedActionBar: typeof import('./../components/FixedActionBar/index.vue')['default']
ImagePreview: typeof import('./../components/ImagePreview/index.vue')['default']