Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-06-22docs: consolidate docs and help for package spec (#5048)Gar
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.
2021-12-03docs: add logging docsDarcy Clarke
PR-URL: https://github.com/npm/cli/pull/4113 Credit: @darcyclarke Close: #4113 Reviewed-by: @lukekarrys
2021-07-15fix(docs): add missing npm pkg to nav.ymlRuy Adorno
2021-03-23fix docs generation for yes configRuy Adorno
2021-02-25chore(docs): add navigation configurationEdward Thomson
The documentation in this repository is added to the overall npm documentation at https://docs.npmjs.com/, which includes both the documentation for the public registry and the CLI. The documentation site itself also has a navigational hierarchy; since the content is included from the CLI, we also want to ensure that the navigation for that content lives in this repository. This means that this repository is the source of truth for all of the CLI documentation, and we do not need to update two places when we add, edit, or remove CLI documentation. It all lives here. This also teaches the documentation rendering script to identify when the navigation configuration (nav.yml) is missing new pages that were recently added or retains old pages that have recently been deleted. PR-URL: https://github.com/npm/cli/pull/2775 Credit: @ethomson Close: #2775 Reviewed-by: @wraithgar