After a year of using Yarn, the trade-offs @sebmck made for the lockfile format still feel like the right ones.
https://yarnpkg.com/blog/2017/05/31/determinism/ …
-
Show this thread
-
+ simple and efficient format + flat list instead of tree + minimizes amount of changes and thrash + leaves hoisting up to Yarn
1 reply 2 retweets 22 likesShow this thread -
We're switching to yarn for jsdom at least until https://github.com/npm/npm/issues/17722 … gets fixed. Looking forward to these benefits.
2 replies 0 retweets 4 likes -
Pray that optional deps are handled correctly!
1 reply 0 retweets 0 likes -
They are! We made sure to correctly handle prod + optional deps in the lockfile. Hoisting even remains consistent as we have “ghost deps”...
1 reply 0 retweets 1 like
that only effect hoisting for optional/dev deps that are excluded from the final tree.
3:07 PM - 1 Oct 2017
0 replies
0 retweets
0 likes
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
he/him 