Skip to content

Commit 5d8ec8f

Browse files
committed
chore: install kubo from merged npm-kubo
ipfs/npm-kubo#83 (on-demand binary fetch from github releases) landed on master. Pin the kubo dependency to the latest npm-kubo master commit and drop the macos build TODO that was gating the switch.
1 parent 2274a82 commit 5d8ec8f

3 files changed

Lines changed: 7 additions & 10 deletions

File tree

package-lock.json

Lines changed: 6 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@
8585
"ipfs-utils": "^9.0.10",
8686
"ipfsd-ctl": "10.0.6",
8787
"it-last": "^1.0.6",
88-
"kubo": "git+https://github.com/ipfs/npm-kubo.git#fix/binary-fetching",
88+
"kubo": "git+https://github.com/ipfs/npm-kubo.git#7a5e299c801ee9eae2c29d8753b76dc23b007e14",
8989
"multiaddr": "10.0.1",
9090
"multiaddr-to-uri": "8.0.0",
9191
"portfinder": "^1.0.32",

pkgs/macos/build-universal-kubo-binary.js

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,6 @@ const execLog = (cmd) => {
3939
const architectures = ['amd64', 'arm64']
4040
for (const arch of architectures) {
4141
const archDir = path.join(tmpDir, `kubo-${arch}`)
42-
// TODO: parked until the `kubo` dependency is bumped to the npm-kubo
43-
// release that fetches from GitHub releases and accepts `releasesUrl`
44-
// (ipfs/npm-kubo#83). Do not merge before that version is published and
45-
// `kubo` is bumped in package.json; until then the installed kubo still
46-
// expects `distUrl` (dist.ipfs.tech).
4742
await downloadKubo({
4843
version: kuboVersion,
4944
platform: 'darwin',

0 commit comments

Comments
 (0)