4 ms·
Totally agree, this is a huge reason I use Yarn. Reproducibility. The catch is, particularly with yarn 3, if you want the soundness and capability to vendor zi
by ojkelly 5y ago
Totally agree, this is a huge reason I use Yarn. Reproducibility.
The catch is, particularly with yarn 3, if you want the soundness and capability to vendor zip files (completely removing the concept of node_modules) you need to use PnP and deal with some packages that don’t define their dependencies very well.
There’s still packages that will try to import/require stuff they dont declare, which is unsound. So when you get the warning, you need to declare it yourself in the root yarn config.
It’s a bit annoying, but the payoff is soundness.
You can clone to a new machine (be it a for a dev, or ci/cd) and be good to go without touching the network.
It’s like going from js to ts. Extra rigour for a price, but more often than not the price is worth it.
- davidmurdoch 5y agoDies yarn still not honor the yarn.lock of transitive dependencies?