A library for monorepo pre-push hooks to test changed project only.
yarn add -D morepushyarn 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/packagesYou can also exclude one or more project directory by using --exclude.
$ yarn morepush infra/packages --exclude eslint-config-kodefox exoflex