Commit c58f728
committed
fix(cli): strip workspaces from package.json before bun install
Bun strictly validates that all workspaces exist before installing,
unlike npm/node which just warns. This causes deployments to fail
with 'Workspace not found' error when using runtime: 'bun' in
projects with workspaces defined in package.json.
The fix strips the workspaces field from package.json before running
bun install, preventing the validation error.
Fixes #32721 parent 2366b21 commit c58f728
1 file changed
+3
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
764 | 764 | | |
765 | 765 | | |
766 | 766 | | |
| 767 | + | |
| 768 | + | |
| 769 | + | |
767 | 770 | | |
768 | 771 | | |
769 | 772 | | |
| |||
0 commit comments