Hacker News new | past | comments | ask | show | jobs | submit login
A Better JavaScript Ecosystem (gelatindesign.co.uk)
18 points by lsjroberts on June 30, 2018 | hide | past | favorite | 6 comments



These points are pretty naive, plus they solve very little other than possibly saving some disk space.

It honestly reads more like a classic case of “My very narrow use case is the general case”. A common mistake.


(author here)

I'd disagree they are naive. These all stem from my team's experiences developing platforms at a large international bank.

We have dozens of packages that share many of the same dependencies, moving those to a single copy of each would reduce used disk space by equal dozens of times. But saving disk space is almost more of a nice side effect of the other solutions.

We've tried reducing this by using lerna but that can only go so far due to only supporting a single shared version or fully independent versioning. Hence the more customisable workspaces.

I'd also contend this is not a narrow use case, every bank in London is building similar platforms and could benefit from something like this. They just tend to not talk too publicly about what they are doing.


Have you tried pnpm? It seems like it would resolve some of the issues you brought up: https://pnpm.js.org/


I haven't, but had a chat with Zoltan on twitter (a dev on it). It does seem to be pretty good, and definitely would be a less drastic solution since it builds on top npm.


[flagged]


Could you please not post unsubstantive comments to Hacker News?


Sorry, that is my first time. Well paid with negative points though.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: