@typescript-tools/configure-lerna-manifest
v2.0.1
Published
Configure lerna manifest properties
Readme
configure-lerna-manifest
Configure Lerna manifest properties
Install
npm install --save-dev @typescript-tools/configure-lerna-manifestUse
Usage:
configure-lerna-manifest [--root <root>] --packages [<package>]...
Options:
packages Package names or paths to include in the lerna manifest (also reads from stdin)
--root=<root> Root of lerna mono-repositoryFor example:
git diff --name-only "origin/${CI_DEFAULT_BRANCH}" \
| npx containing-packages \
| npx packages-to-rebuild-on-changes \
| npx configure-lerna-manifest --packagesThis one-liner
- determines the packages that contain diffs when compared against the default git branch,
- calculates internal dependencies and internal consumers, and
- sets the
packagesproperty oflerna.jsonto this list
