chore(@vben/web-antd): 新增 qrcode、jszip 依赖并统一 catalog 管理

- 新增 qrcode、@types/qrcode 依赖(用于区域二维码功能)
- 新增 jszip 依赖(用于批量导出二维码 ZIP)
- jszip 版本统一纳入 pnpm-workspace catalog 管理

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
lzh
2026-03-22 14:56:15 +08:00
parent be40db2a9c
commit ae55ab4800
3 changed files with 57 additions and 11 deletions

View File

@@ -29,6 +29,7 @@
"@form-create/ant-design-vue": "catalog:",
"@form-create/antd-designer": "catalog:",
"@tinymce/tinymce-vue": "catalog:",
"@types/qrcode": "catalog:",
"@vben/access": "workspace:*",
"@vben/common-ui": "workspace:*",
"@vben/constants": "workspace:*",
@@ -57,7 +58,9 @@
"diagram-js": "catalog:",
"fast-xml-parser": "catalog:",
"highlight.js": "catalog:",
"jszip": "catalog:",
"pinia": "catalog:",
"qrcode": "catalog:",
"steady-xml": "catalog:",
"tinymce": "catalog:",
"video.js": "catalog:",

46
pnpm-lock.yaml generated
View File

@@ -130,7 +130,7 @@ catalogs:
specifier: ^14.0.3
version: 14.0.3
'@types/qrcode':
specifier: ^1.5.5
specifier: 1.5.6
version: 1.5.6
'@types/qs':
specifier: ^6.14.0
@@ -433,7 +433,7 @@ catalogs:
specifier: ^0.3.12
version: 0.3.16
qrcode:
specifier: ^1.5.4
specifier: 1.5.4
version: 1.5.4
qs:
specifier: ^6.14.0
@@ -728,6 +728,9 @@ importers:
'@tinymce/tinymce-vue':
specifier: 'catalog:'
version: 6.3.0(tinymce@7.9.1)(vue@3.5.26(typescript@5.9.3))
'@types/qrcode':
specifier: 'catalog:'
version: 1.5.6
'@vben/access':
specifier: workspace:*
version: link:../../packages/effects/access
@@ -812,9 +815,15 @@ importers:
highlight.js:
specifier: 'catalog:'
version: 11.11.1
jszip:
specifier: ^3.10.1
version: 3.10.1
pinia:
specifier: ^3.0.3
version: 3.0.4(typescript@5.9.3)(vue@3.5.26(typescript@5.9.3))
qrcode:
specifier: 'catalog:'
version: 1.5.4
steady-xml:
specifier: 'catalog:'
version: 0.1.0
@@ -7595,6 +7604,7 @@ packages:
glob@10.5.0:
resolution: {integrity: sha512-DfXN8DfhJ7NH3Oe7cFmu3NCu1wKbkReJ8TorzSAFbSKrlNaQSKfIzqYqVY8zlbs2NLBbWpRiU52GX2PbaBVNkg==}
deprecated: Old versions of glob are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting i@izs.me
hasBin: true
glob@11.1.0:
@@ -7846,6 +7856,9 @@ packages:
engines: {node: '>=0.10.0'}
hasBin: true
immediate@3.0.6:
resolution: {integrity: sha512-XXOFtyqDjNDAQxVfYxuF7g9Il/IbWmmlQg2MYKOH8ExIT1qg6xc4zyS3HaEEATgs1btfzxq15ciUiY7gjSXRGQ==}
immutable@5.1.4:
resolution: {integrity: sha512-p6u1bG3YSnINT5RQmx/yRZBpenIl30kVxkTLDyHLIMk0gict704Q9n+thfDI7lTRm9vXdDYutVzXhzcThxTnXA==}
@@ -8272,6 +8285,9 @@ packages:
resolution: {integrity: sha512-p/nXbhSEcu3pZRdkW1OfJhpsVtW1gd4Wa1fnQc9YLiTfAjn0312eMKimbdIQzuZl9aa9xUGaRlP9T/CJE/ditQ==}
engines: {node: '>=0.10.0'}
jszip@3.10.1:
resolution: {integrity: sha512-xXDvecyTpGLrqFrvkrUSoxxfJI5AH7U8zxxtVclpsUtMCq4JQ290LY8AW5c7Ggnr/Y/oK+bQMbqK2qmtk3pN4g==}
katex@0.16.27:
resolution: {integrity: sha512-aeQoDkuRWSqQN6nSvVCEFvfXdqo1OQiCmmW1kc9xSdjutPv7BGO7pqY9sQRJpMOGrEdfDgF2TfRXe5eUAD2Waw==}
hasBin: true
@@ -8388,6 +8404,9 @@ packages:
lezer-feel@1.9.0:
resolution: {integrity: sha512-x8z6pCih3I3BOq3kBbhw6VUOU9Sg61PBJ1nigTgDl1yM5f0OPzEjK7GRJXutrSJDiUK8zwgqBvUJFlSfGLNZUg==}
lie@3.3.0:
resolution: {integrity: sha512-UaiMJzeWRlEujzAuw5LokY1L5ecNQYZKfmyZ9L7wDHb/p5etKaxXhohBcrw0EYby+G/NA52vRSN4N39dxHAIwQ==}
lilconfig@3.1.3:
resolution: {integrity: sha512-/vlFKAoH5Cgt3Ie+JLhRbwOsCQePABiU3tJ1egGvyQ+33R/vcwM2Zl2QR/LzjsBeItPt3oSVXapn+m4nQDvpzw==}
engines: {node: '>=14'}
@@ -9079,6 +9098,9 @@ packages:
package-manager-detector@1.6.0:
resolution: {integrity: sha512-61A5ThoTiDG/C8s8UMZwSorAGwMJ0ERVGj2OjoW5pAalsNOg15+iQiPzrLJ4jhZ1HJzmC2PIHT2oEiH3R5fzNA==}
pako@1.0.11:
resolution: {integrity: sha512-4hLB8Py4zZce5s4yd9XzopqwVv/yGNhV1Bl8NTmCq1763HeK2+EwVTv+leGeL13Dnh2wfbqowVPXCIO0z4taYw==}
pako@2.1.0:
resolution: {integrity: sha512-w+eufiZ1WuJYgPXbV/PO3NCMEc3xqylkKHzp8bxp1uW4qaSNQUkwmLLEc3kKsfz8lpV1F8Ht3U1Cm+9Srog2ug==}
@@ -10238,6 +10260,9 @@ packages:
resolution: {integrity: sha512-RJRdvCo6IAnPdsvP/7m6bsQqNnn1FCBX5ZNtFL98MmFF/4xAIJTIg1YbHW5DC2W5SKZanrC6i4HsJqlajw/dZw==}
engines: {node: '>= 0.4'}
setimmediate@1.0.5:
resolution: {integrity: sha512-MATJdZp8sLqDl/68LfQmbP8zKPLQNV6BIZoIgrscFDQ+RsvK/BxeDQOgyxKKoh0y/8h3BqVFnCqQ/gd+reiIXA==}
setprototypeof@1.2.0:
resolution: {integrity: sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw==}
@@ -18357,6 +18382,8 @@ snapshots:
image-size@0.5.5:
optional: true
immediate@3.0.6: {}
immutable@5.1.4: {}
import-fresh@3.3.1:
@@ -18719,6 +18746,13 @@ snapshots:
jsonpointer@5.0.1: {}
jszip@3.10.1:
dependencies:
lie: 3.3.0
pako: 1.0.11
readable-stream: 2.3.8
setimmediate: 1.0.5
katex@0.16.27:
dependencies:
commander: 8.3.0
@@ -18825,6 +18859,10 @@ snapshots:
'@lezer/lr': 1.4.5
min-dash: 4.2.3
lie@3.3.0:
dependencies:
immediate: 3.0.6
lilconfig@3.1.3: {}
lines-and-columns@1.2.4: {}
@@ -19638,6 +19676,8 @@ snapshots:
package-manager-detector@1.6.0: {}
pako@1.0.11: {}
pako@2.1.0: {}
param-case@3.0.4:
@@ -20778,6 +20818,8 @@ snapshots:
es-errors: 1.3.0
es-object-atoms: 1.1.1
setimmediate@1.0.5: {}
setprototypeof@1.2.0: {}
shallow-equal@1.2.1: {}

View File

@@ -42,10 +42,10 @@ catalog:
'@stylistic/stylelint-plugin': ^3.1.3
'@tailwindcss/nesting': 0.0.0-insiders.565cd3e
'@tailwindcss/typography': ^0.5.16
'@tinyflow-ai/vue': ^1.1.1
'@tinymce/tinymce-vue': ^6.1.0
'@tanstack/vue-query': ^5.91.0
'@tanstack/vue-store': ^0.8.0
'@tinyflow-ai/vue': ^1.1.1
'@tinymce/tinymce-vue': ^6.1.0
'@types/archiver': ^6.0.3
'@types/codemirror': ^5.60.13
'@types/crypto-js': ^4.2.2
@@ -61,12 +61,13 @@ catalog:
'@types/node': ^24.10.1
'@types/nprogress': ^0.2.3
'@types/postcss-import': ^14.0.3
'@types/qrcode': ^1.5.5
'@types/qrcode': 1.5.6
'@types/qs': ^6.14.0
'@types/sortablejs': ^1.15.8
'@typescript-eslint/eslint-plugin': ^8.46.4
'@typescript-eslint/parser': ^8.46.4
'@vee-validate/zod': ^4.15.1
'@videojs-player/vue': ^1.0.0
'@vite-pwa/vitepress': ^1.0.0
'@vitejs/plugin-vue': ^6.0.1
'@vitejs/plugin-vue-jsx': ^5.1.1
@@ -76,7 +77,6 @@ catalog:
'@vueuse/core': ^13.4.0
'@vueuse/integrations': ^14.0.0
'@vueuse/motion': ^3.0.3
'@videojs-player/vue': ^1.0.0
ant-design-vue: ^4.2.6
archiver: ^7.0.1
autoprefixer: ^10.4.22
@@ -110,6 +110,7 @@ catalog:
dotenv: ^16.6.1
echarts: ^6.0.0
element-plus: ^2.10.2
es-toolkit: ^1.41.0
eslint: ^9.39.1
eslint-config-turbo: ^2.6.1
eslint-plugin-command: ^3.3.1
@@ -140,6 +141,7 @@ catalog:
jsencrypt: ^3.3.2
json-bigint: ^1.0.0
jsonc-eslint-parser: ^2.4.1
jszip: ^3.10.1
jsonwebtoken: ^9.0.2
lefthook: ^1.13.6
lodash.clonedeep: ^4.5.0
@@ -170,7 +172,7 @@ catalog:
prettier: ^3.6.2
prettier-plugin-tailwindcss: ^0.7.1
publint: ^0.3.12
qrcode: ^1.5.4
qrcode: 1.5.4
qs: ^6.14.0
reka-ui: ^2.6.0
resolve.exports: ^2.0.3
@@ -202,6 +204,7 @@ catalog:
unbuild: ^3.6.1
unplugin-element-plus: ^0.11.1
vee-validate: ^4.15.1
video.js: ^7.21.6
vite: ^7.2.2
vite-plugin-compression: ^0.5.1
vite-plugin-dts: ^4.5.4
@@ -220,13 +223,11 @@ catalog:
vue-router: ^4.5.1
vue-tippy: ^6.7.1
vue-tsc: ^3.1.4
vuedraggable: ^4.1.0
vue3-print-nb: "^0.1.4"
vue3-print-nb: ^0.1.4
vue3-signature: ^0.2.4
video.js: ^7.21.6
vuedraggable: ^4.1.0
vxe-pc-ui: ^4.10.22
vxe-table: ^4.17.14
watermark-js-plus: ^1.6.2
zod: ^3.25.67
zod-defaults: 0.1.3
es-toolkit: ^1.41.0