add development and build scripts

This commit is contained in:
2026-07-18 22:03:48 +08:00
parent 7800b07d42
commit f7cd69c70f
5 changed files with 77 additions and 0 deletions

10
scripts/build-web.sh Executable file
View File

@@ -0,0 +1,10 @@
#!/usr/bin/env bash
set -euo pipefail
ROOT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
cd "$ROOT_DIR/apps/web"
npm run build
echo "Web build output: $ROOT_DIR/apps/web/dist"