From f408ea017ca95577158a9b11243b9a9748a53f30 Mon Sep 17 00:00:00 2001 From: Soybean Date: Mon, 29 Aug 2022 22:01:40 +0800 Subject: [PATCH] =?UTF-8?q?build(projects):=20=E5=8D=87=E7=BA=A7=E4=BE=9D?= =?UTF-8?q?=E8=B5=96=EF=BC=8C=E9=99=8D=E4=BD=8Enaive-ui=E7=89=88=E6=9C=AC?= =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=89=93=E5=8C=85=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .eslintignore | 1 - .vscode/settings.json | 1 + build/plugins/index.ts | 2 +- package.json | 10 +++++----- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.eslintignore b/.eslintignore index dad5cc2ca..1ef4d2bd6 100644 --- a/.eslintignore +++ b/.eslintignore @@ -1,6 +1,5 @@ .vscode .idea -.vscode .local !.env-config.ts components.d.ts diff --git a/.vscode/settings.json b/.vscode/settings.json index bc949a8a0..5d08eee58 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -16,6 +16,7 @@ "typescript", "typescriptreact", "vue", + "html", "json", "jsonc", "json5", diff --git a/build/plugins/index.ts b/build/plugins/index.ts index 0508f5a0e..a42799544 100644 --- a/build/plugins/index.ts +++ b/build/plugins/index.ts @@ -18,7 +18,7 @@ export function setupVitePlugins(viteEnv: ImportMetaEnv): (PluginOption | Plugin const plugins = [vue(), vueJsx(), VitePWA(), html(viteEnv), ...unplugin, unocss(), mock, progress()]; if (viteEnv.VITE_VISUALIZER === 'Y') { - plugins.push(visualizer); + plugins.push(visualizer as PluginOption); } if (viteEnv.VITE_COMPRESS === 'Y') { plugins.push(compress(viteEnv)); diff --git a/package.json b/package.json index 971c3f068..4c56ed009 100644 --- a/package.json +++ b/package.json @@ -65,7 +65,7 @@ "echarts": "^5.3.3", "form-data": "^4.0.0", "lodash-es": "^4.17.21", - "naive-ui": "^2.33.0", + "naive-ui": "2.32.2", "pinia": "^2.0.21", "print-js": "^1.6.0", "qs": "^6.11.0", @@ -79,9 +79,9 @@ }, "devDependencies": { "@amap/amap-jsapi-types": "^0.0.8", - "@commitlint/cli": "^17.1.1", + "@commitlint/cli": "^17.1.2", "@commitlint/config-conventional": "^17.1.0", - "@iconify/json": "^2.1.99", + "@iconify/json": "^2.1.100", "@iconify/vue": "^3.2.1", "@milahu/patch-package": "^6.4.14", "@types/bmapgl": "^0.0.5", @@ -96,7 +96,7 @@ "cz-conventional-changelog": "^3.3.0", "cz-customizable": "^6.9.2", "eslint": "^8.23.0", - "eslint-config-soybeanjs-vue": "^0.0.8", + "eslint-config-soybeanjs-vue": "^0.0.9", "husky": "^8.0.1", "lint-staged": "^13.0.3", "mockjs": "^1.1.0", @@ -117,7 +117,7 @@ "vite-plugin-progress": "^0.0.3", "vite-plugin-pwa": "^0.12.3", "vite-plugin-svg-icons": "^2.0.1", - "vue-tsc": "^0.40.3" + "vue-tsc": "^0.40.4" }, "lint-staged": { "*.{vue,js,jsx,ts,tsx,json}": "eslint --fix"