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

docs: consolidate docs and help for package spec #5048

Merged
merged 1 commit into from Jun 22, 2022

Commits on Jun 21, 2022

  1. docs: consolidate docs and help for package spec

    Many of our commands parse their args via
    [npm-package-arg](https://npm.im/npm-package-arg), which is a good
    standard way of parsing a "package" argument.  However the docs
    surrounding these args are not very consistent.  This can lead to
    confusion in commands such as `npm publish` where the behavior is
    slightly different than in the past due to this.
    
    This adds a new help command `npm help package-spec` that describes what
    this argument is, and can be, and also updates all the commands that
    interpret their args this with to refer to them as `<package-spec>`.  It
    also adds a link to the new help page on their docs pages.
    wraithgar committed Jun 21, 2022
    Copy the full SHA
    0167c37 View commit details
    Browse the repository at this point in the history