-
Notifications
You must be signed in to change notification settings - Fork 29.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PR-URL: #43552 Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Tobias Nießen <[email protected]> Reviewed-By: Mohammed Keyvanzadeh <[email protected]>
- Loading branch information
1 parent
3507b3f
commit 687e50a
Showing
141 changed files
with
1,566 additions
and
612 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,7 +11,7 @@ description: Deprecate a version of a package | |
<!-- see lib/commands/deprecate.js --> | ||
|
||
```bash | ||
npm deprecate <pkg>[@<version>] <message> | ||
npm deprecate <package-spec> <message> | ||
``` | ||
|
||
<!-- automatically generated, do not edit manually --> | ||
|
@@ -45,8 +45,8 @@ In this case, a version `[email protected]` will also be deprecated. | |
You must be the package owner to deprecate something. See the `owner` and | ||
`adduser` help topics. | ||
|
||
To un-deprecate a package, specify an empty string (`""`) for the `message` | ||
argument. Note that you must use double quotes with no space between them to | ||
To un-deprecate a package, specify an empty string (`""`) for the `message` | ||
argument. Note that you must use double quotes with no space between them to | ||
format an empty string. | ||
|
||
### Configuration | ||
|
@@ -82,6 +82,7 @@ password, npm will prompt on the command line for one. | |
|
||
### See Also | ||
|
||
* [package spec](/using-npm/package-spec) | ||
* [npm publish](/commands/npm-publish) | ||
* [npm registry](/using-npm/registry) | ||
* [npm owner](/commands/npm-owner) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,7 +11,7 @@ description: Retrieve funding information | |
<!-- see lib/commands/fund.js --> | ||
|
||
```bash | ||
npm fund [[<@scope>/]<pkg>] | ||
npm fund [<package-spec>] | ||
``` | ||
|
||
<!-- automatically generated, do not edit manually --> | ||
|
@@ -23,22 +23,22 @@ npm fund [[<@scope>/]<pkg>] | |
|
||
This command retrieves information on how to fund the dependencies of a | ||
given project. If no package name is provided, it will list all | ||
dependencies that are looking for funding in a tree structure, listing the | ||
type of funding and the url to visit. If a package name is provided then it | ||
tries to open its funding url using the `--browser` config param; if there | ||
are multiple funding sources for the package, the user will be instructed | ||
to pass the `--which` option to disambiguate. | ||
dependencies that are looking for funding in a tree structure, listing | ||
the type of funding and the url to visit. If a package name is provided | ||
then it tries to open its funding url using the `--browser` config | ||
param; if there are multiple funding sources for the package, the user | ||
will be instructed to pass the `--which` option to disambiguate. | ||
|
||
The list will avoid duplicated entries and will stack all packages that | ||
share the same url as a single entry. Thus, the list does not have the same | ||
shape of the output from `npm ls`. | ||
share the same url as a single entry. Thus, the list does not have the | ||
same shape of the output from `npm ls`. | ||
|
||
#### Example | ||
|
||
### Workspaces support | ||
|
||
It's possible to filter the results to only include a single workspace and its | ||
dependencies using the `workspace` config option. | ||
It's possible to filter the results to only include a single workspace | ||
and its dependencies using the `workspace` config option. | ||
|
||
#### Example: | ||
|
||
|
@@ -58,8 +58,8 @@ [email protected] | |
`-- [email protected] | ||
``` | ||
|
||
And here is an example of the expected result when filtering only by | ||
a specific workspace `a` in the same project: | ||
And here is an example of the expected result when filtering only by a | ||
specific workspace `a` in the same project: | ||
|
||
```bash | ||
$ npm fund -w a | ||
|
@@ -156,6 +156,7 @@ If there are multiple funding sources, which 1-indexed source URL to open. | |
|
||
## See Also | ||
|
||
* [package spec](/using-npm/package-spec) | ||
* [npm install](/commands/npm-install) | ||
* [npm docs](/commands/npm-docs) | ||
* [npm ls](/commands/npm-ls) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.