chore: 更新依赖

This commit is contained in:
kailong321200875 2024-06-01 17:12:17 +08:00
parent 69c5500eeb
commit e0bc713f06
12 changed files with 42 additions and 43 deletions

View File

@ -4,6 +4,7 @@
"description": "一套基于vue3、element-plus、typesScript、vite4的后台集成方案。",
"author": "Archer <502431556@qq.com>",
"private": false,
"type": "module",
"scripts": {
"i": "pnpm install",
"dev": "pnpm vite --mode base",
@ -21,63 +22,63 @@
"lint:eslint": "eslint --fix --ext .js,.ts,.vue ./src",
"lint:format": "prettier --write --loglevel warn \"src/**/*.{js,ts,json,tsx,css,less,vue,html,md}\"",
"lint:style": "stylelint --fix \"**/*.{vue,less,postcss,css,scss}\" --cache --cache-location node_modules/.cache/stylelint/",
"lint:lint-staged": "lint-staged -c ./.husky/lintstagedrc.js",
"lint:lint-staged": "lint-staged -c ./.husky/lintstagedrc.cjs",
"prepare": "husky install",
"p": "plop",
"icon": "esno ./scripts/icon.ts"
},
"dependencies": {
"@iconify/iconify": "^3.1.1",
"@iconify/vue": "^4.1.1",
"@vueuse/core": "^10.9.0",
"@iconify/vue": "^4.1.2",
"@vueuse/core": "^10.10.0",
"@wangeditor/editor": "^5.1.23",
"@wangeditor/editor-for-vue": "^5.1.10",
"@zxcvbn-ts/core": "^3.0.4",
"animate.css": "^4.1.1",
"axios": "^1.6.8",
"cropperjs": "^1.6.1",
"dayjs": "^1.11.10",
"axios": "^1.7.2",
"cropperjs": "^1.6.2",
"dayjs": "^1.11.11",
"driver.js": "^1.3.1",
"echarts": "^5.5.0",
"echarts-wordcloud": "^2.1.0",
"element-plus": "2.6.1",
"element-plus": "2.7.4",
"lodash-es": "^4.17.21",
"mitt": "^3.0.1",
"nprogress": "^0.2.0",
"pinia": "^2.1.7",
"pinia-plugin-persistedstate": "^3.2.1",
"qrcode": "^1.5.3",
"qs": "^6.12.0",
"qs": "^6.12.1",
"url": "^0.11.3",
"vue": "3.4.21",
"vue-draggable-plus": "^0.3.5",
"vue-i18n": "9.10.2",
"vue": "3.4.27",
"vue-draggable-plus": "^0.5.0",
"vue-i18n": "9.13.1",
"vue-json-pretty": "^2.4.0",
"vue-router": "^4.3.0",
"vue-types": "^5.1.1",
"xgplayer": "^3.0.14",
"monaco-editor": "^0.48.0"
"vue-router": "^4.3.2",
"vue-types": "^5.1.2",
"xgplayer": "^3.0.18",
"monaco-editor": "^0.49.0"
},
"devDependencies": {
"@commitlint/cli": "^19.2.1",
"@commitlint/config-conventional": "^19.1.0",
"@iconify/json": "^2.2.194",
"@intlify/unplugin-vue-i18n": "^3.0.1",
"@commitlint/cli": "^19.3.0",
"@commitlint/config-conventional": "^19.2.2",
"@iconify/json": "^2.2.215",
"@intlify/unplugin-vue-i18n": "^4.0.0",
"@types/fs-extra": "^11.0.4",
"@types/inquirer": "^9.0.7",
"@types/lodash-es": "^4.17.12",
"@types/mockjs": "^1.0.10",
"@types/node": "^20.11.30",
"@types/node": "^20.13.0",
"@types/nprogress": "^0.2.3",
"@types/qrcode": "^1.5.5",
"@types/qs": "^6.9.14",
"@types/qs": "^6.9.15",
"@types/sortablejs": "^1.15.8",
"@typescript-eslint/eslint-plugin": "^7.3.1",
"@typescript-eslint/parser": "^7.3.1",
"@unocss/transformer-variant-group": "^0.58.6",
"@vitejs/plugin-legacy": "^5.3.2",
"@vitejs/plugin-vue": "^5.0.4",
"@vitejs/plugin-vue-jsx": "^3.1.0",
"@typescript-eslint/eslint-plugin": "^7.11.0",
"@typescript-eslint/parser": "^7.11.0",
"@unocss/transformer-variant-group": "^0.60.4",
"@vitejs/plugin-legacy": "^5.4.1",
"@vitejs/plugin-vue": "^5.0.5",
"@vitejs/plugin-vue-jsx": "^4.0.0",
"autoprefixer": "^10.4.19",
"chalk": "^5.3.0",
"consola": "^3.2.3",
@ -85,31 +86,31 @@
"eslint-config-prettier": "^9.1.0",
"eslint-define-config": "^2.1.0",
"eslint-plugin-prettier": "^5.1.3",
"eslint-plugin-vue": "^9.23.0",
"eslint-plugin-vue": "^9.26.0",
"esno": "^4.7.0",
"fs-extra": "^11.2.0",
"husky": "^9.0.11",
"inquirer": "^9.2.16",
"inquirer": "^9.2.23",
"less": "^4.2.0",
"lint-staged": "^15.2.2",
"lint-staged": "^15.2.5",
"mockjs": "^1.1.0",
"plop": "^4.0.1",
"postcss": "^8.4.38",
"postcss-html": "^1.6.0",
"postcss-html": "^1.7.0",
"postcss-less": "^6.0.0",
"prettier": "^3.2.5",
"rimraf": "^5.0.5",
"rollup": "^4.13.0",
"rimraf": "^5.0.7",
"rollup": "^4.18.0",
"rollup-plugin-visualizer": "^5.12.0",
"stylelint": "^16.2.1",
"stylelint": "^16.6.1",
"stylelint-config-html": "^1.1.0",
"stylelint-config-recommended": "^14.0.0",
"stylelint-config-standard": "^36.0.0",
"stylelint-order": "^6.0.4",
"terser": "^5.29.2",
"typescript": "5.4.3",
"unocss": "^0.58.6",
"vite": "5.2.2",
"terser": "^5.31.0",
"typescript": "5.4.5",
"unocss": "^0.60.4",
"vite": "5.2.12",
"vite-plugin-ejs": "^1.7.0",
"vite-plugin-eslint": "^1.8.1",
"vite-plugin-mock": "2.9.6",
@ -118,7 +119,7 @@
"vite-plugin-style-import": "2.0.0",
"vite-plugin-svg-icons": "^2.0.1",
"vite-plugin-url-copy": "^1.1.4",
"vue-tsc": "^2.0.7"
"vue-tsc": "^2.0.19"
},
"packageManager": "pnpm@8.1.0",
"engines": {

View File

@ -1,5 +1,5 @@
const viewGenerator = require('./plop/view/prompt.js')
const componentGenerator = require('./plop/component/prompt.js')
const viewGenerator = require('./plop/view/prompt.cjs')
const componentGenerator = require('./plop/component/prompt.cjs')
module.exports = function (plop) {
plop.setGenerator('view', viewGenerator)

View File

@ -46,7 +46,6 @@ export const usePermissionStore = defineStore('permission', {
if (type === 'server') {
// 模拟后端过滤菜单
routerMap = generateRoutesByServer(routers as AppCustomRouteRecordRaw[])
console.log(routerMap)
} else if (type === 'frontEnd') {
// 模拟前端过滤菜单
routerMap = generateRoutesByFrontEnd(cloneDeep(asyncRouterMap), routers as string[])

View File

@ -171,4 +171,3 @@ const tokenExpired = () => {
<BaseButton type="primary" @click="tokenExpired">token过期</BaseButton>
</ContentWrap>
</template>
@/axios