mirror of
https://gitee.com/JavaLionLi/plus-ui.git
synced 2026-11-02 13:31:50 +08:00
update Vue 3.5.44、Pinia 4.1.0、Vue Router 5.4.0、VueUse 15.0.0、Element Plus 2.14.7、Vite 8.3.5、Vitest 5.0.5,以及 UnoCSS、VXE、WangEditor、lint 和格式化工具。Node 最低要求调整为 22.12
This commit is contained in:
parent
045fc00672
commit
a85754cdc4
58
package.json
58
package.json
@ -9,7 +9,6 @@
|
|||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://gitee.com/JavaLionLi/plus-ui.git"
|
"url": "https://gitee.com/JavaLionLi/plus-ui.git"
|
||||||
},
|
},
|
||||||
"packageManager": "pnpm@10.34.5",
|
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "vite build --mode production",
|
"build": "vite build --mode production",
|
||||||
@ -24,50 +23,50 @@
|
|||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@element-plus/icons-vue": "2.3.2",
|
"@element-plus/icons-vue": "2.3.2",
|
||||||
"@highlightjs/vue-plugin": "2.1.2",
|
"@highlightjs/vue-plugin": "2.1.2",
|
||||||
"@iconify/vue": "^5.0.1",
|
"@iconify/vue": "^5.0.4",
|
||||||
"@noble/ciphers": "^2.4.0",
|
"@noble/ciphers": "^2.4.0",
|
||||||
"@vueuse/core": "14.4.0",
|
"@vueuse/core": "15.0.0",
|
||||||
"@wangeditor-next/editor": "6.4.1",
|
"@wangeditor-next/editor": "6.5.1",
|
||||||
"@wangeditor-next/editor-for-vue": "6.4.1",
|
"@wangeditor-next/editor-for-vue": "6.5.1",
|
||||||
"animate.css": "4.1.1",
|
"animate.css": "4.1.1",
|
||||||
"await-to-js": "3.0.0",
|
"await-to-js": "3.0.0",
|
||||||
"axios": "1.20.0",
|
"axios": "1.20.0",
|
||||||
"echarts": "6.1.0",
|
"echarts": "6.1.0",
|
||||||
"element-plus": "2.14.5",
|
"element-plus": "2.14.7",
|
||||||
"highlight.js": "11.12.0",
|
"highlight.js": "11.12.0",
|
||||||
"image-conversion": "2.1.1",
|
"image-conversion": "2.1.1",
|
||||||
"jsencrypt": "3.5.4",
|
"jsencrypt": "3.5.4",
|
||||||
"nprogress": "0.2.0",
|
"nprogress": "0.2.0",
|
||||||
"pinia": "4.0.3",
|
"pinia": "4.1.0",
|
||||||
"vue": "3.5.42",
|
"vue": "3.5.44",
|
||||||
"vue-cropper": "1.1.4",
|
"vue-cropper": "1.1.4",
|
||||||
"vue-i18n": "11.4.10",
|
"vue-i18n": "11.4.16",
|
||||||
"vue-json-pretty": "2.6.0",
|
"vue-json-pretty": "2.6.0",
|
||||||
"vue-router": "5.3.1",
|
"vue-router": "5.4.0",
|
||||||
"vue-types": "7.0.0",
|
"vue-types": "7.0.1",
|
||||||
"vxe-pc-ui": "4.18.9",
|
"vxe-pc-ui": "4.20.18",
|
||||||
"vxe-table": "4.21.9"
|
"vxe-table": "4.23.4"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/node": "^26.1.1",
|
"@types/node": "^26.6.5",
|
||||||
"@types/nprogress": "0.2.3",
|
"@types/nprogress": "0.2.3",
|
||||||
"@unocss/preset-attributify": "66.10.1",
|
"@unocss/preset-attributify": "66.11.0",
|
||||||
"@unocss/preset-wind3": "66.10.1",
|
"@unocss/preset-wind3": "66.11.0",
|
||||||
"@vitejs/plugin-vue": "^6.0.8",
|
"@vitejs/plugin-vue": "^6.0.10",
|
||||||
"@vue/compiler-sfc": "3.5.42",
|
"@vue/compiler-sfc": "3.5.44",
|
||||||
"autoprefixer": "10.5.5",
|
"autoprefixer": "10.6.1",
|
||||||
"oxfmt": "^0.67.0",
|
"oxfmt": "^0.74.0",
|
||||||
"oxlint": "^1.82.0",
|
"oxlint": "^1.89.0",
|
||||||
"sass": "1.104.0",
|
"sass": "1.106.1",
|
||||||
"typescript": "^6.0.3",
|
"typescript": "^6.0.3",
|
||||||
"unocss": "66.10.1",
|
"unocss": "66.11.0",
|
||||||
"unplugin-auto-import": "21.1.0",
|
"unplugin-auto-import": "21.1.0",
|
||||||
"unplugin-vue-components": "32.1.0",
|
"unplugin-vue-components": "32.1.0",
|
||||||
"unplugin-vue-setup-extend-plus": "1.0.1",
|
"unplugin-vue-setup-extend-plus": "1.0.1",
|
||||||
"vite": "^8.2.2",
|
"vite": "^8.3.5",
|
||||||
"vite-plugin-svg-icons-ng": "^1.9.3",
|
"vite-plugin-svg-icons-ng": "^1.10.0",
|
||||||
"vitest": "4.1.11",
|
"vitest": "5.0.5",
|
||||||
"vue-tsc": "^3.3.11"
|
"vue-tsc": "^3.3.13"
|
||||||
},
|
},
|
||||||
"browserslist": [
|
"browserslist": [
|
||||||
"Chrome >= 87",
|
"Chrome >= 87",
|
||||||
@ -76,7 +75,8 @@
|
|||||||
"Firefox >= 78"
|
"Firefox >= 78"
|
||||||
],
|
],
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=20.19.0",
|
"node": "^22.12.0 || ^24.0.0 || >=26.0.0",
|
||||||
"pnpm": ">=10.0.0"
|
"pnpm": ">=10.0.0"
|
||||||
}
|
},
|
||||||
|
"packageManager": "pnpm@10.34.5"
|
||||||
}
|
}
|
||||||
|
|||||||
2681
pnpm-lock.yaml
generated
2681
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load Diff
@ -1,3 +1,4 @@
|
|||||||
|
import { useIntervalFn } from '@vueuse/core';
|
||||||
import { ElNotification } from 'element-plus';
|
import { ElNotification } from 'element-plus';
|
||||||
import type { MessageVO } from '@/api/system/message/types';
|
import type { MessageVO } from '@/api/system/message/types';
|
||||||
import { getMessageBox } from '@/api/system/message';
|
import { getMessageBox } from '@/api/system/message';
|
||||||
@ -120,7 +121,8 @@ const initWsPush = (url: string) => {
|
|||||||
},
|
},
|
||||||
heartbeat: {
|
heartbeat: {
|
||||||
message: 'ping',
|
message: 'ping',
|
||||||
interval: 10000,
|
responseMessage: 'pong',
|
||||||
|
scheduler: callback => useIntervalFn(callback, 10000, { immediate: false }),
|
||||||
pongTimeout: 2000
|
pongTimeout: 2000
|
||||||
},
|
},
|
||||||
onMessage: (_, e) => {
|
onMessage: (_, e) => {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user