You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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-6096
0 commit comments