fix(docker): filter pnpm build to packages/ only — avoids mcp-server type error

This commit is contained in:
saravanakumardb1 2026-04-13 15:51:39 -07:00
parent e0258a2c0d
commit ff7f658628

View File

@ -32,9 +32,9 @@ echo "=== docker-prep: packing @bytelyst/* tarballs ==="
rm -rf "$TARBALL_DIR"
mkdir -p "$TARBALL_DIR"
# Build all packages first
# Build all packages first (--filter limits to packages/, skips services/)
echo "Building @bytelyst/* packages..."
(cd "$COMMON_PLAT" && pnpm build)
(cd "$COMMON_PLAT" && pnpm -r --filter './packages/*' build)
# Pack each package and build a mapping of name → tarball filename
# (uses a temp file instead of associative array for bash 3.2 compat)