DEV Community

Discussion on: JavaScript Monorepo Tooling

Collapse
 
okikio profile image
Okiki Ojo

The one major issue I have found with all the lerna and pnpm and yarn, is that they don't support semantic versions and the workspace protocol at the same time, and this problem is frustrating are their any tools on this list that solve this issue.

Collapse
 
hipstersmoothie profile image
802.11 Savage

Yeah to solve that all my projects are lerna + yarn workspaces. It sucks you have to repeat the config twice (once for lerna and once for yarn) but it's not the worst thing. Maybe a PR to lerna to understand the workspace field in the package.json would solve the issue?

Collapse
 
okikio profile image
Okiki Ojo

That kinda sucks, I was hoping for a single tool to do it all

Thread Thread
 
hipstersmoothie profile image
802.11 Savage

I think the closes you can get is rush. but that's custom workspaces implementation and might not be compatible with other tools.

Thread Thread
 
okikio profile image
Okiki Ojo

Does rush have fast installation like pnpm?

Thread Thread
 
hipstersmoothie profile image
802.11 Savage

yeah you can use pnpm with it.

Thread Thread
 
okikio profile image
Okiki Ojo

Awesome

Thread Thread
 
okikio profile image
Okiki Ojo

Does rush support semantic version and changelog generation for each package, as well as version bumps?