Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: remove patches for gossipsub, noise and the daemon modules #2694

Merged
merged 2 commits into from
Sep 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion interop/BrowserDockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ WORKDIR /app
COPY package.json ./
COPY ./packages ./packages
COPY ./interop ./interop
COPY ./patches ./patches

# disable colored output and CLI animation from test runners
ENV CI=true
Expand Down
1 change: 0 additions & 1 deletion interop/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ WORKDIR /app
COPY package.json ./
COPY ./packages ./packages
COPY ./interop ./interop
COPY ./patches ./patches

# disable colored output and CLI animation from test runners
ENV CI=true
Expand Down
4 changes: 2 additions & 2 deletions interop/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
"dep-check": "aegir dep-check"
},
"devDependencies": {
"@chainsafe/libp2p-noise": "^15.0.0",
"@chainsafe/libp2p-yamux": "^6.0.2",
"@chainsafe/libp2p-noise": "^16.0.0",
"@chainsafe/libp2p-yamux": "^7.0.0",
"@libp2p/circuit-relay-v2": "^2.0.0",
"@libp2p/interface": "^2.0.0",
"@libp2p/identify": "^3.0.0",
Expand Down
7 changes: 2 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,14 +33,11 @@
"npm:release": "aegir exec --bail false npm -- publish",
"release:rc": "aegir release-rc",
"docs": "aegir docs",
"docs:no-publish": "aegir docs --publish false -- --exclude interop --exclude doc",
"postinstall": "patch-package && rm -rf node_modules/@chainsafe/libp2p-yamux/node_modules node_modules/@chainsafe/libp2p-noise/node_modules node_modules/@chainsafe/libp2p-gossipsub/node_modules node_modules/@libp2p/daemon-client/node_modules node_modules/@libp2p/daemon-server/node_modules node_modules/@libp2p/daemon-protocol/node_modules node_modules/@libp2p/interop/node_modules"
"docs:no-publish": "aegir docs --publish false -- --exclude interop --exclude doc"
},
"devDependencies": {
"aegir": "^44.0.1",
"npm-run-all": "^4.1.5",
"patch-package": "^8.0.0",
"rimraf": "^6.0.1"
"npm-run-all": "^4.1.5"
},
"eslintConfig": {
"extends": "ipfs",
Expand Down
12 changes: 6 additions & 6 deletions packages/integration-tests/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,14 +33,14 @@
"dep-check": "aegir dep-check"
},
"devDependencies": {
"@chainsafe/libp2p-gossipsub": "^13.0.0",
"@chainsafe/libp2p-noise": "^15.0.0",
"@chainsafe/libp2p-yamux": "^6.0.2",
"@chainsafe/libp2p-gossipsub": "^14.0.0",
"@chainsafe/libp2p-noise": "^16.0.0",
"@chainsafe/libp2p-yamux": "^7.0.0",
"@libp2p/bootstrap": "^11.0.0",
"@libp2p/circuit-relay-v2": "^2.0.0",
"@libp2p/crypto": "^5.0.0",
"@libp2p/daemon-client": "^8.0.5",
"@libp2p/daemon-server": "^7.0.5",
"@libp2p/daemon-client": "^9.0.1",
"@libp2p/daemon-server": "^8.0.1",
"@libp2p/dcutr": "^2.0.0",
"@libp2p/echo": "^2.0.0",
"@libp2p/fetch": "^2.0.0",
Expand All @@ -49,7 +49,7 @@
"@libp2p/interface": "^2.0.0",
"@libp2p/interface-compliance-tests": "^6.0.0",
"@libp2p/interface-internal": "^2.0.0",
"@libp2p/interop": "^12.2.0",
"@libp2p/interop": "^13.0.0",
"@libp2p/kad-dht": "^13.0.0",
"@libp2p/logger": "^5.0.0",
"@libp2p/mdns": "^11.0.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/libp2p/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@
"uint8arrays": "^5.1.0"
},
"devDependencies": {
"@chainsafe/libp2p-yamux": "^6.0.2",
"@chainsafe/libp2p-yamux": "^7.0.0",
"@libp2p/circuit-relay-v2": "^2.0.0",
"@libp2p/identify": "^3.0.0",
"@libp2p/interface-compliance-tests": "^6.0.0",
Expand Down
4 changes: 2 additions & 2 deletions packages/transport-webrtc/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
"doc-check": "aegir doc-check"
},
"dependencies": {
"@chainsafe/libp2p-noise": "^15.0.0",
"@chainsafe/libp2p-noise": "^16.0.0",
"@libp2p/interface": "^2.0.0",
"@libp2p/interface-internal": "^2.0.0",
"@libp2p/peer-id": "^5.0.0",
Expand All @@ -77,7 +77,7 @@
"uint8arrays": "^5.1.0"
},
"devDependencies": {
"@chainsafe/libp2p-yamux": "^6.0.2",
"@chainsafe/libp2p-yamux": "^7.0.0",
"@libp2p/circuit-relay-v2": "^2.0.0",
"@libp2p/crypto": "^5.0.0",
"@libp2p/identify": "^3.0.0",
Expand Down
4 changes: 2 additions & 2 deletions packages/transport-webtransport/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
"test:chrome-webworker": "aegir test -t webworker"
},
"dependencies": {
"@chainsafe/libp2p-noise": "^15.0.0",
"@chainsafe/libp2p-noise": "^16.0.0",
"@libp2p/interface": "^2.0.0",
"@libp2p/peer-id": "^5.0.0",
"@libp2p/utils": "^6.0.0",
Expand All @@ -65,7 +65,7 @@
},
"devDependencies": {
"@libp2p/crypto": "^5.0.0",
"@libp2p/daemon-client": "^8.0.5",
"@libp2p/daemon-client": "^9.0.1",
"@libp2p/logger": "^5.0.0",
"@libp2p/ping": "^2.0.0",
"@noble/hashes": "^1.4.0",
Expand Down
6,447 changes: 0 additions & 6,447 deletions patches/@chainsafe+libp2p-gossipsub+13.2.0.patch

This file was deleted.

767 changes: 0 additions & 767 deletions patches/@chainsafe+libp2p-noise+15.1.2.patch

This file was deleted.

2,295 changes: 0 additions & 2,295 deletions patches/@chainsafe+libp2p-yamux+6.0.2.patch

This file was deleted.

1,731 changes: 0 additions & 1,731 deletions patches/@libp2p+daemon-client+8.0.6.patch

This file was deleted.

580 changes: 0 additions & 580 deletions patches/@libp2p+daemon-server+7.0.6.patch

This file was deleted.

Loading