3 ms·
Of course. Modern Yarn releases (4.x) are deterministic to a fault and you can rely on it to have a consistent behavior across your whole team. As for feature-w
by arcatek 4mo ago
Of course. Modern Yarn releases (4.x) are deterministic to a fault and you can rely on it to have a consistent behavior across your whole team. As for feature-wise I'd say it's a lot of small details that together add up once you grow used to them.
The next major release will keep pushing in that direction with both better performances and features we couldn't implement until now due to their reliance on said perfs improvements.
Disclaimer: I'm the Yarn lead maintainer.
- tuwtuwtuwtuw 4mo agoDeterministic to a fault unless you mix Windows and Linux. https://github.com/yarnpkg/berry/issues/6105 https://github.com/yarnpkg/berry/issues/6105
- arcatek 4mo agoAs mentioned in the issue you link the problem comes from third-party packages with non-deterministic build scripts in git dependencies, or files on disk being actually different (although I guess we could at least try to normalize crlf, but as you can guess it will break someone).
- tuwtuwtuwtuw 4mo agoYes, but those are third party dependencies that Yarn relies on.
- mkesper 4mo agoIt was a giant mistake to keep 'classic' (umnaintained, unpatched) yarn around. Switched to pnpm in part due to that reason.
- arcatek 4mo agoIt's not exactly unmaintained (we merged a couple of security patches in the past years), I agree that we should have do something about it. We'll be correcting this situation starting from the 6.x release, which we expect somewhere in August.