Files
sub2api-add/plugins/plugin-admin/build-ui.sh
T
Qiufeng ada4ab3c21
Business Plugins CI / check (plugin-admin) (push) Successful in 1m42s
Business Plugins CI / check (subscription-admin) (push) Successful in 1m30s
feat: complete unified plugin admin v1.1.0
2026-08-30 12:10:04 +08:00

13 lines
383 B
Bash
Executable File

#!/usr/bin/env sh
set -eu
ROOT=$(CDPATH= cd -- "$(dirname -- "$0")" && pwd)
cd "$ROOT/ui-vue"
# Keep the lockfile authoritative in CI and never install dependencies into
# the embedded Go source tree.
npm ci --ignore-scripts
npm run build
cp "$ROOT/ui-build/index.html" "$ROOT/ui-build/app.js" "$ROOT/ui-build/styles.css" "$ROOT/ui/"
printf '%s\n' "TDesign UI built into $ROOT/ui"