Commit 44db288
committed
fix: remove prepublishOnly from @hyperlane-xyz/core
The prepublishOnly script re-ran `pnpm build && pnpm build:zk &&
pnpm build:tron` inside `changeset publish`, causing EPIPE crashes when
hardhat tried to compile solidity 0.8.33 in the resource-constrained
publish subprocess. This was redundant since the release workflow already
runs `pnpm build` before publishing.
Replace with a `prepack` guard that just verifies dist/ exists. Move
build:zk and build:tron into the release script and beta workflow so
they run once, before publish, not inside it.1 parent 26d682b commit 44db288
2 files changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
77 | | - | |
| 77 | + | |
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
| |||
0 commit comments