Re:Uv's killer feature is pulling in local dependencies
by theogravity on Sunday January 12, 2025 @04:37PM
(#42677188)
pnpm is the best for monorepos. I've tried yarn workspaces and npm's idea of it and nothing comes close to the DX of pnpm
[ Parent
| on HN ]
Re:Uv's killer feature is pulling in local dependencies
by paularmstrong on Sunday January 12, 2025 @08:15PM
(#42678935)
What actually, as an end user, about pnpm is better than Yarn? I've never found an advantage with pnpm in all the times I've tried it. They seem very 1:1 to me, but Yarn edges it out thanks to it having a plugin system and its ability to automatically pull `@types/` packages when needed.
Re:Uv's killer feature is pulling in local dependencies
by wruza on Sunday January 12, 2025 @08:57PM
(#42679215)
automatically pull `@types/` packages when needed
Wait, what? Since when?
Re:Uv's killer feature is pulling in local dependencies
by paularmstrong on Monday January 13, 2025 @12:14PM
(#42685799)
It's a plugin that's included by default in Yarn 4: https://yarnpkg.com/api/plugin-typescript
In Yarn 2/3, it needs to be added manually.