mirror of
https://github.com/alkimake/paperclip.git
synced 2026-06-14 01:50:39 +09:00
fix(publish): always bundle ui-dist into server package
This commit is contained in:
parent
e35e2c4343
commit
77e04407b9
3 changed files with 25 additions and 3 deletions
|
|
@ -283,9 +283,7 @@ pnpm --filter @paperclipai/adapter-openclaw-gateway build
|
|||
pnpm --filter @paperclipai/server build
|
||||
|
||||
# Build UI and bundle into server package for static serving
|
||||
pnpm --filter @paperclipai/ui build
|
||||
rm -rf "$REPO_ROOT/server/ui-dist"
|
||||
cp -r "$REPO_ROOT/ui/dist" "$REPO_ROOT/server/ui-dist"
|
||||
bash "$REPO_ROOT/scripts/prepare-server-ui-dist.sh"
|
||||
|
||||
# Bundle skills into packages that need them (adapters + server)
|
||||
for pkg_dir in server packages/adapters/claude-local packages/adapters/codex-local; do
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue