4 ms·
Try nx instead of lerna/yarn workspaces. https://nx.dev https://nx.dev Nx will figure out the affected dependency graph for packages in your mono repo so you
by searchableguy 5y ago
Try nx instead of lerna/yarn workspaces.
https://nx.dev https://nx.dev
Nx will figure out the affected dependency graph for packages in your mono repo so you are able to only build/test/deploy the changes.
- FranksTV 5y agoI just found NX halfway through building a new monorepo setup. I hope it's as good as it looks because I'm throwing out about a couple days of work to switch.
- ericwooley 5y agoI use it, it's pretty good if you expect your project to grow pretty large. I wouldn't recommend it for something basic. It can get hard to get some things working well. Eg expo, which has a 3rd party package, but it's usually pretty far behind on the version of nx it supports. Personally, I've just started using blitz js for smaller things, no need to split things into packages.
- namelessoracle 5y agoIt's good if you need to share components across multiple application. Has solid tooling and plug ins for all the relevant IDEs.
- machiaweliczny 5y agoI know Productboard devs are using it with quite significant team (250 devs) so you can check their opinions
- aceBacker 5y agoWith nx, If you have a package that is imported into another can you have nodemon rebuild just the imported package? I have a heavy handed fix for yarn workspaces but it is hacky. I'd prefer a better solution if nx can do that.