libp2p / js-libp2p-webtransport

WebTranport module that libp2p uses and that implements the interface-transport spec
Other
15 stars 5 forks source link

Tracking Issue: road to v0.1.0 #1

Closed MarcoPolo closed 1 year ago

MarcoPolo commented 1 year ago

Required Changes across js-libp2p:

In this repo:

BigLep commented 1 year ago

@MarcoPolo : Will we configure this repo to follow the same conventions for CI and npm publishing (with shared credentials) as other js-libp2p repos?

MarcoPolo commented 1 year ago

As much as possible. The only extra requirement we have here is that we need to have Go available for the test as it’s the only thing that has a webtransport server.

achingbrain commented 1 year ago

When the version of go-libp2p with the server gets rolled up to kubo, we can install it as a dep from npm via the go-ipfs module.

This obviously brings a lot of extra code with it that's not necessary - maybe another reason to resurrect go-libp2p-daemon?

MarcoPolo commented 1 year ago

That seems like overkill. We just need the go compiler. Maybe we can extend the normal ci template to include the go runtime.

Ideally each repo includes its environment while still sharing with the gh action yaml.

achingbrain commented 1 year ago

Ah, sorry - I misread the requirement, just go, not go-libp2p. Yep, can add go to the ci runtime in the first instance, and maybe later we can also implement a node js listener.

MarcoPolo commented 1 year ago

Tracking JS test customization here: https://github.com/protocol/.github/issues/403. I don't think this is a blocker for v0.1.0, since we can manually keep these in sync and easily transition once #403 is implemented.

MarcoPolo commented 1 year ago

This is done! Closing this issue since we've already overdelivered by having a v1.0.2 on npm. https://www.npmjs.com/package/@libp2p/webtransport

Thanks all for the help in various js-libp2p repos \o/