Skip to content

Commit eb8fef2

Browse files
committed
fix(realfi-partner-sdk): unblock BitGoJS CI for RealFi fork
Relax engines to >=20, mark private until npm package exists, ignore Node 22-only transitive engines on install, and skip lint/format on vendored sources like the Babylon fork. Co-authored-by: Cursor <cursoragent@cursor.com> TICKET: SI-1292
1 parent ab6a0cf commit eb8fef2

6 files changed

Lines changed: 609 additions & 10 deletions

File tree

.eslintignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
modules/babylonlabs-io-btc-staking-ts
1+
modules/babylonlabs-io-btc-staking-ts
2+
modules/realfi-partner-sdk

.prettierignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,5 @@ CHANGELOG.md
88
flake.lock
99

1010
modules/babylonlabs-io-btc-staking-ts/
11+
modules/realfi-partner-sdk/
1112
/.nx/workspace-data

.yarnrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
registry "https://registry.npmjs.org"
2+
ignore-engines true

modules/realfi-partner-sdk/UPSTREAM.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,14 @@
66
| Upstream version | `2.14.0` (`latest` / `preview` dist-tag) |
77
| Upstream commit | `1a8d3c0605f383e1180f8405075c08e14689ac47` |
88
| Built at | `2026-08-19T13:16:56.044Z` (from `dist/build-info.json`) |
9-
| BitGo package | `@bitgo/realfi-partner-sdk` |
9+
| BitGo package | `@bitgo/realfi-partner-sdk` (`private: true` until first npm create + publish) |
1010
| Ticket | [SI-1292](https://linear.app/bitgo/issue/SI-1292) |
1111

12+
CI notes:
13+
- `engines.node` is `>=20` to match BitGoJS (upstream / `@cardano-sdk/core` want `>=22`; WP runtime is 22).
14+
- Root `.yarnrc` sets `ignore-engines true` so Node 20 CI can install those transitive deps (same class of issue as shipping Cardano SDK into this monorepo).
15+
- `private: true` skips `verify-npm-packages` until the package is created on npm; unset before first publish.
16+
1217
## Related dist-tags (at pin time)
1318

1419
| Tag | Version |

modules/realfi-partner-sdk/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"name": "@bitgo/realfi-partner-sdk",
33
"version": "2.14.0",
4+
"private": true,
45
"description": "BitGo fork of RealFi partner SDK for Cardano sUSDr liquid staking (Plutus order txs).",
56
"type": "module",
67
"sideEffects": false,
@@ -28,7 +29,7 @@
2829
"UPSTREAM.md"
2930
],
3031
"engines": {
31-
"node": ">=22"
32+
"node": ">=20"
3233
},
3334
"scripts": {
3435
"build": "echo 'Prebuilt dist from upstream @realfi-co/realfi-partner-sdk@2.14.0 — see UPSTREAM.md'",

0 commit comments

Comments
 (0)