hldb / welo

peer-to-peer, collaborative states using Merkle-CRDTs
Other
32 stars 2 forks source link

Ease keeping version parity between IPFS/Libp2p packages #30

Open tabcat opened 1 year ago

tabcat commented 1 year ago

Sometimes there are version -> interface mismatches between installed ipfs and libp2p packages. Would be great to make keeping this parity easier.

tabcat commented 1 year ago

Will look more later to see if there is tooling available to automatically bump dependencies to the package being bumped if they are also directly used and installed. May also just end up having ipfs-core as a peer dependency and not directly installing the sub-dependencies that are used directly.

tabcat commented 1 year ago

Removing ipfs from devDeps. Adding ipfs-core to deps and removing packages from package.json which are also dependencies of ipfs-core.

tabcat commented 1 year ago

Will be adding depcheck to ci workflow. Still want to make it easy to use same versions of packages as ipfs-core so will write a script or separate package to handle this probably using npm ls.

tabcat commented 1 year ago

created https://github.com/tabcat/copy-deps for this but needs https://github.com/tabcat/copy-deps/issues/6 to be closed

tabcat commented 1 year ago

Not sure why the bot closed this. Guessing it was a commit that included Related: #30