@mykulyak/linterpol
v0.2.0
Published
Script that runs NPM commands (usually checks/tests) for modified packages
Downloads
1
Readme
linterpol
Operates on monorepo packages versioned by Git. Allows you to run multiple NPM scripts on those packages those files have been modified with respect to their remote versions. I would typically use it when working on multiple NPM package simultaneously, to run linters, tests etc.
Usage
npm install @mykulyak/linterpol
npx linterpol MONOREPO_ROOT_DIR [COMMAND1 [, COMMAND ...]
where:
MONOREPO_ROOT_DIR
is the directory with monorepopackage.json
is locatedCOMMAND#
are names of NPM scripts to be executed for each modified package. Commands will be executed sequentially in the order specified in the CLI
Thanks
Thanks to Piotr Kowalczyk for suggesting the name.