Commit d049b8c
committed
fix(babylonlabs-io-btc-staking-ts): resolve build issue caused by dependency conflicts
ISSUE:
- Babylonlabs package (@bitgo/babylonlabs-io-btc-staking-ts) was failing to build
- Root cause: Lerna 8 upgrade introduced newer minimatch versions (9.x-10.x) that
conflicted with older @types/[email protected] interface expectations
- Error: Type 'IOptions' is not assignable to type 'IOptions' in dts-bundle-generator
SOLUTION:
- Add @types/glob@^8.1.0 locally to babylonlabs package (compatible with newer minimatch versions)
- Keep dts-bundle-generator at original version ^9.3.1 (no version bump needed)
- Use local dependency approach to keep fix targeted to affected package only
TECHNICAL DETAILS:
- Lerna 8 brings in [email protected] via NX integration
- @types/[email protected] expected [email protected] interface
- @types/[email protected] is compatible with [email protected]
- Local dependency prevents affecting other packages in the monorepo
VERIFICATION:
- Babylonlabs package builds successfully from clean cache
- Other packages remain unaffected
- dts-bundle-generator works correctly with updated type definitions
TICKET: WP-60961 parent dd62c38 commit d049b8c
File tree
2 files changed
+14
-0
lines changed- modules/babylonlabs-io-btc-staking-ts
2 files changed
+14
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| 35 | + | |
35 | 36 | | |
36 | 37 | | |
37 | 38 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5567 | 5567 | | |
5568 | 5568 | | |
5569 | 5569 | | |
| 5570 | + | |
| 5571 | + | |
| 5572 | + | |
| 5573 | + | |
| 5574 | + | |
| 5575 | + | |
| 5576 | + | |
| 5577 | + | |
5570 | 5578 | | |
5571 | 5579 | | |
5572 | 5580 | | |
| |||
5690 | 5698 | | |
5691 | 5699 | | |
5692 | 5700 | | |
| 5701 | + | |
| 5702 | + | |
| 5703 | + | |
| 5704 | + | |
| 5705 | + | |
5693 | 5706 | | |
5694 | 5707 | | |
5695 | 5708 | | |
| |||
0 commit comments