Browse Source

update 升级 package.json 全部依赖

疯狂的狮子Li 4 tháng trước cách đây
mục cha
commit
41c8e06c54
3 tập tin đã thay đổi với 35 bổ sung32 xóa
  1. 5 1
      .eslintrc-auto-import.json
  2. 30 30
      package.json
  3. 0 1
      vite.config.ts

+ 5 - 1
.eslintrc-auto-import.json

@@ -17,6 +17,7 @@
     "MaybeRefOrGetter": true,
     "PropType": true,
     "Ref": true,
+    "ShallowRef": true,
     "Slot": true,
     "Slots": true,
     "VNode": true,
@@ -54,6 +55,7 @@
     "getActivePinia": true,
     "getCurrentInstance": true,
     "getCurrentScope": true,
+    "getCurrentWatcher": true,
     "h": true,
     "ignorableWatch": true,
     "inject": true,
@@ -63,6 +65,7 @@
     "isReactive": true,
     "isReadonly": true,
     "isRef": true,
+    "isShallow": true,
     "makeDestructurable": true,
     "mapActions": true,
     "mapGetters": true,
@@ -106,11 +109,11 @@
     "refAutoReset": true,
     "refDebounced": true,
     "refDefault": true,
+    "refManualReset": true,
     "refThrottled": true,
     "refWithControl": true,
     "resolveComponent": true,
     "resolveRef": true,
-    "resolveUnref": true,
     "setActivePinia": true,
     "setMapStoreSuffix": true,
     "shallowReactive": true,
@@ -168,6 +171,7 @@
     "useCountdown": true,
     "useCounter": true,
     "useCssModule": true,
+    "useCssSupports": true,
     "useCssVar": true,
     "useCssVars": true,
     "useCurrentElement": true,

+ 30 - 30
package.json

@@ -23,68 +23,68 @@
     "@element-plus/icons-vue": "2.3.2",
     "@highlightjs/vue-plugin": "2.1.2",
     "@vueup/vue-quill": "1.2.0",
-    "@vueuse/core": "13.9.0",
+    "@vueuse/core": "14.2.1",
     "animate.css": "4.1.1",
     "await-to-js": "3.0.0",
-    "axios": "1.13.1",
+    "axios": "1.13.6",
     "crypto-js": "4.2.0",
-    "echarts": "5.6.0",
-    "element-plus": "2.11.7",
+    "echarts": "6.0.0",
+    "element-plus": "2.13.5",
     "file-saver": "2.0.5",
     "highlight.js": "11.11.1",
     "image-conversion": "2.1.1",
     "js-cookie": "3.0.5",
     "jsencrypt": "3.5.4",
     "nprogress": "0.2.0",
-    "pinia": "3.0.3",
+    "pinia": "3.0.4",
     "screenfull": "6.0.2",
-    "vue": "3.5.22",
+    "vue": "3.5.30",
     "vue-cropper": "1.1.4",
-    "vue-i18n": "11.1.12",
+    "vue-i18n": "11.3.0",
     "vue-json-pretty": "2.6.0",
-    "vue-router": "4.6.3",
+    "vue-router": "5.0.3",
     "vue-types": "6.0.0",
-    "vxe-table": "4.17.7"
+    "vxe-table": "4.18.1"
   },
   "devDependencies": {
-    "@iconify/json": "^2.2.403",
+    "@iconify/json": "^2.2.448",
     "@types/crypto-js": "4.2.2",
     "@types/file-saver": "2.0.7",
     "@types/js-cookie": "3.0.6",
-    "@types/node": "^22.19.0",
+    "@types/node": "^25.4.0",
     "@types/nprogress": "0.2.3",
-    "@unocss/preset-attributify": "66.5.4",
-    "@unocss/preset-icons": "66.5.4",
-    "@unocss/preset-uno": "66.5.4",
-    "@vitejs/plugin-vue": "5.2.4",
-    "@vue/compiler-sfc": "3.5.22",
+    "@unocss/preset-attributify": "66.6.6",
+    "@unocss/preset-icons": "66.6.6",
+    "@unocss/preset-uno": "66.6.6",
+    "@vitejs/plugin-vue": "6.0.4",
+    "@vue/compiler-sfc": "3.5.30",
     "@vue/eslint-config-prettier": "10.2.0",
     "@vue/eslint-config-typescript": "14.6.0",
-    "autoprefixer": "10.4.21",
+    "autoprefixer": "10.4.27",
     "eslint": "9.39.1",
-    "eslint-plugin-prettier": "5.5.4",
+    "eslint-plugin-prettier": "5.5.5",
     "eslint-plugin-vue": "9.33.0",
-    "globals": "16.5.0",
-    "prettier": "3.6.2",
-    "sass": "1.93.3",
+    "globals": "17.4.0",
+    "prettier": "3.8.1",
+    "sass": "1.98.0",
     "typescript": "~5.9.3",
-    "unocss": "66.5.4",
-    "unplugin-auto-import": "19.3.0",
-    "unplugin-icons": "22.5.0",
-    "unplugin-vue-components": "28.8.0",
+    "unocss": "66.6.6",
+    "unplugin-auto-import": "21.0.0",
+    "unplugin-icons": "23.0.1",
+    "unplugin-vue-components": "31.0.0",
     "unplugin-vue-setup-extend-plus": "1.0.1",
-    "vite": "6.4.1",
+    "vite": "7.3.1",
     "vite-plugin-compression": "0.5.1",
     "vite-plugin-svg-icons-ng": "^1.5.2",
-    "vite-plugin-vue-devtools": "8.0.3",
-    "vitest": "3.2.4",
-    "vue-tsc": "^2.2.12"
+    "vite-plugin-vue-devtools": "8.0.7",
+    "vitest": "4.0.18",
+    "vue-tsc": "^3.2.5"
   },
   "overrides": {
     "quill": "1.3.7"
   },
   "engines": {
-    "node": ">=20.15.0",
+    "node": ">=20.19.0",
     "npm": ">=8.19.0"
   },
   "browserslist": [

+ 0 - 1
vite.config.ts

@@ -36,7 +36,6 @@ export default defineConfig(({ mode, command }) => {
         scss: {
           // additionalData: '@use "@/assets/styles/variables.module.scss as *";'
           // javascriptEnabled: true
-          api: 'modern-compiler'
         }
       },
       postcss: {