/mono-repo-publish

publishes sub packages based on the last merged release PR

Primary LanguageJavaScriptApache License 2.0Apache-2.0

Mono-repo-publish

Mono-repo-publish is a tool that detects updates from release pull requests and determines which submodules to publish to npm.

Usage

npm i mono-repo-publish -g
mono-repo-publish --help

or

npx mono-repo-publish --help

Arguments

argument description
pr-url A url to a release pull-request
dry-run Run publish as npm publish --dry-run

Environment Variables

argument description
APP_ID_PATH The path to the APP ID of the Github Application
INSTALLATION_ID_PATH The path to the Installation ID of the Github Application
GITHUB_PRIVATE_KEY_PATH The path to the Private Key of the Github Application

License

Apache Version 2.0