You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by jl...@apache.org on 2026/08/03 17:29:32 UTC

(superset) 01/01: fix(ci): validate frontend dependency tree

This is an automated email from the ASF dual-hosted git repository.

sadpandajoe pushed a commit to branch codex/ci-master-06628bb-20260803
in repository https://gitbox.apache.org/repos/asf/superset.git

commit ce4d29c5464b008d9decd08d507830afaa3f68fa
Author: Joe Li <jo...@preset.io>
AuthorDate: Mon Aug 3 10:28:24 2026 -0700

    fix(ci): validate frontend dependency tree
---
 .github/workflows/superset-frontend.yml |  5 +++++
 superset-frontend/package-lock.json     | 15 ---------------
 2 files changed, 5 insertions(+), 15 deletions(-)

diff --git a/.github/workflows/superset-frontend.yml b/.github/workflows/superset-frontend.yml
index 923ec8ed8f5..e48e6b5dd2e 100644
--- a/.github/workflows/superset-frontend.yml
+++ b/.github/workflows/superset-frontend.yml
@@ -177,6 +177,11 @@ jobs:
         run: |
           zstd -d < docker-image.tar.zst | docker load
 
+      - name: Validate dependency tree
+        run: |
+          docker run --rm $TAG bash -c \
+          "npm ls --all --package-lock-only --depth=0 --json > /dev/null"
+
       - name: Build Plugins Packages
         run: |
           docker run --rm $TAG bash -c \
diff --git a/superset-frontend/package-lock.json b/superset-frontend/package-lock.json
index 9f94e68739b..3c5ae20904f 100644
--- a/superset-frontend/package-lock.json
+++ b/superset-frontend/package-lock.json
@@ -43583,21 +43583,6 @@
         "url": "https://github.com/chalk/chalk?sponsor=1"
       }
     },
-    "packages/generator-superset/node_modules/fs-extra": {
-      "version": "11.3.2",
-      "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-11.3.2.tgz",
-      "integrity": "sha512-Xr9F6z6up6Ws+NjzMCZc6WXg2YFRlrLP9NQDO3VQrWrfiojdhS56TzueT88ze0uBdCTwEIhQ3ptnmKeWGFAe0A==",
-      "dev": true,
-      "license": "MIT",
-      "dependencies": {
-        "graceful-fs": "^4.2.0",
-        "jsonfile": "^6.0.1",
-        "universalify": "^2.0.0"
-      },
-      "engines": {
-        "node": ">=14.14"
-      }
-    },
     "packages/superset-core": {
       "name": "@apache-superset/core",
       "version": "0.1.0",