Fix worktree provisioning and relinking

Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
dotta 2026-04-05 22:42:54 -05:00
parent 8be6fe987b
commit 7e34d6c66b
5 changed files with 35 additions and 99 deletions

View file

@ -14,10 +14,11 @@
},
"type": "module",
"scripts": {
"dev": "vite",
"build": "tsc -b && vite build",
"preflight:workspace-links": "tsx ../scripts/ensure-workspace-package-links.ts",
"dev": "pnpm run preflight:workspace-links && vite",
"build": "pnpm run preflight:workspace-links && tsc -b && vite build",
"preview": "vite preview",
"typecheck": "tsc -b",
"typecheck": "pnpm run preflight:workspace-links && tsc -b",
"clean": "rm -rf dist tsconfig.tsbuildinfo",
"prepack": "rm -f package.dev.json && cp package.json package.dev.json && node ../scripts/generate-ui-package-json.mjs",
"postpack": "if [ -f package.dev.json ]; then mv package.dev.json package.json; fi"