Skip to content
This repository was archived by the owner on Feb 12, 2024. It is now read-only.

Commit 6c3cb73

Browse files
authoredApr 5, 2022
fix: exclude fs from bundle (#4076)
We used to have 'fs' in our dep tree via ora via mock-ipfs-pinning-service but that seems to have changed. We only want to import 'fs' during node tests but esbuild tries to resolve it, so add the dummy fs package as a dev dep to the affected packages.
1 parent 1a73160 commit 6c3cb73

File tree

6 files changed

+11
-7
lines changed

6 files changed

+11
-7
lines changed
 

‎packages/ipfs-core-config/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@
9595
"it-foreach": "^0.1.1",
9696
"it-drain": "^1.0.3",
9797
"libp2p-floodsub": "^0.29.0",
98-
"libp2p-gossipsub": "^0.13.0",
98+
"libp2p-gossipsub": "0.13.0",
9999
"libp2p-kad-dht": "^0.28.5",
100100
"libp2p-mdns": "^0.18.0",
101101
"libp2p-mplex": "^0.10.2",

‎packages/ipfs-core-utils/package.json

+3
Original file line numberDiff line numberDiff line change
@@ -139,5 +139,8 @@
139139
"@web-std/file": "^1.1.2",
140140
"aegir": "^36.0.1",
141141
"rimraf": "^3.0.2"
142+
},
143+
"browser": {
144+
"fs": false
142145
}
143146
}

‎packages/ipfs-core/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -137,12 +137,12 @@
137137
"@types/rimraf": "^3.0.1",
138138
"aegir": "^36.0.1",
139139
"delay": "^5.0.0",
140-
"go-ipfs": "0.11.0",
140+
"go-ipfs": "0.12.1",
141141
"interface-blockstore-tests": "^2.0.2",
142142
"interface-ipfs-core": "^0.154.2",
143143
"ipfsd-ctl": "^10.0.4",
144144
"iso-url": "^1.0.0",
145-
"libp2p-gossipsub": "^0.13.0",
145+
"libp2p-gossipsub": "0.13.0",
146146
"nanoid": "^3.1.23",
147147
"npm-run-all": "^4.1.5",
148148
"p-defer": "^3.0.0",

‎packages/ipfs-http-client/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@
7676
"devDependencies": {
7777
"aegir": "^36.0.1",
7878
"delay": "^5.0.0",
79-
"go-ipfs": "0.11.0",
79+
"go-ipfs": "0.12.1",
8080
"ipfsd-ctl": "^10.0.4",
8181
"it-all": "^1.0.4",
8282
"it-first": "^1.0.4",

‎packages/ipfs-http-server/package.json

+1
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@
8181
"devDependencies": {
8282
"@types/hapi-pino": "^8.0.1",
8383
"@types/hapi__hapi": "^20.0.5",
84+
"@types/node": "^17.0.23",
8485
"aegir": "^36.0.1",
8586
"form-data": "^4.0.0",
8687
"ipfs-http-client": "^56.0.2",

‎packages/ipfs/package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -83,18 +83,18 @@
8383
"copyfiles": "^2.4.1",
8484
"cross-env": "^7.0.0",
8585
"electron-webrtc": "^0.3.0",
86-
"go-ipfs": "0.11.0",
86+
"go-ipfs": "0.12.1",
8787
"interface-ipfs-core": "^0.154.2",
8888
"ipfs-client": "^0.7.8",
8989
"ipfs-core-types": "^0.10.2",
9090
"ipfs-http-client": "^56.0.2",
91-
"ipfs-interop": "^8.0.8",
91+
"ipfs-interop": "^8.0.9",
9292
"ipfs-utils": "^9.0.2",
9393
"ipfsd-ctl": "^10.0.4",
9494
"iso-url": "^1.0.0",
9595
"libp2p-webrtc-star-signalling-server": "^0.1.1",
9696
"merge-options": "^3.0.4",
97-
"mock-ipfs-pinning-service": "^0.1.2",
97+
"mock-ipfs-pinning-service": "^0.4.2",
9898
"npm-run-all": "^4.1.5",
9999
"rimraf": "^3.0.2",
100100
"url": "^0.11.0",

0 commit comments

Comments
 (0)
This repository has been archived.