DEV Community

Discussion on: Rethinking the “One Ring To Rule Them all” Monorepo manager

Collapse
 
mbarzeev profile image
Matti Bar-Zeev

yarn@3.2.0
You can also check the code on GitHub for more details.
I'm not sure I understand what you mean about the coupling of versions and publications. Can you elaborate?

Collapse
 
alonseg profile image
Alon Segal

yeah sure,
in the scope of package management we have consumption of packages (installing packages in your project) and publication of packages.

now let's say you use yarn to both install and publish packages, you are a little "stuck" with it... if in the future you see that installation time gets too long, it'll be harder (than if you used different managers to consume and publish) to use something else only for consumption (and the other way around for publication...)

not sure I got my point clear, lmk if so and I'll try to rephrase....

Thread Thread
 
mbarzeev profile image
Matti Bar-Zeev

Again, I'm not sure I fully understand your concern, but if I go with what I do understand -
Installing packages is one step and publishing package is another, they do not happen in parallel. There are faster package managers than others but I think that reaching the place where this is actually painful... it's quite a project then ;)
If I'm not mistaken you can configure Lerna (and I guess other solutions as well) to work with a certain package manager for publication...