What’s the Best Tool for Managing a Backend Monorepo?
Asked by
_deburrR2
I'm trying to decide on the right tool for managing a backend monorepo. I have a few requirements, including good Docker support since we rely on it for both development and production. I need separate package.json files for each microservice and want to keep shared libraries in one central repository. So far, I've looked at three options: npm workspaces, which seems okay but I think there might be better choices; Nx, which prefers a single package.json, and seems more frontend-oriented; and Turborepo, but I'm not sure how beneficial it would be if Docker caching isn't a factor.
Answers
I personally use pnpm for our monorepo and find it works really well! It's straightforward, and manages the project beautifully. Don't shy away from trying it out!
Reply to this answer
Add your answer
Answers are reviewed before publication.
Related Discussions