Commit 4628183
committed
fix: remove recursive publish scripts causing double publish in CI
The 'publish' npm scripts in contracts and SDK package.json files
caused npm to recursively call itself during the publish lifecycle:
1. npm publish runs
2. prepack hook runs (build)
3. npm finds 'publish' script and runs it
4. 'publish' script is 'npm publish' → starts whole process again!
5. Second publish fails with 403 (already published)
Removing these scripts allows npm publish to run once without recursion.
Signed-off-by: Miguel_LZPF <[email protected]>1 parent 26421ab commit 4628183
File tree
3 files changed
+17
-2
lines changed- .changeset
- packages/ats
- contracts
- sdk
3 files changed
+17
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
70 | | - | |
71 | 70 | | |
72 | 71 | | |
73 | 72 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
26 | 25 | | |
27 | 26 | | |
28 | 27 | | |
| |||
0 commit comments