Explorar o código

feat: 依赖升级

BaiLuoYan hai 3 semanas
pai
achega
e16b504ac2
Modificáronse 3 ficheiros con 259 adicións e 264 borrados
  1. 22 21
      package.json
  2. 231 242
      pnpm-lock.yaml
  3. 6 1
      vite.config.ts

+ 22 - 21
package.json

@@ -32,34 +32,29 @@
     "@iconify-icons/fa": "^1.2.4",
     "@iconify-icons/mdi": "^1.2.48",
     "@iconify-icons/ri": "^1.2.10",
-    "@iconify/react": "^5.2.0",
-    "@types/node": "^22.13.10",
-    "antd": "^5.24.4",
-    "async-validator": "^4.2.5",
-    "axios": "^1.8.4",
+    "@iconify/react": "^5.2.1",
+    "antd": "^5.29.3",
+    "axios": "^1.13.5",
     "brotli-wasm": "3.0.1",
     "copy-to-clipboard": "^3.3.3",
     "crypto-js": "^4.2.0",
-    "dayjs": "^1.11.13",
+    "dayjs": "^1.11.19",
     "dayjs-plugin-utc": "0.1.2",
     "fflate": "0.8.2",
     "file-saver": "^2.0.5",
-    "firebase": "^11.5.0",
-    "husky": "^9.1.7",
-    "i18next": "^23.10.0",
-    "i18next-browser-languagedetector": "^8.0.4",
+    "firebase": "^11.10.0",
+    "i18next": "^23.16.8",
+    "i18next-browser-languagedetector": "^8.2.0",
     "js-cookie": "^3.0.5",
-    "less": "^4.2.2",
-    "lint-staged": "^15.5.0",
-    "lodash-es": "^4.17.21",
+    "lodash-es": "^4.17.23",
     "qrcode.react": "4.2.0",
-    "qs": "^6.14.0",
+    "qs": "^6.14.1",
     "ramda": "^0.30.1",
-    "react": "^18.2.0",
-    "react-dom": "^18.2.0",
-    "react-i18next": "^14.0.5",
+    "react": "^18.3.1",
+    "react-dom": "^18.3.1",
+    "react-i18next": "^14.1.3",
     "react-markdown": "10.1.0",
-    "react-router-dom": "^7.4.0",
+    "react-router-dom": "^7.13.0",
     "remark-gfm": "4.0.1"
   },
   "devDependencies": {
@@ -71,10 +66,11 @@
     "@types/file-saver": "^2.0.7",
     "@types/js-cookie": "^3.0.6",
     "@types/lodash-es": "^4.17.12",
-    "@types/qs": "^6.9.18",
+    "@types/node": "^22.13.10",
+    "@types/qs": "^6.14.0",
     "@types/ramda": "^0.30.2",
-    "@types/react": "^18.2.0",
-    "@types/react-dom": "^18.2.0",
+    "@types/react": "^18.3.28",
+    "@types/react-dom": "^18.3.7",
     "@typescript-eslint/eslint-plugin": "^8.27.0",
     "@typescript-eslint/parser": "^8.27.0",
     "@vitejs/plugin-legacy": "6.1.1",
@@ -92,6 +88,9 @@
     "eslint-plugin-react-refresh": "^0.4.19",
     "globals": "^15.15.0",
     "gradient-string": "^3.0.0",
+    "husky": "^9.1.7",
+    "less": "^4.2.2",
+    "lint-staged": "^15.5.0",
     "postcss": "8.4.35",
     "postcss-nesting": "^13.0.1",
     "postcss-scss": "^4.0.9",
@@ -132,6 +131,8 @@
     "onlyBuiltDependencies": [
       "@firebase/util",
       "@parcel/watcher",
+      "@swc/core",
+      "core-js",
       "esbuild",
       "protobufjs"
     ]

A diferenza do arquivo foi suprimida porque é demasiado grande
+ 231 - 242
pnpm-lock.yaml


+ 6 - 1
vite.config.ts

@@ -99,8 +99,13 @@ export default defineConfig(({ mode }) => {
                 output: {
                     manualChunks: {
                         'react-vendor': ['react', 'react-dom', 'react-router-dom'],
-                        'antd-vendor': ['antd'],
+                        'antd-vendor': ['antd', '@ant-design/icons'],
                         'utils-vendor': ['lodash-es', 'ramda'],
+                        'i18n-vendor': [
+                            'i18next',
+                            'react-i18next',
+                            'i18next-browser-languagedetector',
+                        ],
                     },
                 },
             },

Algúns arquivos non se mostraron porque demasiados arquivos cambiaron neste cambio