Skip to content
This repository was archived by the owner on Jul 21, 2023. It is now read-only.

Commit fc44105

Browse files
authored
chore: update aegir (#311)
Removes boiler plate code and fixes failing tests
1 parent 280717f commit fc44105

32 files changed

+250
-1332
lines changed

package.json

Lines changed: 17 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -122,26 +122,22 @@
122122
]
123123
},
124124
"scripts": {
125+
"clean": "aegir clean",
125126
"lint": "aegir lint",
126-
"build": "tsc",
127-
"postbuild": "npm run build:copy-proto-files",
128-
"generate": "npm run generate:proto && npm run generate:proto-types",
129-
"generate:proto": "pbjs -t static-module -w es6 -r libp2p-dht-message --force-number --no-verify --no-delimited --no-create --no-beautify --no-defaults --lint eslint-disable -o src/message/dht.js ./src/message/dht.proto",
130-
"generate:proto-types": "pbts -o src/message/dht.d.ts src/message/dht.js",
131-
"build:copy-proto-files": "cp src/message/dht.js src/message/dht.d.ts dist/src/message",
132-
"pretest": "npm run build",
133-
"test": "aegir test -t node -f ./dist/test",
134-
"test:node": "aegir test -t node -f ./dist/test",
127+
"build": "aegir build",
128+
"generate": "protons ./src/message/dht.proto",
129+
"test": "aegir test -t node",
130+
"test:node": "aegir test -t node",
135131
"dep-check": "aegir dep-check",
136-
"release": "semantic-release"
132+
"release": "aegir release"
137133
},
138134
"dependencies": {
139135
"@libp2p/crypto": "^0.22.9",
140-
"@libp2p/interfaces": "^1.3.18",
141-
"@libp2p/logger": "^1.1.2",
142-
"@libp2p/peer-id": "^1.1.8",
143-
"@libp2p/record": "^1.0.0",
144-
"@libp2p/topology": "^1.1.6",
136+
"@libp2p/interfaces": "^1.3.20",
137+
"@libp2p/logger": "^1.1.3",
138+
"@libp2p/peer-id": "^1.1.9",
139+
"@libp2p/record": "^1.0.2",
140+
"@libp2p/topology": "^1.1.7",
145141
"@multiformats/multiaddr": "^10.1.5",
146142
"any-signal": "^3.0.0",
147143
"datastore-core": "^7.0.0",
@@ -165,22 +161,22 @@
165161
"p-map": "^5.3.0",
166162
"p-queue": "^7.2.0",
167163
"private-ip": "^2.3.3",
168-
"protobufjs": "^6.11.2",
164+
"protons-runtime": "^1.0.2",
169165
"streaming-iterables": "^6.0.0",
170166
"timeout-abort-controller": "^3.0.0",
171167
"uint8arrays": "^3.0.0",
172168
"varint": "^6.0.0"
173169
},
174170
"devDependencies": {
175-
"@libp2p/interface-compliance-tests": "^1.1.20",
176-
"@libp2p/peer-id-factory": "^1.0.8",
177-
"@libp2p/peer-store": "^1.0.7",
171+
"@libp2p/interface-compliance-tests": "^1.1.21",
172+
"@libp2p/peer-id-factory": "^1.0.9",
173+
"@libp2p/peer-store": "^1.0.8",
178174
"@types/lodash.random": "^3.2.6",
179175
"@types/lodash.range": "^3.2.6",
180176
"@types/node": "^16.11.26",
181177
"@types/varint": "^6.0.0",
182178
"@types/which": "^2.0.1",
183-
"aegir": "^36.1.3",
179+
"aegir": "^37.0.8",
184180
"datastore-level": "^8.0.0",
185181
"delay": "^5.0.0",
186182
"execa": "^6.0.0",
@@ -190,6 +186,7 @@
190186
"lodash.random": "^3.2.0",
191187
"lodash.range": "^3.2.0",
192188
"p-retry": "^5.0.0",
189+
"protons": "^3.0.2",
193190
"sinon": "^13.0.1",
194191
"ts-sinon": "^2.0.2",
195192
"which": "^2.0.2"

src/message/dht.d.ts

Lines changed: 0 additions & 297 deletions
This file was deleted.

0 commit comments

Comments
 (0)