@gmjs/pnpm-publish-cli
v0.0.5
Published
pnpm-publish-cli
Downloads
48
Maintainers
Readme
CLI for Publishing to NPM
This is a CLI for publishing a JavaScript/TypeScript NPM project.
Installation
npm install --save @gmjs/pnpm-publish-cli
It can be installed locally, and added to an npm script, for example like this:
{
"scripts": {
"pac": "pnpmpub pack",
"pub": "pnpmpub pub"
}
}
Usage
Package
This is a prerequisite for publishing.
Usage: pnpmpub pack|a [options]
Package project.
Options:
-h, --help display help for command
Publish
Usage: pnpmpub pub|p [options]
Publish npm package.
Options:
--dry-run Dry run (fake publish).
-h, --help display help for command
Update Version
Usage: pnpmpub update-version|u [options]
Update version.
Options:
-m, --major Update major version.
-n, --minor Update minor version.
-p, --patch Update patch version.
-h, --help display help for command
Configuration
Just the options specified in the usage above.