A monorepo build tool
Monob is meant to allow monorepo based JS projects to have the ability to build local projects in an optimized manner without needing to understand the dependency structure of the monorepo or perform builds manually.
Install Monob using yarn
:
yarn add --dev monob
Or npm
:
npm install --save-dev monob
Add the following section to your package.json
{
"monob": {
"packages": [
"./packages-path"
]
}
}
The packages you define will be the search paths where the tool will look for projects to build so you can either define only your modules or add your apps to the mix.
You can now call the monob from inside the scripts in your package.json file
{
"scripts": {
"build-packages": "monob"
}
}