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

Specify that --dry-run isn't available in older versions of npm publish #83

Merged
merged 1 commit into from Nov 26, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions doc/cli/npm-publish.md
Expand Up @@ -47,8 +47,8 @@ specifying a different default registry or using a `npm-scope(7)` in the name
don't include this and you're running from a TTY then you'll be prompted.

* `[--dry-run]`
Does everything publish would do except actually publishing to the registry.
Reports the details of what would have been published.
As of `npm@6`, does everything publish would do except actually publishing
to the registry. Reports the details of what would have been published.

Fails if the package name and version combination already exists in
the specified registry.
Expand Down