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

Commit 5e6f082

Browse files
committed
feat: use package-table vs custom script
1 parent 5e80ee3 commit 5e6f082

File tree

3 files changed

+61
-121
lines changed

3 files changed

+61
-121
lines changed

README.md

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -685,17 +685,14 @@ $ curl --silent localhost:5002/api/v0/id | jq .ID
685685
686686
## Packages
687687
688-
Listing of the main packages used in the IPFS ecosystem. There are also three
689-
specifications worth linking here:
688+
Listing of the main packages used in the IPFS ecosystem. There are also three specifications worth linking here:
690689
691690
- [`interface-ipfs-core`](https://github.com/ipfs/interface-ipfs-core)
692691
- [`http-api-spec`](https://github.com/ipfs/http-api-spec)
693692
- [`cli spec`](https://github.com/ipfs/specs/tree/master/public-api/cli)
694693
695-
<!---
696-
This table is generated from the script located in `scripts/generate-package-table-for-readme.js`
697-
Please use the same script if you need to update this table.
698-
-->
694+
> This table is generated using the module `package-table` with `package-table --data=package-list.json`.
695+
699696
| Package | Version | Deps | CI | Coverage |
700697
| ---------|---------|---------|---------|--------- |
701698
| **Files** |

package-list.json

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
{
2+
"columns": [
3+
"Package",
4+
"Version",
5+
"Deps",
6+
"CI",
7+
"Coverage"
8+
],
9+
"rows": [
10+
"Files",
11+
["ipfs/js-ipfs-unixfs-engine", "ipfs-unixfs-engine"],
12+
13+
"DAG",
14+
["ipld/js-ipld", "ipld"],
15+
["ipld/js-ipld-dag-pb", "ipld-dag-pb"],
16+
["ipld/js-ipld-dag-cbor", "ipld-dag-cbor"],
17+
18+
"Repo",
19+
["ipfs/js-ipfs-repo", "ipfs-repo"],
20+
21+
"Exchange",
22+
["ipfs/js-ipfs-block-service", "ipfs-block-service"],
23+
["ipfs/js-ipfs-bitswap", "ipfs-bitswap"],
24+
25+
"libp2p",
26+
["libp2p/js-libp2p", "libp2p"],
27+
["libp2p/js-libp2p-circuit", "libp2p-circuit"],
28+
["libp2p/js-libp2p-floodsub", "libp2p-floodsub"],
29+
["libp2p/js-libp2p-kad-dht", "libp2p-kad-dht"],
30+
["libp2p/js-libp2p-mdns", "libp2p-mdns"],
31+
["libp2p/js-libp2p-mplex", "libp2p-mplex"],
32+
["libp2p/js-libp2p-railing", "libp2p-railing"],
33+
["libp2p/js-libp2p-secio", "libp2p-secio"],
34+
["libp2p/js-libp2p-tcp", "libp2p-tcp"],
35+
["libp2p/js-libp2p-webrtc-star", "libp2p-webrtc-star"],
36+
["libp2p/js-libp2p-websocket-star", "libp2p-websocket-star"],
37+
["libp2p/js-libp2p-websockets", "libp2p-websockets"],
38+
39+
"Data Types",
40+
["ipfs/js-ipfs-block", "ipfs-block"],
41+
["ipfs/js-ipfs-unixfs", "ipfs-unixfs"],
42+
["libp2p/js-peer-id", "peer-id"],
43+
["libp2p/js-peer-info", "peer-info"],
44+
["multiformats/js-multiaddr", "multiaddr"],
45+
["multiformats/js-multihash", "multihashes"],
46+
47+
"Crypto",
48+
["libp2p/js-libp2p-crypto", "libp2p-crypto"],
49+
["libp2p/js-libp2p-keychain", "libp2p-keychain"],
50+
51+
"Generics/Utils",
52+
["ipfs/js-ipfs-api", "ipfs-api"],
53+
["ipfs/ipfs-multipart", "ipfs-multipart"],
54+
["ipfs/is-ipfs", "is-ipfs"],
55+
["multiformats/js-multihashing", "multihashing"],
56+
["multiformats/js-mafmt", "mafmt"]
57+
]
58+
}

scripts/generate-package-table-for-readme.js

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

0 commit comments

Comments
 (0)