From 1354d36426fc5c447b66a9ee880e143087b9de10 Mon Sep 17 00:00:00 2001 From: linuxsuren-fs <339936739+linuxsuren-fs@users.noreply.github.com> Date: Fri, 9 Oct 2026 13:14:15 +0800 Subject: [PATCH] fix: add missing dependencies to console UI lodash and @element-plus/icons-vue are imported by the source but were never declared in package.json, which breaks a fresh npm install and makes vite dev / build fail to resolve those imports. --- console/atest-ui/package-lock.json | 2 ++ console/atest-ui/package.json | 2 ++ 2 files changed, 4 insertions(+) diff --git a/console/atest-ui/package-lock.json b/console/atest-ui/package-lock.json index 83e60dbe..bf69332b 100644 --- a/console/atest-ui/package-lock.json +++ b/console/atest-ui/package-lock.json @@ -10,6 +10,7 @@ "dependencies": { "@codemirror/lang-json": "^6.0.2", "@codemirror/lang-sql": "github:codemirror/lang-sql", + "@element-plus/icons-vue": "^2.3.1", "@vueuse/core": "^10.11.0", "codemirror": "^5.65.17", "codemirror-json-schema": "^0.8.1", @@ -19,6 +20,7 @@ "js-yaml": "^4.1.0", "jsonlint-mod": "^1.7.6", "jsonpath-plus": "^10.3.0", + "lodash": "^4.17.21", "vue": "^3.3.4", "vue-codemirror": "^5.1.0", "vue-i18n": "^11.1.10", diff --git a/console/atest-ui/package.json b/console/atest-ui/package.json index b24b9c85..000a78a2 100644 --- a/console/atest-ui/package.json +++ b/console/atest-ui/package.json @@ -18,6 +18,7 @@ "dependencies": { "@codemirror/lang-json": "^6.0.2", "@codemirror/lang-sql": "github:codemirror/lang-sql", + "@element-plus/icons-vue": "^2.3.1", "@vueuse/core": "^10.11.0", "codemirror": "^5.65.17", "codemirror-json-schema": "^0.8.1", @@ -27,6 +28,7 @@ "js-yaml": "^4.1.0", "jsonlint-mod": "^1.7.6", "jsonpath-plus": "^10.3.0", + "lodash": "^4.17.21", "vue": "^3.3.4", "vue-codemirror": "^5.1.0", "vue-i18n": "^11.1.10",