Skip to content

Latest commit

 

History

History
37 lines (27 loc) · 724 Bytes

README.md

File metadata and controls

37 lines (27 loc) · 724 Bytes

morepush · · npm

A library for monorepo pre-push hooks to test changed project only.

Installation

yarn add -D morepush

Usage

yarn morepush <PARENT_DIR_NAME>

For example, if you have monorepo tree that goes like this:

infra
  - packages
    - eslint-config-kodefox
    - exoflex
    - flexhip

You can use infra/packages as the PARENT_DIR_NAME.

$ yarn morepush infra/packages

Options

You can also exclude one or more project directory by using --exclude.

$ yarn morepush infra/packages --exclude eslint-config-kodefox exoflex