I don't know about you but there are three things that always annoys me when I'm adding a package to a monorepo
- I don't remember the specific command for either yarn or lerna.
- I'm not always sure whats the name of the workspace that I wish to add a new dependency to.
- I want to be able to add multiple packages to multiple workspaces in a single command.
first off install wadd
npm i -g wadd
once that's done, you can go ahead and run wadd
in your monorepo and it will ask you which workspaces you would like to add the packages and which packages you would like to add.
Currently, the only monorepo clients that wadd
support are, lerna
and yarn
.
wadd.in.action.mp4
If you wish me to add more clients, feel free to open an issue.