Pack publisher packages and install the tarballs into consumer repos for pre-release validation.
Builds and packs each publisher package, then installs 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, with no registry round-trip.
Arguments
Section titled “Arguments”| Name | Type | Required | Description |
|---|---|---|---|
sessionId | string | yes | The Polygraph session ID, or a Polygraph app session URL (/s/<session-id> or /orgs/<org-id>/sessions/<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. |