Ver Fonte

chore: `eslint`相关库以及`typescript`更新至最新版

xiaoxian521 há 1 ano atrás
pai
commit
585adefbdd
3 ficheiros alterados com 203 adições e 204 exclusões
  1. 5 5
      package.json
  2. 197 197
      pnpm-lock.yaml
  3. 1 2
      tsconfig.json

+ 5 - 5
package.json

@@ -97,8 +97,8 @@
     "@types/qrcode": "^1.5.0",
     "@types/qs": "^6.9.7",
     "@types/sortablejs": "^1.15.1",
-    "@typescript-eslint/eslint-plugin": "^5.59.7",
-    "@typescript-eslint/parser": "^5.59.7",
+    "@typescript-eslint/eslint-plugin": "^5.59.8",
+    "@typescript-eslint/parser": "^5.59.8",
     "@vitejs/plugin-vue": "^4.2.3",
     "@vitejs/plugin-vue-jsx": "^3.0.1",
     "@vue/eslint-config-prettier": "^7.1.0",
@@ -106,9 +106,9 @@
     "autoprefixer": "^10.4.14",
     "cloc": "^2.11.0",
     "cssnano": "^6.0.1",
-    "eslint": "^8.41.0",
+    "eslint": "^8.42.0",
     "eslint-plugin-prettier": "^4.2.1",
-    "eslint-plugin-vue": "^9.14.0",
+    "eslint-plugin-vue": "^9.14.1",
     "husky": "^8.0.3",
     "lint-staged": "^13.2.2",
     "picocolors": "^1.0.0",
@@ -136,7 +136,7 @@
     "svgo": "^3.0.2",
     "tailwindcss": "^3.3.2",
     "terser": "^5.17.6",
-    "typescript": "^5.0.4",
+    "typescript": "^5.1.3",
     "vite": "^4.3.9",
     "vite-plugin-cdn-import": "^0.3.5",
     "vite-plugin-compression": "^0.5.1",

Diff do ficheiro suprimidas por serem muito extensas
+ 197 - 197
pnpm-lock.yaml


+ 1 - 2
tsconfig.json

@@ -28,8 +28,7 @@
       "element-plus/global",
       "@pureadmin/table/volar",
       "@pureadmin/descriptions/volar"
-    ],
-    "typeRoots": ["./types", "./node_modules/@types/"]
+    ]
   },
   "include": [
     "mock/*.ts",

Alguns ficheiros não foram mostrados porque muitos ficheiros mudaram neste diff