Pack publisher packages and install the tarballs into consumer repos for pre-release validation.
Wraps polygraph _pack-and-copy to build and pack each publisher package, then install the resulting tarball into the corresponding consumer directory. Use for local integration testing of a publisher change against downstream consumers before pushing branches or opening PRs.
Arguments
Section titled “Arguments”| Name | Type | Required | Description |
|---|---|---|---|
sessionId | string | yes | The Polygraph session ID. |
pairs | array | yes | Publisher-consumer path pairs. Each object has publisherPath (path to the package to build and pack) and consumerPath (path to the project where the tarball should be installed). |
runScripts | boolean | no | Enable npm lifecycle scripts during packing. Off by default for security. |