Browse Source

build: dependencies update.

peter 1 year ago
parent
commit
e7a72f1901
3 changed files with 9 additions and 9 deletions
  1. 1 1
      .drone.yml
  2. 7 7
      package.json
  3. 1 1
      src/App.vue

+ 1 - 1
.drone.yml

@@ -22,7 +22,7 @@ steps:
         - push
         - push
 
 
   - name: npm_run_build
   - name: npm_run_build
-    image: node:18.16.1-slim
+    image: node:18.17.1-slim
 
 
     volumes:
     volumes:
       - name: build_dist
       - name: build_dist

+ 7 - 7
package.json

@@ -12,7 +12,7 @@
     "@element-plus/icons-vue": "^2.1.0",
     "@element-plus/icons-vue": "^2.1.0",
     "axios": "~0.27.2",
     "axios": "~0.27.2",
     "dayjs": "^1.11.8",
     "dayjs": "^1.11.8",
-    "element-plus": "2.3.6",
+    "element-plus": "2.3.9",
     "html2canvas": "^1.4.1",
     "html2canvas": "^1.4.1",
     "jspdf": "^2.5.1",
     "jspdf": "^2.5.1",
     "lodash": "^4.17.21",
     "lodash": "^4.17.21",
@@ -20,17 +20,17 @@
     "vue-router": "^4.2.2"
     "vue-router": "^4.2.2"
   },
   },
   "devDependencies": {
   "devDependencies": {
-    "@typescript-eslint/eslint-plugin": "^5.59.9",
-    "@typescript-eslint/parser": "^5.59.9",
+    "@typescript-eslint/eslint-plugin": "^6.4.1",
+    "@typescript-eslint/parser": "^6.4.1",
     "@vitejs/plugin-vue": "^4.2.3",
     "@vitejs/plugin-vue": "^4.2.3",
-    "@vue/eslint-config-prettier": "^7.1.0",
+    "@vue/eslint-config-prettier": "^8.0.0",
     "eslint": "^8.40.0",
     "eslint": "^8.40.0",
-    "eslint-config-prettier": "^8.8.0",
+    "eslint-config-prettier": "^9.0.0",
     "eslint-plugin-vue": "^9.12.0",
     "eslint-plugin-vue": "^9.12.0",
-    "prettier": "^2.8.8",
+    "prettier": "^3.0.2",
     "sass": "^1.63.2",
     "sass": "^1.63.2",
     "sass-loader": "^13.3.1",
     "sass-loader": "^13.3.1",
-    "typescript": "~5.0.4",
+    "typescript": "~5.1.6",
     "vite": "^4.3.9",
     "vite": "^4.3.9",
     "vite-plugin-eslint": "^1.8.1",
     "vite-plugin-eslint": "^1.8.1",
     "vue-tsc": "^1.6.5"
     "vue-tsc": "^1.6.5"

+ 1 - 1
src/App.vue

@@ -14,7 +14,7 @@ export default defineComponent({
 import { defineComponent, ref } from 'vue'
 import { defineComponent, ref } from 'vue'
 // import useCommon from './useCommon'
 // import useCommon from './useCommon'
 // import { useRoute, useRouter } from 'vue-router'
 // import { useRoute, useRouter } from 'vue-router'
-import zhCn from 'element-plus/lib/locale/lang/zh-cn'
+import zhCn from 'element-plus/es/locale/lang/zh-cn'
 import { ElConfigProvider } from 'element-plus'
 import { ElConfigProvider } from 'element-plus'
 // const {} = useCommon()
 // const {} = useCommon()
 // const $route = useRoute()
 // const $route = useRoute()