DEV Community

Discussion on: Flat node_modules is not the only way

Collapse
 
zenmumbler profile image
zenmumbler

Thanks Zoltan, I figured out quickly indeed that the recursive commands make working with monorepos a lot easier. Very nice. I was looking through your docs and was wondering what the purpose is of pnpm server. Is it for CI contexts?

Thread Thread
 
zkochan profile image
Zoltan Kochan

The server feature was added for glitch. Their use case is that they have many containers that use a shared store but the containers don't have access to the store. So when an installation is done in a container, actions like "download a tarball from the registry" or "link a package from the store to my project" are delegated to the store server.

It probably deserves a separate article.

I see big potential in the store server. Like in the future it could keep the store warm or seed the packages in a p2p network.

Thread Thread
 
zenmumbler profile image
zenmumbler

Got it, thanks for explaining again. I'll convert some projects and file any issues I may find.