fix(publish): always bundle ui-dist into server package

This commit is contained in:
Dotta
2026-03-09 07:21:33 -05:00
parent e35e2c4343
commit 77e04407b9
3 changed files with 25 additions and 3 deletions

View File

@@ -24,7 +24,10 @@
"scripts": {
"dev": "tsx src/index.ts",
"dev:watch": "PAPERCLIP_MIGRATION_PROMPT=never tsx watch --ignore ../ui/node_modules --ignore ../ui/.vite --ignore ../ui/dist src/index.ts",
"prepare:ui-dist": "bash ../scripts/prepare-server-ui-dist.sh",
"build": "tsc",
"prepack": "pnpm run prepare:ui-dist",
"postpack": "rm -rf ui-dist",
"clean": "rm -rf dist",
"start": "node dist/index.js",
"typecheck": "tsc --noEmit"