-
Notifications
You must be signed in to change notification settings - Fork 75
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
reduce dependencies #116
Comments
We use If there's an alternative, lighter package that does the same, I wouldn't mind swapping |
Good point with deduping but there's still a lot of other deps. And I see your reasoning but it feels hard to swallow. Testing This has potential to be one of the most depended pkgs and it's important to keep deps low because otherwise the current situation is only going to get worse ( So, I don't have any drop-in replacement but I personally think you don't need it. |
I'm not interested in a discussion about the merits of npm packages atm. You are right that it's not actually doing that much. A PR is welcome to replace it, provided that you don't strip it down too much because re: "I just want this to download prebuilt binary and that's it", logs have proven themselves to be useful many times. |
Sorry if that was offensive, it was not intentional. The whole point of this issue is that this project is advised as minimal and so I was very surprised by the actual number of deps. |
That's fair. We called it "minimal" because
I'm actually hoping it eventually dies out because there is a better alternative (zero deps). |
Oh wow, that looks great! I will definitely have a better look. But I'm not sure I can use it for my project - my extension is in rust and I'm building it myself, using custom node.js script (I need some codegen too) - and then the result is put into (but the idea is very interesting!) |
Yeah, it is. Keeps the scope small and the code clean. You might be interested in this idea: prebuild/prebuildify#7 |
@cztomsik You might want to take a peek at https://github.com/deltachat/deltachat-node , it's a node module for native code, but based on a lib that comes from the rust core module. |
Hey, I love this effort but maybe we could replace
npmlog
with something lighter?And maybe we could improve it even further, I've just installed
keytar
and this is mynpm ls
(I only have one other dependency which is dep-free)BTW: I'd love to use
prebuild-install
myself (for various OSS projects) but there's no way I'd just splat there extra 80 deps. I'm currently usingnode-fetch
and so far it's enough for my case (it's just one dep and it can follow redirects and save to file stream) - just saying as something to think about.BTW2: I'm willing to help if you want to.
The text was updated successfully, but these errors were encountered: