I drew a picture to demonstrate how pnpm works, and how it gets rid of phantom dependencies, npm doppelgangers and node modules holes. @pnpmjs#icestark also moves to pnpm workspace. github.com/ice-lab/icestark
One new piece of tooling I am using here is pnpm, which I've been super impressed by for speed and ease of use in a monorepo (separate packages for contracts vs. app).
At @bitdev_ I am now working on improved peer dependencies handling. As a first step, I added a new API to @pnpmjs for returning peer dependency issues.
I was also able to significantly improve how the peer dependency issues are printed during "pnpm install"!
Before/after:
Browserslist migrated from Yarn 1 to @pnpmjs.
The same great performance, but with bug fixes (Yarn 1 branch is dead and has no support).
github.com/browserslist/brow…
I tried pnpm instead of yarn 3 in the app and I like it a lot.
It is exactly what I expect from “yarn 2” to have the same API, but faster and without bugs.
Should I start to use pnpm in my open source libraries? Do you see pnpm in other open source?
💥Tomorrow I'll be chatting with @zkochan the creator of @pnpmjs !!
Topics:
- why pnpm is fast & efficient
- Computer Science behind it
- monorepos
& more..
What else should I ask? Let me know, I'll do my best to incorporate your questions
youtube.com/watch?v=r14BwUB6…