Skip to content

Commit

Permalink
feat!: convert to typescript (#525)
Browse files Browse the repository at this point in the history
Converts this module to typescript.

It already had types so there should be minimal disruption but releasing
this as a major just in case.

BREAKING CHANGE: this module is now typescript
  • Loading branch information
achingbrain authored Feb 13, 2023
1 parent 5f200a6 commit 11d9261
Show file tree
Hide file tree
Showing 62 changed files with 1,821 additions and 3,666 deletions.
23 changes: 8 additions & 15 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -160,15 +160,15 @@
"test:firefox-webworker": "aegir test -t webworker -- --browser firefox",
"test:electron-main": "aegir test -t electron-main",
"dep-check": "aegir dep-check",
"generate": "run-s generate:*",
"generate:proto": "pbjs -t static-module -w es6 -r ipfs-bitswap --force-number --no-verify --no-delimited --no-create --no-beautify --no-defaults --lint eslint-disable -o src/message/message.js src/message/message.proto",
"generate:proto-types": "pbts -o src/message/message.d.ts src/message/message.js",
"generate": "protons ./src/message/message.proto",
"docs": "aegir docs"
},
"dependencies": {
"@libp2p/interface-connection": "^3.0.1",
"@libp2p/interface-libp2p": "^1.1.1",
"@libp2p/interface-peer-id": "^2.0.0",
"@libp2p/interface-peer-store": "^1.2.0",
"@libp2p/interface-peer-info": "^1.0.8",
"@libp2p/interface-registrar": "^2.0.8",
"@libp2p/interfaces": "^3.2.0",
"@libp2p/logger": "^2.0.5",
"@libp2p/topology": "^4.0.0",
Expand All @@ -183,9 +183,9 @@
"it-pipe": "^2.0.4",
"just-debounce-it": "^3.0.1",
"multiformats": "^11.0.0",
"protobufjs": "^7.0.0",
"readable-stream": "^4.0.0",
"protons-runtime": "^5.0.0",
"timeout-abort-controller": "^3.0.0",
"uint8arraylist": "^2.4.3",
"uint8arrays": "^4.0.2",
"varint": "^6.0.0",
"varint-decoder": "^1.0.0"
Expand All @@ -201,10 +201,8 @@
"@types/stats-lite": "^2.2.0",
"@types/varint": "^6.0.0",
"aegir": "^38.1.0",
"assert": "^2.0.0",
"benchmark": "^2.1.4",
"delay": "^5.0.0",
"interface-datastore": "^7.0.0",
"iso-random-stream": "^2.0.0",
"it-all": "^2.0.0",
"it-drain": "^2.0.0",
Expand All @@ -213,20 +211,15 @@
"lodash.flatten": "^4.4.0",
"lodash.range": "^3.2.0",
"lodash.without": "^4.4.0",
"npm-run-all": "^4.1.5",
"p-defer": "^4.0.0",
"p-event": "^5.0.1",
"p-wait-for": "^5.0.0",
"process": "^0.11.10",
"promisify-es6": "^1.0.3",
"protobufjs-cli": "^1.0.0",
"protons": "^7.0.2",
"sinon": "^15.0.1",
"stats-lite": "^2.2.0",
"url": "^0.11.0",
"util": "^0.12.3",
"uuid": "^9.0.0"
},
"browser": {
"test/utils/create-libp2p-node.js": false
"dist/test/utils/create-libp2p-node.js": false
}
}
Loading

0 comments on commit 11d9261

Please sign in to comment.