0no-co / wonka

🎩 A tiny but capable push & pull stream library for TypeScript and Flow
MIT License
709 stars 29 forks source link

update package.json to follow docs + disable sourceMap in prod #147

Closed o-az closed 1 year ago

o-az commented 1 year ago

Thank you for this amazing library that I use quite frequently. I've made slight updates here and there mainly to config stuff.

Updates made:

Cheers

kitten commented 1 year ago

Sooooo, I'm sorry for the long text 😅♥️ Basically, I'm glad you're enthusiastic and took the time to submit this. However, making changes is only a part of the story, and mixing them all together, submitting a lot of different tooling/workspace changes, and having so many in places that can have subtle consequences puts a lot of reviewing burden on me

In general, I'm pretty careful when it comes to this in Open Source, and hence always prefer discussions or issues prior. In the current state, this basically now becomes a lot of work to review and discuss altogether, and most changes here aren't needed, i.e. they don't add any direct features, values, don't address issues, and don't fix bugs.

So while I'm open to discussing some of them in isolation, or consider some, there's a more pragmatic point to discuss: How many people realistically would profit from these changes, regardless of their benefit? We have two maintainers of the repo, and very infrequent changes, feature additions, and little movement 😅 Hence, I'm careful on accepting large changes to a "slow" moving (i.e. stable) library, unless they're needed for a feature/change ❤️‍🩹

kitten commented 1 year ago

Ok, just quickly popping another separate comment in here, on what changes I'd immediately accept;

Re. dependencies: I'd explicitly would want to update this, as a maintainer. That's more of a precaution and actually simply saves time, since I wouldn't have to validate what's changed, if I do this myself 😅 That's only a precaution though since in this instance it saves time

Re. typed scripts: I'd like to skip this one. I don't think it'll add a lot of value in these scripts and just increases maintenance burden without the types actually helping us much.

Re. npmrc/package.json:scripts changes: They don't seem needed and it's more of a personal change, so I wouldn't want to apply those

Edit: Also, again, I apologise for this being long ♥️ I do want to find a way to accept some of this, since you spent time on it. But do note that it's unusual to go into OSS repo and make unrequested/undiscussed tooling changes 😅 It always tends to produce quite a lot of work and research/work for all parties involved

o-az commented 1 year ago

Thank you for taking the time to review and share your feedback. Really appreciate it. I would like to write a longer reply to discuss some of the feedback you shared. I'm very curious to hear your thoughts. It will a short reply because I don't to take much of your time. If you don't mind keeping the pr open or I can convert it to a draft till then. It's also completely understandable if you want to close the pr - I would still like to hear your thoughts 😊

kitten commented 1 year ago

Hiya :wave: I realised this didn't actually get a follow-up comment. I'll close this for now, since as discussed, at the very least, it'd be hard to merge a large and non-atomic PR like this. Hope that makes sense ✌️ Still happy to chat of course. We also have a Discord channel for wonka now if that's easier