3 ms·
Yarn 2’s Plug and Play has actually been a dream dep size wise. Once you get over the initial hurdles of setup, you can do things like vend your reps for zero i
by kitten_mittens_ 6y ago
Yarn 2’s Plug and Play has actually been a dream dep size wise. Once you get over the initial hurdles of setup, you can do things like vend your reps for zero installs. core-js alone (two major versions because @rjsf felt compelled to polyfill in a library) is 3K files worth of node_modules.
- SirensOfTitan 6y agoMaybe I’ll drive yarn v2 migration over the finish line then. Have you run into any hiccups post setup?
- kitten_mittens_ 6y agoOnce you get through unspecified dependencies of dependencies (and pnpifying tools), my last big hiccup with yarn 2 is that zipfs doesn’t work with vs code and typescript’s language server. So you can’t go to code or type definitions within zips.
- acemarke 6y agoWhat specific issues are you seeing? I was just trying out Yarn v2 for the first time over the last couple days. I ran the `yarn dlx @yarnpkg/pnpify --sdk vscode` command suggested on their migration guide, and that generated a config file. VS Code then suggested that I add a ZipFS-related extension, and once I did that, I could view typedef files from libraries.