Coder Social home page Coder Social logo

monobrow's Introduction

Monobrow

Change detection for Javascript mono repos

When working with a monorepo containing multiple build targets it can be difficult to determine which products are affected whenever a change is made. A naive solution is often to rebuild everything but this is wasteful on CI resources and can lead to timely delays in the feedback loop.

What is this?

MonoBrow is a simple tool to identify which targets are affected given changes between git branches, typically a feature branch and master.

A use case for Monobrow might be a monorepo containing a UI library shared across mutiple deployable products. Whenever a change is made to a shared component we want any dependant products to be rebuilt.

Repo layout

Monobrow makes some assumptions about the repo.

  • The repos contains JS projects only.
  • Products are top level folders in the monorepo root that contain a package.json.

Usage

Run monobrow from the monorepo root from the branch containing the changes. The STDOUT will display a list of folders/products that are affected by the changes. The use of STDOUT means you can integrate this into you own CI pipeline as desired.

monobrow's People

Contributors

imranolas avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.