Commit f5f1c7a
committed
fix: explicit build ordering to handle circular dep between cosmos and interchainjs
pnpm runs cosmos and interchainjs at the same topological level due to
the circular devDep (cosmos has interchainjs as devDep for starship tests).
When cosmos's makage deletes dist/ to rebuild, interchainjs's symlink breaks.
Build strategy:
1. Build leaf packages (packages/*, cosmos-types, solana, ethereum)
2. Build @interchainjs/cosmos (its dist/ must exist before interchainjs)
3. Build interchainjs (depends on cosmos's dist/)
4. Build @interchainjs/injective (tolerant build for pre-existing error)
5. Build remaining downstream packages (excluding cosmos/interchainjs to avoid re-deleting dist/)1 parent 1b1c77d commit f5f1c7a
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
20 | | - | |
| 19 | + | |
| 20 | + | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| |||
0 commit comments