Commit ce33ba8
Fix prepack script to use yarn instead of npm
Change the build.prepack script to use 'yarn run build' instead of
'npm run build'. In a yarn workspace, using npm to run scripts that
depend on workspace features (like 'yarn workspace react-on-rails run build')
causes build failures.
This fixes the yalc package publishing failures in CI where the prepack
script would fail silently, resulting in packages being published without
the built files, leading to downstream errors.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>1 parent 02ca90d commit ce33ba8
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
| 29 | + | |
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| |||
0 commit comments