Skip to content

Commit

Permalink
fix: align dependency versions and update project config (#2357)
Browse files Browse the repository at this point in the history
Updates dependency versions and updates sibling module tsconfig references.
  • Loading branch information
achingbrain authored Jan 12, 2024
1 parent 2634640 commit 8bbd436
Show file tree
Hide file tree
Showing 39 changed files with 144 additions and 169 deletions.
2 changes: 1 addition & 1 deletion .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ updates:
schedule:
interval: daily
time: "10:00"
open-pull-requests-limit: 10
open-pull-requests-limit: 20
commit-message:
prefix: "deps"
prefix-development: "deps(dev)"
8 changes: 4 additions & 4 deletions doc/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,12 @@
},
"dependencies": {
"@chainsafe/libp2p-yamux": "^6.0.1",
"@libp2p/interface": "^1.0.0",
"@libp2p/mplex": "^10.0.0",
"@libp2p/interface": "^1.1.1",
"@libp2p/mplex": "^10.0.10",
"@libp2p/prometheus-metrics": "^3.0.0",
"@libp2p/tcp": "^9.0.0",
"@libp2p/tcp": "^9.0.10",
"aegir": "^42.0.0",
"libp2p": "^1.0.0",
"libp2p": "^1.1.1",
"prom-client": "^15.0.0"
},
"private": true
Expand Down
4 changes: 4 additions & 0 deletions interop/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@
"bugs": {
"url": "https://github.com/libp2p/js-libp2p/issues"
},
"publishConfig": {
"access": "public",
"provenance": true
},
"type": "module",
"types": "./dist/src/index.d.ts",
"files": [
Expand Down
4 changes: 2 additions & 2 deletions packages/connection-encrypter-plaintext/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
"it-protobuf-stream": "^1.1.1",
"it-stream-types": "^2.0.1",
"protons-runtime": "^5.0.0",
"uint8arraylist": "^2.4.3"
"uint8arraylist": "^2.4.7"
},
"devDependencies": {
"@libp2p/interface-compliance-tests": "^5.1.2",
Expand All @@ -65,6 +65,6 @@
"@multiformats/multiaddr": "^12.1.10",
"aegir": "^42.0.0",
"protons": "^7.3.0",
"sinon": "^17.0.0"
"sinon": "^17.0.1"
}
}
24 changes: 12 additions & 12 deletions packages/integration-tests/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,29 +37,29 @@
"@chainsafe/libp2p-noise": "^14.0.0",
"@chainsafe/libp2p-yamux": "^6.0.1",
"@libp2p/bootstrap": "^10.0.7",
"@libp2p/circuit-relay-v2": "^1.0.0",
"@libp2p/circuit-relay-v2": "^1.0.10",
"@libp2p/crypto": "^3.0.2",
"@libp2p/daemon-client": "^8.0.1",
"@libp2p/daemon-server": "^7.0.1",
"@libp2p/dcutr": "^1.0.0",
"@libp2p/fetch": "^1.0.0",
"@libp2p/floodsub": "^9.0.0",
"@libp2p/identify": "^1.0.0",
"@libp2p/identify": "^1.0.9",
"@libp2p/interface": "^1.0.0",
"@libp2p/interface-compliance-tests": "^5.0.0",
"@libp2p/interface-compliance-tests": "^5.1.1",
"@libp2p/interface-internal": "^1.0.0",
"@libp2p/interop": "^10.0.0",
"@libp2p/kad-dht": "^12.0.0",
"@libp2p/logger": "^4.0.1",
"@libp2p/logger": "^4.0.4",
"@libp2p/mdns": "^10.0.7",
"@libp2p/mplex": "^10.0.0",
"@libp2p/peer-id": "^4.0.0",
"@libp2p/peer-id-factory": "^4.0.1",
"@libp2p/mplex": "^10.0.10",
"@libp2p/peer-id": "^4.0.4",
"@libp2p/peer-id-factory": "^4.0.3",
"@libp2p/ping": "^1.0.0",
"@libp2p/plaintext": "^1.0.0",
"@libp2p/tcp": "^9.0.0",
"@libp2p/plaintext": "^1.0.10",
"@libp2p/tcp": "^9.0.10",
"@libp2p/webrtc": "^4.0.0",
"@libp2p/websockets": "^8.0.0",
"@libp2p/websockets": "^8.0.10",
"@multiformats/mafmt": "^12.1.6",
"@multiformats/multiaddr": "^12.1.10",
"aegir": "^42.0.0",
Expand All @@ -68,14 +68,14 @@
"go-libp2p": "^1.1.1",
"it-all": "^3.0.3",
"it-pipe": "^3.0.1",
"libp2p": "^1.0.0",
"libp2p": "^1.1.1",
"merge-options": "^3.0.4",
"multiformats": "^13.0.0",
"p-defer": "^4.0.0",
"p-event": "^6.0.0",
"p-retry": "^6.1.0",
"p-wait-for": "^5.0.2",
"sinon": "^17.0.0",
"sinon": "^17.0.1",
"uint8arraylist": "^2.4.3",
"uint8arrays": "^5.0.0",
"wherearewe": "^2.0.1"
Expand Down
18 changes: 18 additions & 0 deletions packages/integration-tests/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@
{
"path": "../connection-encrypter-plaintext"
},
{
"path": "../crypto"
},
{
"path": "../interface"
},
Expand All @@ -20,9 +23,21 @@
{
"path": "../interface-internal"
},
{
"path": "../kad-dht"
},
{
"path": "../libp2p"
},
{
"path": "../logger"
},
{
"path": "../peer-discovery-bootstrap"
},
{
"path": "../peer-discovery-mdns"
},
{
"path": "../peer-id"
},
Expand All @@ -41,6 +56,9 @@
{
"path": "../protocol-ping"
},
{
"path": "../pubsub-floodsub"
},
{
"path": "../stream-multiplexer-mplex"
},
Expand Down
10 changes: 7 additions & 3 deletions packages/interface-compliance-tests/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@
"bugs": {
"url": "https://github.com/libp2p/js-libp2p/issues"
},
"publishConfig": {
"access": "public",
"provenance": true
},
"keywords": [
"interface",
"libp2p"
Expand Down Expand Up @@ -121,8 +125,8 @@
"it-ndjson": "^1.0.3",
"it-pair": "^2.0.6",
"it-pipe": "^3.0.1",
"it-protobuf-stream": "^1.0.2",
"it-pushable": "^3.2.1",
"it-protobuf-stream": "^1.1.1",
"it-pushable": "^3.2.3",
"it-stream-types": "^2.0.1",
"it-to-buffer": "^4.0.2",
"merge-options": "^3.0.4",
Expand All @@ -132,7 +136,7 @@
"p-wait-for": "^5.0.2",
"protons-runtime": "^5.0.0",
"sinon": "^17.0.0",
"uint8arraylist": "^2.4.3",
"uint8arraylist": "^2.4.7",
"uint8arrays": "^5.0.0"
},
"devDependencies": {
Expand Down
3 changes: 3 additions & 0 deletions packages/interface-compliance-tests/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@
},
{
"path": "../peer-id-factory"
},
{
"path": "../utils"
}
]
}
18 changes: 1 addition & 17 deletions packages/interface-internal/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,22 +21,6 @@
],
"type": "module",
"types": "./dist/src/index.d.ts",
"typesVersions": {
"*": {
"*": [
"*",
"dist/*",
"dist/src/*",
"dist/src/*/index"
],
"src/*": [
"*",
"dist/*",
"dist/src/*",
"dist/src/*/index"
]
}
},
"files": [
"src",
"dist",
Expand Down Expand Up @@ -66,7 +50,7 @@
"@libp2p/interface": "^1.1.1",
"@libp2p/peer-collections": "^5.1.4",
"@multiformats/multiaddr": "^12.1.10",
"uint8arraylist": "^2.4.3"
"uint8arraylist": "^2.4.7"
},
"devDependencies": {
"aegir": "^42.0.0"
Expand Down
20 changes: 2 additions & 18 deletions packages/interface/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,22 +21,6 @@
],
"type": "module",
"types": "./dist/src/index.d.ts",
"typesVersions": {
"*": {
"*": [
"*",
"dist/*",
"dist/src/*",
"dist/src/*/index"
],
"src/*": [
"*",
"dist/*",
"dist/src/*",
"dist/src/*/index"
]
}
},
"files": [
"src",
"dist",
Expand Down Expand Up @@ -64,11 +48,11 @@
},
"dependencies": {
"@multiformats/multiaddr": "^12.1.10",
"it-pushable": "^3.2.1",
"it-pushable": "^3.2.3",
"it-stream-types": "^2.0.1",
"multiformats": "^13.0.0",
"progress-events": "^1.0.0",
"uint8arraylist": "^2.4.3"
"uint8arraylist": "^2.4.7"
},
"devDependencies": {
"aegir": "^42.0.0"
Expand Down
25 changes: 1 addition & 24 deletions packages/interface/typedoc.json
Original file line number Diff line number Diff line change
@@ -1,28 +1,5 @@
{
"entryPoints": [
"./src/index.ts",
"./src/connection/index.ts",
"./src/connection-encrypter/index.ts",
"./src/connection-gater/index.ts",
"./src/content-routing/index.ts",
"./src/errors.ts",
"./src/events.ts",
"./src/keychain/index.ts",
"./src/keys/index.ts",
"./src/metrics/index.ts",
"./src/metrics/tracked-map.ts",
"./src/peer-discovery/index.ts",
"./src/peer-id/index.ts",
"./src/peer-info/index.ts",
"./src/peer-routing/index.ts",
"./src/peer-store/index.ts",
"./src/peer-store/tags.ts",
"./src/pubsub/index.ts",
"./src/record/index.ts",
"./src/startable.ts",
"./src/stream-handler/index.ts",
"./src/stream-muxer/index.ts",
"./src/stream-muxer/stream.ts",
"./src/transport/index.ts"
"./src/index.ts"
]
}
16 changes: 8 additions & 8 deletions packages/kad-dht/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -72,10 +72,10 @@
"it-length-prefixed": "^9.0.3",
"it-map": "^3.0.4",
"it-merge": "^3.0.0",
"it-parallel": "^3.0.0",
"it-parallel": "^3.0.6",
"it-pipe": "^3.0.1",
"it-protobuf-stream": "^1.0.2",
"it-pushable": "^3.2.1",
"it-protobuf-stream": "^1.1.1",
"it-pushable": "^3.2.3",
"it-take": "^3.0.1",
"multiformats": "^13.0.0",
"p-defer": "^4.0.0",
Expand All @@ -85,8 +85,8 @@
"progress-events": "^1.0.0",
"protons-runtime": "^5.0.0",
"race-signal": "^1.0.2",
"uint8-varint": "^2.0.0",
"uint8arraylist": "^2.4.3",
"uint8-varint": "^2.0.2",
"uint8arraylist": "^2.4.7",
"uint8arrays": "^5.0.0"
},
"devDependencies": {
Expand All @@ -98,11 +98,11 @@
"@types/lodash.range": "^3.2.6",
"@types/which": "^3.0.0",
"aegir": "^42.0.0",
"datastore-core": "^9.0.1",
"datastore-core": "^9.1.1",
"datastore-level": "^10.0.0",
"delay": "^6.0.0",
"execa": "^8.0.1",
"it-all": "^3.0.2",
"it-all": "^3.0.3",
"it-filter": "^3.0.1",
"it-last": "^3.0.3",
"it-pair": "^2.0.6",
Expand All @@ -112,7 +112,7 @@
"p-retry": "^6.1.0",
"p-wait-for": "^5.0.2",
"protons": "^7.3.0",
"sinon": "^17.0.0",
"sinon": "^17.0.1",
"sinon-ts": "^2.0.0",
"wherearewe": "^2.0.1",
"which": "^4.0.0"
Expand Down
3 changes: 3 additions & 0 deletions packages/kad-dht/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@
},
{
"path": "../peer-store"
},
{
"path": "../utils"
}
]
}
6 changes: 3 additions & 3 deletions packages/libp2p/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -118,16 +118,16 @@
"@multiformats/multiaddr-matcher": "^1.1.0",
"aegir": "^42.0.0",
"delay": "^6.0.0",
"it-all": "^3.0.2",
"it-drain": "^3.0.2",
"it-all": "^3.0.3",
"it-drain": "^3.0.5",
"it-map": "^3.0.4",
"it-pipe": "^3.0.1",
"it-pushable": "^3.2.1",
"it-stream-types": "^2.0.1",
"p-defer": "^4.0.0",
"p-event": "^6.0.0",
"p-wait-for": "^5.0.2",
"sinon": "^17.0.0",
"sinon": "^17.0.1",
"sinon-ts": "^2.0.0",
"uint8arraylist": "^2.4.3"
},
Expand Down
Loading

0 comments on commit 8bbd436

Please sign in to comment.