A Better JavaScript Ecosystem
gelatindesign.co.uk
A Better JavaScript Ecosystem
1–8 of 8 posts
Re: A Better JavaScript Ecosystem
#2It honestly reads more like a classic case of “My very narrow use case is the general case”. A common mistake.
Re: A Better JavaScript Ecosystem
#3These 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.
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.
Re: A Better JavaScript Ecosystem
#4These 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 ler…
Re: A Better JavaScript Ecosystem
#5Re: A Better JavaScript Ecosystem
#6Earlier quoted context omitted.
(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 ler…
Have you tried pnpm? It seems like it would resolve some of the issues you brought up: https://pnpm.js.org/
Re: A Better JavaScript Ecosystem
#7Didnt read the article since it started with the word "NPM".