Skip to content

Latest commit

 

History

History
63 lines (45 loc) · 1.19 KB

README.md

File metadata and controls

63 lines (45 loc) · 1.19 KB

monob


A monorepo build tool

📝 Table of Contents

🧐 About

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.

🏁 Getting Started

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"
  }
}