ARTEX - AI autonomous penetration testing system (English translation; upstream: Autumn-27/ARTEX, AGPL-3.0)
Go aiai-agentsautonomous-agentsbug-bountydockergolanglinuxllmmcpnextjspenetration-testingpentestpostgresqlreareactred-teamsecuritysecurity-automationsqlitetypescript
build: run npm ci with --ignore-scripts in the build/install/update scripts
Luis9be6b76420d1
diff --git a/build.sh b/build.shindex d830b38..ec7a31e 100755--- a/build.sh+++ b/build.sh@@ -118,7 +118,7 @@ elsecommand -v rsync >/dev/null 2>&1 || die "rsync not detected"info "Building frontend static assets"if [ "${ARTEX_SKIP_NPM_CI:-0}" != "1" ]; then- (cd web && npm ci)+ (cd web && npm ci --ignore-scripts)fi(cd web && npm run build:static)info "Syncing frontend assets to server/webui/dist"diff --git a/install.sh b/install.shindex d6ed9e6..8c245d6 100755--- a/install.sh+++ b/install.sh@@ -106,7 +106,7 @@ JSON# embedding the frontend requires node to produce the static assetsif command -v npm >/dev/null 2>&1; theninfo "building frontend static assets..."- ( cd web && npm ci && npm run build:static )+ ( cd web && npm ci --ignore-scripts && npm run build:static )rm -rf server/webui/dist && cp -r web/out server/webui/distinfo "compiling embedded single binary..."CGO_ENABLED=0 go build -tags embedui -trimpath -o artex ./cmd/artexdiff --git a/update.sh b/update.shindex 8b74905..b312b7b 100755--- a/update.sh+++ b/update.sh@@ -56,7 +56,7 @@ update_local(){if command -v npm >/dev/null 2>&1; theninfo "Rebuilding frontend static assets…"- ( cd web && npm ci && npm run build:static )+ ( cd web && npm ci --ignore-scripts && npm run build:static )rm -rf server/webui/dist && cp -r web/out server/webui/distinfo "Recompiling the embedded single binary…"CGO_ENABLED=0 go build -tags embedui -trimpath -o artex ./cmd/artex