chore: update deps

pull/48/MERGE
vben 2024-08-01 20:50:45 +08:00
parent 407534bd8c
commit 4236e9cb87
22 changed files with 251 additions and 94 deletions

3
.npmrc
View File

@ -1,10 +1,11 @@
registry = "https://registry.npmmirror.com"
# registry = "https://registry.npmmirror.com"
public-hoist-pattern[]=husky
public-hoist-pattern[]=eslint
public-hoist-pattern[]=prettier
public-hoist-pattern[]=prettier-plugin-tailwindcss
public-hoist-pattern[]=lint-staged
public-hoist-pattern[]=stylelint
public-hoist-pattern[]=*postcss*
public-hoist-pattern[]=@commitlint/*
public-hoist-pattern[]=czg

View File

@ -7,7 +7,7 @@ VITE_GLOB_API_URL=https://mock-napi.vben.pro/api
VITE_COMPRESS=none
# 是否开启 PWA
VITE_PWA=true
VITE_PWA=false
# vue-router 的模式
VITE_ROUTER_HISTORY=hash

View File

@ -45,6 +45,6 @@
"dayjs": "^1.11.12",
"pinia": "2.1.7",
"vue": "^3.4.35",
"vue-router": "^4.4.1"
"vue-router": "^4.4.2"
}
}

View File

@ -7,7 +7,7 @@ VITE_GLOB_API_URL=https://mock-napi.vben.pro/api
VITE_COMPRESS=none
# 是否开启 PWA
VITE_PWA=true
VITE_PWA=false
# vue-router 的模式
VITE_ROUTER_HISTORY=hash

View File

@ -45,7 +45,7 @@
"element-plus": "^2.7.8",
"pinia": "2.1.7",
"vue": "^3.4.35",
"vue-router": "^4.4.1"
"vue-router": "^4.4.2"
},
"devDependencies": {
"unplugin-element-plus": "^0.8.0"

View File

@ -7,7 +7,7 @@ VITE_GLOB_API_URL=https://mock-napi.vben.pro/api
VITE_COMPRESS=none
# 是否开启 PWA
VITE_PWA=true
VITE_PWA=false
# vue-router 的模式
VITE_ROUTER_HISTORY=hash

View File

@ -44,6 +44,6 @@
"naive-ui": "^2.39.0",
"pinia": "2.1.7",
"vue": "^3.4.35",
"vue-router": "^4.4.1"
"vue-router": "^4.4.2"
}
}

View File

@ -50,7 +50,7 @@
"eslint-plugin-unused-imports": "^4.0.1",
"eslint-plugin-vitest": "^0.5.4",
"eslint-plugin-vue": "^9.27.0",
"globals": "^15.8.0",
"globals": "^15.9.0",
"jsonc-eslint-parser": "^2.4.0",
"vue-eslint-parser": "^9.4.3"
}

View File

@ -46,7 +46,7 @@
"tailwindcss": "^3.4.3"
},
"dependencies": {
"@iconify/json": "^2.2.232",
"@iconify/json": "^2.2.233",
"@iconify/tailwind": "^1.1.2",
"@tailwindcss/nesting": "0.0.0-insiders.565cd3e",
"@tailwindcss/typography": "^0.5.13",

View File

@ -45,7 +45,7 @@
"@vitejs/plugin-vue-jsx": "^4.0.0",
"dayjs": "^1.11.12",
"dotenv": "^16.4.5",
"rollup": "^4.19.1",
"rollup": "^4.19.2",
"rollup-plugin-visualizer": "^5.12.0",
"sass": "^1.77.8",
"vite": "^5.3.5",

View File

@ -26,7 +26,7 @@
"type": "module",
"scripts": {
"bootstrap": "pnpm install",
"build": "cross-env NODE_OPTIONS=--max-old-space-size=8192 turbo build",
"build": "cross-env TURBO_UI=1 NODE_OPTIONS=--max-old-space-size=8192 turbo build",
"build:analyze": "turbo build:analyze",
"build:docker": "./build-local-docker-image.sh",
"changeset": "pnpm exec changeset",
@ -78,6 +78,7 @@
"is-ci": "^3.0.1",
"jsdom": "^24.1.1",
"rimraf": "^6.0.1",
"tailwindcss": "^3.4.7",
"turbo": "^2.0.11",
"typescript": "^5.5.4",
"unbuild": "^2.0.0",

View File

@ -39,6 +39,6 @@
},
"dependencies": {
"vue": "^3.4.35",
"vue-router": "^4.4.1"
"vue-router": "^4.4.2"
}
}

View File

@ -29,7 +29,7 @@
"@vueuse/integrations": "^10.11.0",
"qrcode": "^1.5.3",
"vue": "^3.4.35",
"vue-router": "^4.4.1"
"vue-router": "^4.4.2"
},
"devDependencies": {
"@types/qrcode": "^1.5.5"

View File

@ -26,7 +26,7 @@
"@vben/types": "workspace:*",
"@vben/utils": "workspace:*",
"vue": "^3.4.35",
"vue-router": "^4.4.1",
"vue-router": "^4.4.2",
"watermark-js-plus": "^1.5.2"
}
}

View File

@ -34,6 +34,6 @@
"@vben/utils": "workspace:*",
"@vueuse/core": "^10.11.0",
"vue": "^3.4.35",
"vue-router": "^4.4.1"
"vue-router": "^4.4.2"
}
}

View File

@ -25,6 +25,6 @@
"pinia": "2.1.7",
"pinia-plugin-persistedstate": "^3.2.1",
"vue": "^3.4.35",
"vue-router": "^4.4.1"
"vue-router": "^4.4.2"
}
}

View File

@ -22,6 +22,6 @@
"dependencies": {
"@vben-core/typings": "workspace:*",
"vue": "^3.4.35",
"vue-router": "^4.4.1"
"vue-router": "^4.4.2"
}
}

View File

@ -24,6 +24,6 @@
"dependencies": {
"@vben-core/shared": "workspace:*",
"@vben-core/typings": "workspace:*",
"vue-router": "^4.4.1"
"vue-router": "^4.4.2"
}
}

View File

@ -82,6 +82,9 @@ importers:
rimraf:
specifier: ^6.0.1
version: 6.0.1
tailwindcss:
specifier: ^3.4.7
version: 3.4.7
turbo:
specifier: ^2.0.11
version: 2.0.11
@ -167,8 +170,8 @@ importers:
specifier: ^3.4.35
version: 3.4.35(typescript@5.5.4)
vue-router:
specifier: ^4.4.1
version: 4.4.1(vue@3.4.35(typescript@5.5.4))
specifier: ^4.4.2
version: 4.4.2(vue@3.4.35(typescript@5.5.4))
apps/web-ele:
dependencies:
@ -230,12 +233,12 @@ importers:
specifier: ^3.4.35
version: 3.4.35(typescript@5.5.4)
vue-router:
specifier: ^4.4.1
version: 4.4.1(vue@3.4.35(typescript@5.5.4))
specifier: ^4.4.2
version: 4.4.2(vue@3.4.35(typescript@5.5.4))
devDependencies:
unplugin-element-plus:
specifier: ^0.8.0
version: 0.8.0(rollup@4.19.1)
version: 0.8.0(rollup@4.19.2)
apps/web-naive:
dependencies:
@ -294,8 +297,8 @@ importers:
specifier: ^3.4.35
version: 3.4.35(typescript@5.5.4)
vue-router:
specifier: ^4.4.1
version: 4.4.1(vue@3.4.35(typescript@5.5.4))
specifier: ^4.4.2
version: 4.4.2(vue@3.4.35(typescript@5.5.4))
internal/lint-configs/commitlint-config:
dependencies:
@ -385,8 +388,8 @@ importers:
specifier: ^9.27.0
version: 9.27.0(eslint@9.8.0)
globals:
specifier: ^15.8.0
version: 15.8.0
specifier: ^15.9.0
version: 15.9.0
jsonc-eslint-parser:
specifier: ^2.4.0
version: 2.4.0
@ -507,8 +510,8 @@ importers:
internal/tailwind-config:
dependencies:
'@iconify/json':
specifier: ^2.2.232
version: 2.2.232
specifier: ^2.2.233
version: 2.2.233
'@iconify/tailwind':
specifier: ^1.1.2
version: 1.1.2
@ -563,7 +566,7 @@ importers:
dependencies:
'@intlify/unplugin-vue-i18n':
specifier: ^4.0.0
version: 4.0.0(rollup@4.19.1)(vue-i18n@9.13.1(vue@3.4.35(typescript@5.5.4)))
version: 4.0.0(rollup@4.19.2)(vue-i18n@9.13.1(vue@3.4.35(typescript@5.5.4)))
'@jspm/generator':
specifier: ^2.1.2
version: 2.1.2
@ -590,7 +593,7 @@ importers:
version: 0.20.1(vite@5.3.5(@types/node@22.0.2)(sass@1.77.8)(terser@5.31.3))(workbox-build@7.1.1)(workbox-window@7.1.0)
vite-plugin-vue-devtools:
specifier: ^7.3.7
version: 7.3.7(rollup@4.19.1)(vite@5.3.5(@types/node@22.0.2)(sass@1.77.8)(terser@5.31.3))(vue@3.4.35(typescript@5.5.4))
version: 7.3.7(rollup@4.19.2)(vite@5.3.5(@types/node@22.0.2)(sass@1.77.8)(terser@5.31.3))(vue@3.4.35(typescript@5.5.4))
devDependencies:
'@types/html-minifier-terser':
specifier: ^7.0.2
@ -611,11 +614,11 @@ importers:
specifier: ^16.4.5
version: 16.4.5
rollup:
specifier: ^4.19.1
version: 4.19.1
specifier: ^4.19.2
version: 4.19.2
rollup-plugin-visualizer:
specifier: ^5.12.0
version: 5.12.0(rollup@4.19.1)
version: 5.12.0(rollup@4.19.2)
sass:
specifier: ^1.77.8
version: 1.77.8
@ -627,7 +630,7 @@ importers:
version: 0.5.1(vite@5.3.5(@types/node@22.0.2)(sass@1.77.8)(terser@5.31.3))
vite-plugin-dts:
specifier: 4.0.0-beta.1
version: 4.0.0-beta.1(@types/node@22.0.2)(rollup@4.19.1)(typescript@5.5.4)(vite@5.3.5(@types/node@22.0.2)(sass@1.77.8)(terser@5.31.3))
version: 4.0.0-beta.1(@types/node@22.0.2)(rollup@4.19.2)(typescript@5.5.4)(vite@5.3.5(@types/node@22.0.2)(sass@1.77.8)(terser@5.31.3))
vite-plugin-html:
specifier: ^3.2.2
version: 3.2.2(vite@5.3.5(@types/node@22.0.2)(sass@1.77.8)(terser@5.31.3))
@ -686,8 +689,8 @@ importers:
specifier: ^3.4.35
version: 3.4.35(typescript@5.5.4)
vue-router:
specifier: ^4.4.1
version: 4.4.1(vue@3.4.35(typescript@5.5.4))
specifier: ^4.4.2
version: 4.4.2(vue@3.4.35(typescript@5.5.4))
packages/@core/composables:
dependencies:
@ -888,8 +891,8 @@ importers:
specifier: ^3.4.35
version: 3.4.35(typescript@5.5.4)
vue-router:
specifier: ^4.4.1
version: 4.4.1(vue@3.4.35(typescript@5.5.4))
specifier: ^4.4.2
version: 4.4.2(vue@3.4.35(typescript@5.5.4))
devDependencies:
'@types/qrcode':
specifier: ^1.5.5
@ -916,8 +919,8 @@ importers:
specifier: ^3.4.35
version: 3.4.35(typescript@5.5.4)
vue-router:
specifier: ^4.4.1
version: 4.4.1(vue@3.4.35(typescript@5.5.4))
specifier: ^4.4.2
version: 4.4.2(vue@3.4.35(typescript@5.5.4))
watermark-js-plus:
specifier: ^1.5.2
version: 1.5.2
@ -967,8 +970,8 @@ importers:
specifier: ^3.4.35
version: 3.4.35(typescript@5.5.4)
vue-router:
specifier: ^4.4.1
version: 4.4.1(vue@3.4.35(typescript@5.5.4))
specifier: ^4.4.2
version: 4.4.2(vue@3.4.35(typescript@5.5.4))
packages/effects/request:
dependencies:
@ -1031,8 +1034,8 @@ importers:
specifier: ^3.4.35
version: 3.4.35(typescript@5.5.4)
vue-router:
specifier: ^4.4.1
version: 4.4.1(vue@3.4.35(typescript@5.5.4))
specifier: ^4.4.2
version: 4.4.2(vue@3.4.35(typescript@5.5.4))
packages/styles:
dependencies:
@ -1049,8 +1052,8 @@ importers:
specifier: ^3.4.35
version: 3.4.35(typescript@5.5.4)
vue-router:
specifier: ^4.4.1
version: 4.4.1(vue@3.4.35(typescript@5.5.4))
specifier: ^4.4.2
version: 4.4.2(vue@3.4.35(typescript@5.5.4))
packages/utils:
dependencies:
@ -1061,8 +1064,8 @@ importers:
specifier: workspace:*
version: link:../@core/base/typings
vue-router:
specifier: ^4.4.1
version: 4.4.1(vue@3.4.35(typescript@5.5.4))
specifier: ^4.4.2
version: 4.4.2(vue@3.4.35(typescript@5.5.4))
scripts/turbo-run:
dependencies:
@ -1228,42 +1231,36 @@ packages:
engines: {node: '>= 10'}
cpu: [arm64]
os: [linux]
libc: [glibc]
'@ast-grep/napi-linux-arm64-gnu@0.22.6':
resolution: {integrity: sha512-9PAqNJlAQfFm1RW0DVCM/S4gFHdppxUTWacB3qEeJZXgdLnoH0KGQa4z3Xo559SPYDKZy0VnY02mZ3XJ+v6/Vw==}
engines: {node: '>= 10'}
cpu: [arm64]
os: [linux]
libc: [glibc]
'@ast-grep/napi-linux-x64-gnu@0.21.4':
resolution: {integrity: sha512-U7jl8RGpxKV+pjFstY0y5qD+D+wm9dXNO7NBbIOnETgTMizTFiUuQWT7SOlIklhcxxuXqWzfwhNN1qwI0tGNWw==}
engines: {node: '>= 10'}
cpu: [x64]
os: [linux]
libc: [glibc]
'@ast-grep/napi-linux-x64-gnu@0.22.6':
resolution: {integrity: sha512-nZf+gxXVrZqvP1LN6HwzOMA4brF3umBXfMequQzv8S6HeJ4c34P23F0Tw8mHtQpVYP9PQWJUvt3LJQ8Xvd5Hiw==}
engines: {node: '>= 10'}
cpu: [x64]
os: [linux]
libc: [glibc]
'@ast-grep/napi-linux-x64-musl@0.21.4':
resolution: {integrity: sha512-SOGR93kGomRR+Vh87+jXI3pJLR+J+dekCI8a4S22kGX9iAen8/+Ew++lFouDueKLyszmmhCrIk1WnJvYPuSFBw==}
engines: {node: '>= 10'}
cpu: [x64]
os: [linux]
libc: [musl]
'@ast-grep/napi-linux-x64-musl@0.22.6':
resolution: {integrity: sha512-gcJeBMgJQf2pZZo0lgH0Vg4ycyujM7Am8VlomXhavC/dPpkddA1tiHSIC4fCNneLU1EqHITy3ALSmM4GLdsjBw==}
engines: {node: '>= 10'}
cpu: [x64]
os: [linux]
libc: [musl]
'@ast-grep/napi-win32-arm64-msvc@0.21.4':
resolution: {integrity: sha512-ciGaTbkPjbCGqUyLwIPvcNeftNXjSG3cXE+5NiLThRbDhh2yUOE8YJkElUQcu0xQCdSlXnb4l/imEED/65jGfw==}
@ -3175,8 +3172,8 @@ packages:
resolution: {integrity: sha512-d2CGZR2o7fS6sWB7DG/3a95bGKQyHMACZ5aW8qGkkqQpUoZV6C0X7Pc7l4ZNMZkfNBf4VWNe9E1jRsf0G146Ew==}
engines: {node: '>=18.18'}
'@iconify/json@2.2.232':
resolution: {integrity: sha512-o1W5bNDuXTd3ugywfX9uRmhuJTKYOLhH4qk+eUpkR8WEYdTmMW+FSiFO5R2KqD94Tzoi8Ef8u/R7felU5xk3eQ==}
'@iconify/json@2.2.233':
resolution: {integrity: sha512-i0URcf6w1TxEQixrYi/hBLdY3ArglF0uOx7pwqaNN5oGW82+G6ojWXeHXekntLxH7EpaXTNQ5bo6CJCbU3fpdQ==}
'@iconify/tailwind@1.1.2':
resolution: {integrity: sha512-ZgToKxxd7zF5T9NXPnY9APRF06ZjFF21H/bINzcbKTdeJzLrNLIoVaoePIUbWVQ2HAac5cAYEHPZO8ILSUe3bQ==}
@ -3375,35 +3372,30 @@ packages:
engines: {node: '>= 10.0.0'}
cpu: [arm]
os: [linux]
libc: [glibc]
'@parcel/watcher-linux-arm64-glibc@2.4.1':
resolution: {integrity: sha512-BJ7mH985OADVLpbrzCLgrJ3TOpiZggE9FMblfO65PlOCdG++xJpKUJ0Aol74ZUIYfb8WsRlUdgrZxKkz3zXWYA==}
engines: {node: '>= 10.0.0'}
cpu: [arm64]
os: [linux]
libc: [glibc]
'@parcel/watcher-linux-arm64-musl@2.4.1':
resolution: {integrity: sha512-p4Xb7JGq3MLgAfYhslU2SjoV9G0kI0Xry0kuxeG/41UfpjHGOhv7UoUDAz/jb1u2elbhazy4rRBL8PegPJFBhA==}
engines: {node: '>= 10.0.0'}
cpu: [arm64]
os: [linux]
libc: [musl]
'@parcel/watcher-linux-x64-glibc@2.4.1':
resolution: {integrity: sha512-s9O3fByZ/2pyYDPoLM6zt92yu6P4E39a03zvO0qCHOTjxmt3GHRMLuRZEWhWLASTMSrrnVNWdVI/+pUElJBBBg==}
engines: {node: '>= 10.0.0'}
cpu: [x64]
os: [linux]
libc: [glibc]
'@parcel/watcher-linux-x64-musl@2.4.1':
resolution: {integrity: sha512-L2nZTYR1myLNST0O632g0Dx9LyMNHrn6TOt76sYxWLdff3cB22/GZX2UPtJnaqQPdCRoszoY5rcOj4oMTtp5fQ==}
engines: {node: '>= 10.0.0'}
cpu: [x64]
os: [linux]
libc: [musl]
'@parcel/watcher-wasm@2.4.1':
resolution: {integrity: sha512-/ZR0RxqxU/xxDGzbzosMjh4W6NdYFMqq2nvo2b8SLi7rsl/4jkL8S5stIikorNkdR50oVDvqb/3JT05WM+CRRA==}
@ -3564,90 +3556,161 @@ packages:
cpu: [arm]
os: [android]
'@rollup/rollup-android-arm-eabi@4.19.2':
resolution: {integrity: sha512-OHflWINKtoCFSpm/WmuQaWW4jeX+3Qt3XQDepkkiFTsoxFc5BpF3Z5aDxFZgBqRjO6ATP5+b1iilp4kGIZVWlA==}
cpu: [arm]
os: [android]
'@rollup/rollup-android-arm64@4.19.1':
resolution: {integrity: sha512-thFUbkHteM20BGShD6P08aungq4irbIZKUNbG70LN8RkO7YztcGPiKTTGZS7Kw+x5h8hOXs0i4OaHwFxlpQN6A==}
cpu: [arm64]
os: [android]
'@rollup/rollup-android-arm64@4.19.2':
resolution: {integrity: sha512-k0OC/b14rNzMLDOE6QMBCjDRm3fQOHAL8Ldc9bxEWvMo4Ty9RY6rWmGetNTWhPo+/+FNd1lsQYRd0/1OSix36A==}
cpu: [arm64]
os: [android]
'@rollup/rollup-darwin-arm64@4.19.1':
resolution: {integrity: sha512-8o6eqeFZzVLia2hKPUZk4jdE3zW7LCcZr+MD18tXkgBBid3lssGVAYuox8x6YHoEPDdDa9ixTaStcmx88lio5Q==}
cpu: [arm64]
os: [darwin]
'@rollup/rollup-darwin-arm64@4.19.2':
resolution: {integrity: sha512-IIARRgWCNWMTeQH+kr/gFTHJccKzwEaI0YSvtqkEBPj7AshElFq89TyreKNFAGh5frLfDCbodnq+Ye3dqGKPBw==}
cpu: [arm64]
os: [darwin]
'@rollup/rollup-darwin-x64@4.19.1':
resolution: {integrity: sha512-4T42heKsnbjkn7ovYiAdDVRRWZLU9Kmhdt6HafZxFcUdpjlBlxj4wDrt1yFWLk7G4+E+8p2C9tcmSu0KA6auGA==}
cpu: [x64]
os: [darwin]
'@rollup/rollup-darwin-x64@4.19.2':
resolution: {integrity: sha512-52udDMFDv54BTAdnw+KXNF45QCvcJOcYGl3vQkp4vARyrcdI/cXH8VXTEv/8QWfd6Fru8QQuw1b2uNersXOL0g==}
cpu: [x64]
os: [darwin]
'@rollup/rollup-linux-arm-gnueabihf@4.19.1':
resolution: {integrity: sha512-MXg1xp+e5GhZ3Vit1gGEyoC+dyQUBy2JgVQ+3hUrD9wZMkUw/ywgkpK7oZgnB6kPpGrxJ41clkPPnsknuD6M2Q==}
cpu: [arm]
os: [linux]
libc: [glibc]
'@rollup/rollup-linux-arm-gnueabihf@4.19.2':
resolution: {integrity: sha512-r+SI2t8srMPYZeoa1w0o/AfoVt9akI1ihgazGYPQGRilVAkuzMGiTtexNZkrPkQsyFrvqq/ni8f3zOnHw4hUbA==}
cpu: [arm]
os: [linux]
'@rollup/rollup-linux-arm-musleabihf@4.19.1':
resolution: {integrity: sha512-DZNLwIY4ftPSRVkJEaxYkq7u2zel7aah57HESuNkUnz+3bZHxwkCUkrfS2IWC1sxK6F2QNIR0Qr/YXw7nkF3Pw==}
cpu: [arm]
os: [linux]
libc: [musl]
'@rollup/rollup-linux-arm-musleabihf@4.19.2':
resolution: {integrity: sha512-+tYiL4QVjtI3KliKBGtUU7yhw0GMcJJuB9mLTCEauHEsqfk49gtUBXGtGP3h1LW8MbaTY6rSFIQV1XOBps1gBA==}
cpu: [arm]
os: [linux]
'@rollup/rollup-linux-arm64-gnu@4.19.1':
resolution: {integrity: sha512-C7evongnjyxdngSDRRSQv5GvyfISizgtk9RM+z2biV5kY6S/NF/wta7K+DanmktC5DkuaJQgoKGf7KUDmA7RUw==}
cpu: [arm64]
os: [linux]
libc: [glibc]
'@rollup/rollup-linux-arm64-gnu@4.19.2':
resolution: {integrity: sha512-OR5DcvZiYN75mXDNQQxlQPTv4D+uNCUsmSCSY2FolLf9W5I4DSoJyg7z9Ea3TjKfhPSGgMJiey1aWvlWuBzMtg==}
cpu: [arm64]
os: [linux]
'@rollup/rollup-linux-arm64-musl@4.19.1':
resolution: {integrity: sha512-89tFWqxfxLLHkAthAcrTs9etAoBFRduNfWdl2xUs/yLV+7XDrJ5yuXMHptNqf1Zw0UCA3cAutkAiAokYCkaPtw==}
cpu: [arm64]
os: [linux]
libc: [musl]
'@rollup/rollup-linux-arm64-musl@4.19.2':
resolution: {integrity: sha512-Hw3jSfWdUSauEYFBSFIte6I8m6jOj+3vifLg8EU3lreWulAUpch4JBjDMtlKosrBzkr0kwKgL9iCfjA8L3geoA==}
cpu: [arm64]
os: [linux]
'@rollup/rollup-linux-powerpc64le-gnu@4.19.1':
resolution: {integrity: sha512-PromGeV50sq+YfaisG8W3fd+Cl6mnOOiNv2qKKqKCpiiEke2KiKVyDqG/Mb9GWKbYMHj5a01fq/qlUR28PFhCQ==}
cpu: [ppc64]
os: [linux]
libc: [glibc]
'@rollup/rollup-linux-powerpc64le-gnu@4.19.2':
resolution: {integrity: sha512-rhjvoPBhBwVnJRq/+hi2Q3EMiVF538/o9dBuj9TVLclo9DuONqt5xfWSaE6MYiFKpo/lFPJ/iSI72rYWw5Hc7w==}
cpu: [ppc64]
os: [linux]
'@rollup/rollup-linux-riscv64-gnu@4.19.1':
resolution: {integrity: sha512-/1BmHYh+iz0cNCP0oHCuF8CSiNj0JOGf0jRlSo3L/FAyZyG2rGBuKpkZVH9YF+x58r1jgWxvm1aRg3DHrLDt6A==}
cpu: [riscv64]
os: [linux]
libc: [glibc]
'@rollup/rollup-linux-riscv64-gnu@4.19.2':
resolution: {integrity: sha512-EAz6vjPwHHs2qOCnpQkw4xs14XJq84I81sDRGPEjKPFVPBw7fwvtwhVjcZR6SLydCv8zNK8YGFblKWd/vRmP8g==}
cpu: [riscv64]
os: [linux]
'@rollup/rollup-linux-s390x-gnu@4.19.1':
resolution: {integrity: sha512-0cYP5rGkQWRZKy9/HtsWVStLXzCF3cCBTRI+qRL8Z+wkYlqN7zrSYm6FuY5Kd5ysS5aH0q5lVgb/WbG4jqXN1Q==}
cpu: [s390x]
os: [linux]
libc: [glibc]
'@rollup/rollup-linux-s390x-gnu@4.19.2':
resolution: {integrity: sha512-IJSUX1xb8k/zN9j2I7B5Re6B0NNJDJ1+soezjNojhT8DEVeDNptq2jgycCOpRhyGj0+xBn7Cq+PK7Q+nd2hxLA==}
cpu: [s390x]
os: [linux]
'@rollup/rollup-linux-x64-gnu@4.19.1':
resolution: {integrity: sha512-XUXeI9eM8rMP8aGvii/aOOiMvTs7xlCosq9xCjcqI9+5hBxtjDpD+7Abm1ZhVIFE1J2h2VIg0t2DX/gjespC2Q==}
cpu: [x64]
os: [linux]
libc: [glibc]
'@rollup/rollup-linux-x64-gnu@4.19.2':
resolution: {integrity: sha512-OgaToJ8jSxTpgGkZSkwKE+JQGihdcaqnyHEFOSAU45utQ+yLruE1dkonB2SDI8t375wOKgNn8pQvaWY9kPzxDQ==}
cpu: [x64]
os: [linux]
'@rollup/rollup-linux-x64-musl@4.19.1':
resolution: {integrity: sha512-V7cBw/cKXMfEVhpSvVZhC+iGifD6U1zJ4tbibjjN+Xi3blSXaj/rJynAkCFFQfoG6VZrAiP7uGVzL440Q6Me2Q==}
cpu: [x64]
os: [linux]
libc: [musl]
'@rollup/rollup-linux-x64-musl@4.19.2':
resolution: {integrity: sha512-5V3mPpWkB066XZZBgSd1lwozBk7tmOkKtquyCJ6T4LN3mzKENXyBwWNQn8d0Ci81hvlBw5RoFgleVpL6aScLYg==}
cpu: [x64]
os: [linux]
'@rollup/rollup-win32-arm64-msvc@4.19.1':
resolution: {integrity: sha512-88brja2vldW/76jWATlBqHEoGjJLRnP0WOEKAUbMcXaAZnemNhlAHSyj4jIwMoP2T750LE9lblvD4e2jXleZsA==}
cpu: [arm64]
os: [win32]
'@rollup/rollup-win32-arm64-msvc@4.19.2':
resolution: {integrity: sha512-ayVstadfLeeXI9zUPiKRVT8qF55hm7hKa+0N1V6Vj+OTNFfKSoUxyZvzVvgtBxqSb5URQ8sK6fhwxr9/MLmxdA==}
cpu: [arm64]
os: [win32]
'@rollup/rollup-win32-ia32-msvc@4.19.1':
resolution: {integrity: sha512-LdxxcqRVSXi6k6JUrTah1rHuaupoeuiv38du8Mt4r4IPer3kwlTo+RuvfE8KzZ/tL6BhaPlzJ3835i6CxrFIRQ==}
cpu: [ia32]
os: [win32]
'@rollup/rollup-win32-ia32-msvc@4.19.2':
resolution: {integrity: sha512-Mda7iG4fOLHNsPqjWSjANvNZYoW034yxgrndof0DwCy0D3FvTjeNo+HGE6oGWgvcLZNLlcp0hLEFcRs+UGsMLg==}
cpu: [ia32]
os: [win32]
'@rollup/rollup-win32-x64-msvc@4.19.1':
resolution: {integrity: sha512-2bIrL28PcK3YCqD9anGxDxamxdiJAxA+l7fWIwM5o8UqNy1t3d1NdAweO2XhA0KTDJ5aH1FsuiT5+7VhtHliXg==}
cpu: [x64]
os: [win32]
'@rollup/rollup-win32-x64-msvc@4.19.2':
resolution: {integrity: sha512-DPi0ubYhSow/00YqmG1jWm3qt1F8aXziHc/UNy8bo9cpCacqhuWu+iSq/fp2SyEQK7iYTZ60fBU9cat3MXTjIQ==}
cpu: [x64]
os: [win32]
'@rushstack/node-core-library@5.5.0':
resolution: {integrity: sha512-Cl3MYQ74Je5Y/EngMxcA3SpHjGZ/022nKbAO1aycGfQ+7eKyNCBu0oywj5B1f367GCzuHBgy+3BlVLKysHkXZw==}
peerDependencies:
@ -5976,8 +6039,8 @@ packages:
resolution: {integrity: sha512-oahGvuMGQlPw/ivIYBjVSrWAfWLBeku5tpPE2fOPLi+WHffIWbuh2tCjhyQhTBPMf5E9jDEH4FOmTYgYwbKwtQ==}
engines: {node: '>=18'}
globals@15.8.0:
resolution: {integrity: sha512-VZAJ4cewHTExBWDHR6yptdIBlx9YSSZuwojj9Nt5mBRXQzrKakDsVKQ1J63sklLvzAJm0X5+RpO4i3Y2hcOnFw==}
globals@15.9.0:
resolution: {integrity: sha512-SmSKyLLKFbSr6rptvP8izbyxJL4ILwqO9Jg23UA0sDlGlu58V59D1//I3vlc0KJphVdUR7vMjHIplYnzBxorQA==}
engines: {node: '>=18'}
globalthis@1.0.4:
@ -8178,6 +8241,11 @@ packages:
engines: {node: '>=18.0.0', npm: '>=8.0.0'}
hasBin: true
rollup@4.19.2:
resolution: {integrity: sha512-6/jgnN1svF9PjNYJ4ya3l+cqutg49vOZ4rVgsDKxdl+5gpGPnByFXWGyfH9YGx9i3nfBwSu1Iyu6vGwFFA0BdQ==}
engines: {node: '>=18.0.0', npm: '>=8.0.0'}
hasBin: true
rotated-array-set@3.0.0:
resolution: {integrity: sha512-G7689wvCM0szMFXUAhi3GfNGcSPlndg077cdRWoq7UegOAwfU2MJ0jD7s7jB+2ppKA75Kr/O0HwAP9+rRdBctg==}
engines: {node: ^14.13.1 || >=16.0.0}
@ -9275,8 +9343,8 @@ packages:
peerDependencies:
vue: ^3.4.35
vue-router@4.4.1:
resolution: {integrity: sha512-njTLt/6gYGgIhv+U8nc5J6JpJpntFgy4fptRJ9Dp2qWQRo/PekB5DbKRYRPt0kM6feXysPKl7A5BjOmOJL5Ttw==}
vue-router@4.4.2:
resolution: {integrity: sha512-1qNybkn2L7QsLzaXs8nvlQmRKp8XF8DCxZys/Jr1JpQcHsKUxTKzTxCVA1G7NfBfwRIBgCJPoujOG5lHCCNUxw==}
peerDependencies:
vue: ^3.4.35
@ -11730,7 +11798,7 @@ snapshots:
'@humanwhocodes/retry@0.3.0': {}
'@iconify/json@2.2.232':
'@iconify/json@2.2.233':
dependencies:
'@iconify/types': 2.0.0
pathe: 1.1.2
@ -11780,11 +11848,11 @@ snapshots:
'@intlify/shared@9.13.1': {}
'@intlify/unplugin-vue-i18n@4.0.0(rollup@4.19.1)(vue-i18n@9.13.1(vue@3.4.35(typescript@5.5.4)))':
'@intlify/unplugin-vue-i18n@4.0.0(rollup@4.19.2)(vue-i18n@9.13.1(vue@3.4.35(typescript@5.5.4)))':
dependencies:
'@intlify/bundle-utils': 8.0.0(vue-i18n@9.13.1(vue@3.4.35(typescript@5.5.4)))
'@intlify/shared': 9.13.1
'@rollup/pluginutils': 5.1.0(rollup@4.19.1)
'@rollup/pluginutils': 5.1.0(rollup@4.19.2)
'@vue/compiler-sfc': 3.4.34
debug: 4.3.6
fast-glob: 3.3.2
@ -12223,54 +12291,110 @@ snapshots:
optionalDependencies:
rollup: 4.19.1
'@rollup/pluginutils@5.1.0(rollup@4.19.2)':
dependencies:
'@types/estree': 1.0.5
estree-walker: 2.0.2
picomatch: 2.3.1
optionalDependencies:
rollup: 4.19.2
'@rollup/rollup-android-arm-eabi@4.19.1':
optional: true
'@rollup/rollup-android-arm-eabi@4.19.2':
optional: true
'@rollup/rollup-android-arm64@4.19.1':
optional: true
'@rollup/rollup-android-arm64@4.19.2':
optional: true
'@rollup/rollup-darwin-arm64@4.19.1':
optional: true
'@rollup/rollup-darwin-arm64@4.19.2':
optional: true
'@rollup/rollup-darwin-x64@4.19.1':
optional: true
'@rollup/rollup-darwin-x64@4.19.2':
optional: true
'@rollup/rollup-linux-arm-gnueabihf@4.19.1':
optional: true
'@rollup/rollup-linux-arm-gnueabihf@4.19.2':
optional: true
'@rollup/rollup-linux-arm-musleabihf@4.19.1':
optional: true
'@rollup/rollup-linux-arm-musleabihf@4.19.2':
optional: true
'@rollup/rollup-linux-arm64-gnu@4.19.1':
optional: true
'@rollup/rollup-linux-arm64-gnu@4.19.2':
optional: true
'@rollup/rollup-linux-arm64-musl@4.19.1':
optional: true
'@rollup/rollup-linux-arm64-musl@4.19.2':
optional: true
'@rollup/rollup-linux-powerpc64le-gnu@4.19.1':
optional: true
'@rollup/rollup-linux-powerpc64le-gnu@4.19.2':
optional: true
'@rollup/rollup-linux-riscv64-gnu@4.19.1':
optional: true
'@rollup/rollup-linux-riscv64-gnu@4.19.2':
optional: true
'@rollup/rollup-linux-s390x-gnu@4.19.1':
optional: true
'@rollup/rollup-linux-s390x-gnu@4.19.2':
optional: true
'@rollup/rollup-linux-x64-gnu@4.19.1':
optional: true
'@rollup/rollup-linux-x64-gnu@4.19.2':
optional: true
'@rollup/rollup-linux-x64-musl@4.19.1':
optional: true
'@rollup/rollup-linux-x64-musl@4.19.2':
optional: true
'@rollup/rollup-win32-arm64-msvc@4.19.1':
optional: true
'@rollup/rollup-win32-arm64-msvc@4.19.2':
optional: true
'@rollup/rollup-win32-ia32-msvc@4.19.1':
optional: true
'@rollup/rollup-win32-ia32-msvc@4.19.2':
optional: true
'@rollup/rollup-win32-x64-msvc@4.19.1':
optional: true
'@rollup/rollup-win32-x64-msvc@4.19.2':
optional: true
'@rushstack/node-core-library@5.5.0(@types/node@22.0.2)':
dependencies:
ajv: 8.13.0
@ -14534,7 +14658,7 @@ snapshots:
eslint: 9.8.0
eslint-plugin-es-x: 7.8.0(eslint@9.8.0)
get-tsconfig: 4.7.6
globals: 15.8.0
globals: 15.9.0
ignore: 5.3.1
minimatch: 9.0.5
semver: 7.6.3
@ -14589,7 +14713,7 @@ snapshots:
core-js-compat: 3.37.1
eslint: 9.8.0
esquery: 1.6.0
globals: 15.8.0
globals: 15.9.0
indent-string: 4.0.0
is-builtin-module: 3.2.1
jsesc: 3.0.2
@ -15118,7 +15242,7 @@ snapshots:
globals@14.0.0: {}
globals@15.8.0: {}
globals@15.9.0: {}
globalthis@1.0.4:
dependencies:
@ -17326,6 +17450,15 @@ snapshots:
optionalDependencies:
rollup: 4.19.1
rollup-plugin-visualizer@5.12.0(rollup@4.19.2):
dependencies:
open: 8.4.2
picomatch: 2.3.1
source-map: 0.7.4
yargs: 17.7.2
optionalDependencies:
rollup: 4.19.2
rollup@2.79.1:
optionalDependencies:
fsevents: 2.3.3
@ -17356,6 +17489,28 @@ snapshots:
'@rollup/rollup-win32-x64-msvc': 4.19.1
fsevents: 2.3.3
rollup@4.19.2:
dependencies:
'@types/estree': 1.0.5
optionalDependencies:
'@rollup/rollup-android-arm-eabi': 4.19.2
'@rollup/rollup-android-arm64': 4.19.2
'@rollup/rollup-darwin-arm64': 4.19.2
'@rollup/rollup-darwin-x64': 4.19.2
'@rollup/rollup-linux-arm-gnueabihf': 4.19.2
'@rollup/rollup-linux-arm-musleabihf': 4.19.2
'@rollup/rollup-linux-arm64-gnu': 4.19.2
'@rollup/rollup-linux-arm64-musl': 4.19.2
'@rollup/rollup-linux-powerpc64le-gnu': 4.19.2
'@rollup/rollup-linux-riscv64-gnu': 4.19.2
'@rollup/rollup-linux-s390x-gnu': 4.19.2
'@rollup/rollup-linux-x64-gnu': 4.19.2
'@rollup/rollup-linux-x64-musl': 4.19.2
'@rollup/rollup-win32-arm64-msvc': 4.19.2
'@rollup/rollup-win32-ia32-msvc': 4.19.2
'@rollup/rollup-win32-x64-msvc': 4.19.2
fsevents: 2.3.3
rotated-array-set@3.0.0: {}
rrweb-cssom@0.6.0: {}
@ -18282,9 +18437,9 @@ snapshots:
universalify@2.0.1: {}
unplugin-element-plus@0.8.0(rollup@4.19.1):
unplugin-element-plus@0.8.0(rollup@4.19.2):
dependencies:
'@rollup/pluginutils': 5.1.0(rollup@4.19.1)
'@rollup/pluginutils': 5.1.0(rollup@4.19.2)
es-module-lexer: 1.5.4
magic-string: 0.30.11
unplugin: 1.12.0
@ -18420,10 +18575,10 @@ snapshots:
transitivePeerDependencies:
- supports-color
vite-plugin-dts@4.0.0-beta.1(@types/node@22.0.2)(rollup@4.19.1)(typescript@5.5.4)(vite@5.3.5(@types/node@22.0.2)(sass@1.77.8)(terser@5.31.3)):
vite-plugin-dts@4.0.0-beta.1(@types/node@22.0.2)(rollup@4.19.2)(typescript@5.5.4)(vite@5.3.5(@types/node@22.0.2)(sass@1.77.8)(terser@5.31.3)):
dependencies:
'@microsoft/api-extractor': 7.47.2(@types/node@22.0.2)
'@rollup/pluginutils': 5.1.0(rollup@4.19.1)
'@rollup/pluginutils': 5.1.0(rollup@4.19.2)
'@volar/typescript': 2.3.4
'@vue/language-core': 2.0.19(typescript@5.5.4)
compare-versions: 6.1.1
@ -18456,10 +18611,10 @@ snapshots:
pathe: 0.2.0
vite: 5.3.5(@types/node@22.0.2)(sass@1.77.8)(terser@5.31.3)
vite-plugin-inspect@0.8.5(rollup@4.19.1)(vite@5.3.5(@types/node@22.0.2)(sass@1.77.8)(terser@5.31.3)):
vite-plugin-inspect@0.8.5(rollup@4.19.2)(vite@5.3.5(@types/node@22.0.2)(sass@1.77.8)(terser@5.31.3)):
dependencies:
'@antfu/utils': 0.7.10
'@rollup/pluginutils': 5.1.0(rollup@4.19.1)
'@rollup/pluginutils': 5.1.0(rollup@4.19.2)
debug: 4.3.6
error-stack-parser-es: 0.1.5
fs-extra: 11.2.0
@ -18490,7 +18645,7 @@ snapshots:
transitivePeerDependencies:
- supports-color
vite-plugin-vue-devtools@7.3.7(rollup@4.19.1)(vite@5.3.5(@types/node@22.0.2)(sass@1.77.8)(terser@5.31.3))(vue@3.4.35(typescript@5.5.4)):
vite-plugin-vue-devtools@7.3.7(rollup@4.19.2)(vite@5.3.5(@types/node@22.0.2)(sass@1.77.8)(terser@5.31.3))(vue@3.4.35(typescript@5.5.4)):
dependencies:
'@vue/devtools-core': 7.3.7(vite@5.3.5(@types/node@22.0.2)(sass@1.77.8)(terser@5.31.3))(vue@3.4.35(typescript@5.5.4))
'@vue/devtools-kit': 7.3.7
@ -18498,7 +18653,7 @@ snapshots:
execa: 8.0.1
sirv: 2.0.4
vite: 5.3.5(@types/node@22.0.2)(sass@1.77.8)(terser@5.31.3)
vite-plugin-inspect: 0.8.5(rollup@4.19.1)(vite@5.3.5(@types/node@22.0.2)(sass@1.77.8)(terser@5.31.3))
vite-plugin-inspect: 0.8.5(rollup@4.19.2)(vite@5.3.5(@types/node@22.0.2)(sass@1.77.8)(terser@5.31.3))
vite-plugin-vue-inspector: 5.1.3(vite@5.3.5(@types/node@22.0.2)(sass@1.77.8)(terser@5.31.3))
transitivePeerDependencies:
- '@nuxt/kit'
@ -18647,7 +18802,7 @@ snapshots:
'@vue/devtools-api': 6.6.3
vue: 3.4.35(typescript@5.5.4)
vue-router@4.4.1(vue@3.4.35(typescript@5.5.4)):
vue-router@4.4.2(vue@3.4.35(typescript@5.5.4)):
dependencies:
'@vue/devtools-api': 6.6.3
vue: 3.4.35(typescript@5.5.4)

View File

@ -73,11 +73,11 @@ authStore.setUserInfo(userInfo);
**实现原理**: 是通过接口动态生成路由表,且遵循一定的数据结构返回。前端根据需要处理该数据为可识别的结构,再通过 router.addRoutes 添加到路由实例,实现权限的动态生成。
**缺点**: 权限相对不自由,如果后台改动角色,前台也需要跟着改动。适合角色较固定的系统
**缺点**: 后端需要提供符合规范的数据结构,前端需要处理数据结构,适合权限较为复杂的系统。
### 步骤
- 确保当前模式为端访问控制模式
- 确保当前模式为端访问控制模式
调整对应应用目录下的`preferences.ts`,确保`accessMode='backend'`。

View File

@ -4,7 +4,7 @@
## 登录认证过期
当接口返回401状态码时框架会认为登录认证过期登录超时会跳转到登录页或者打开登录弹窗。在应用目录下的`preferences.ts`可以配置:
当接口返回`401`状态码时,框架会认为登录认证过期,登录超时会跳转到登录页或者打开登录弹窗。在应用目录下的`preferences.ts`可以配置:
### 跳转登录页面

View File

@ -16,7 +16,7 @@
- **最新技术栈**:使用 `Vue3`、`Vite`、`TypeScript` 等前端前沿技术开发。
- **国际化**:内置完善的国际化方案,支持多语言切换。
- **权限验证**:完善的权限验证方案,按钮级别权限控制。
- **多主题**:内置多种主题配置&黑暗某事,满足个性化需求。
- **多主题**:内置多种主题配置&黑暗模式,满足个性化需求。
- **动态菜单**:支持动态菜单,可以根据权限配置显示菜单。
- **Mock 数据**:基于 Nitro 的本地高性能 Mock 数据方案。
- **组件丰富**:提供了丰富的组件,可以满足大部分的业务需求。