Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow Helia to be used without mandating dependencies on every transport #270

Open
justin0mcateer opened this issue Sep 25, 2023 · 2 comments

Comments

@justin0mcateer
Copy link

In #127 'defaults' were added so that Helia could be used 'plug and play' without providing any of it's necessary dependencies. That is great for people just trying it out for the first time. However, when trying to build an application on top of Helia, this creates a significant amount of unnecessary transitive dependencies that can be problematic in their own right.

Could there be some way to perhaps create a 'bare bones' package that doesn't provide the 'defaults' that a 'new user friendly' package could depend on, then adding the defaults on top?

There really isn't a great way to work around this problem, as solutions like patching the package often aren't tenable on artifacts like the 'package.json'.

@SgtPooki
Copy link
Member

SgtPooki commented Nov 2, 2023

I am open to this and think it could be very useful. @achingbrain Would you be okay with this?

@justin0mcateer
Copy link
Author

With 3.0 coming up, any more thoughts on this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Development

No branches or pull requests

2 participants