I started patching packages a lot, so I won't get blocked by upstream issues. @pnpmjs's built-in patching system is awesome, but honestly, its UX is not perfect. So I created a simple wrapper to make it easier:
github.com/antfu/pnpm-patch-…
🎉 github.com/vercel/vercel is now using @pnpmjs
We previously relied upon yarn 1 hoisting and it caused tons of headaches. It took some work to convert everything over but now our install times are decreased, and our packages actually have the correct dependencies listed 🚀
pnpm v8 will have a new lockfile format. You can already try it out with pnpm v7.24 by setting "use-lockfile-v6=true" in a .npmrc file in the root of your project.
The new format should be easier to understand as it doesn't use hashes for encoding peer dependencies in dep paths
Experimenting with all the monorepo tools and Node based package managers, finally realized the best tool is pnpm. So don’t hesitate, switch today. One tool for monorepo and package management: pnpm.io/
The latest @storybookjs 7.0 beta has a handful of small #pnpm fixes that I worked on over the last few days. Thank you to those who reported problems.
`pnpx sb@next init` to try it out.
github.com/storybookjs/story…
If you had trouble with #pnpm and #storybookJS in the past, try the new 7.0 beta. It wasn't easy, but we worked hard to fully support pnpm without hoisting or workarounds. Run `pnpx sb@next init` to add @storybookjs to your project, & read about it here: storybook.js.org/blog/7-0-be…
Got some time over the weekend? Check out my @eggheadio course on @pnpmjs based monorepos.
⏰ 42 minutes
📚 18 video lessons
🤫 Egghead is also running a 40%-off sale right now, so the timing is excellent 😃
egghead.io/courses/build-hig…