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.
1 Answer
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!
Related Questions
Set Wordpress Featured Image Using Javascript
How To Fix PHP Random Being The Same
Why no WebP Support with Wordpress
Replace Wordpress Cron With Linux Cron
Customize Yoast Canonical URL Programmatically
[Centos] Delete All Files And Folders That Contain a String