Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(plugin-commands-publishing): output --json option in help info #5773

Merged
merged 2 commits into from Dec 9, 2022

Conversation

await-ovo
Copy link
Member

show --json option for pnpm publish --help:

$ pd publish --help      
Version 7.18.1
Usage: pnpm publish [<tarball>|<dir>] [--tag <tag>] [--access <public|restricted>] [options]

Publishes a package to the npm registry.

Options:
      --access <public|restricted>  Tells the registry whether this package should be published as public
                                    or restricted
      --dry-run                     Does everything a publish would do except actually publishing to the
                                    registry
      --force                       Packages are proceeded to be published even if their current version
                                    is already in the registry. This is useful when a "prepublishOnly"
                                    script bumps the version of the package before it is published
      --ignore-scripts              Ignores any publish related lifecycle scripts (prepublishOnly,
                                    postpublish, and the like)
      --json                        Show information in JSON format
      --no-git-checks               Don't check if current branch is your publish branch, clean, and up
                                    to date
      --otp                         When publishing packages that require two-factor authentication, this
                                    option can specify a one-time password
      --publish-branch              Sets branch name to publish. Default is master
  -r, --recursive                   Publish all packages from the workspace
      --report-summary              Save the list of the newly published packages to
                                    "pnpm-publish-summary.json". Useful when some other tooling is used
                                    to report the list of published packages.
      --tag <tag>                   Registers the published package with the given tag. By default, the
                                    "latest" tag is used.

@zkochan zkochan merged commit 5d8f845 into pnpm:main Dec 9, 2022
@zkochan zkochan added this to the v7.19 milestone Dec 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants