What does HackerNews think of pnpm?
Fast, disk space efficient package manager -- 快速的,节省磁盘空间的包管理工具
After talking to one of the contributors on Discord, it seems that they have a special "deploy" command for exactly this (copying files and dependencies for a single workspace package) which I had overlooked since the documentation for it wasn't so self explanatory, they have now updated the docs for this command [1] and opened a PR to update the docs for the Monorepo Docker example to use it instead [2].
I have to say I'm impressed with how responsive the maintainers were to my question, and this `pnpm deploy` workflow does actually make sense to me.
[1] https://github.com/pnpm/pnpm.io/commit/3e6cb7b2cdaf23a423c31...
https://github.com/vadimdemedes/ink by @vadimdemedes (React renderer for CLI)
https://github.com/platformio by @ivankravets (embedded development platform)
pnpm does, that's why I'm using it for everything. It's saving me many gigabytes of precious SSD space.
To save on disk space, use pnpm, best of both worlds!
- [1] https://github.com/pnpm/pnpm
- [2] https://intoli.com/blog/node-package-manager-benchmarks/