| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent a0766bd commit 0b375a3
421 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -3,7 +3,7 @@ | |||
| 3 | 3 | // without having to load all of npm first | |
| 4 | 4 | // It does not accept argv params | |
| 5 | 5 | ||
| 6 | - const path = require('path') | ||
| 6 | + const path = require('node:path') | ||
| 7 | 7 | const Config = require('@npmcli/config') | |
| 8 | 8 | const { definitions, flatten, shorthands } = require('@npmcli/config/lib/definitions') | |
| 9 | 9 | const config = new Config({ | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -248,12 +248,15 @@ folder instead of the current working directory. See | |||
| 248 | 248 | If you ask npm to install a package and don't tell it a specific version, | |
| 249 | 249 | then it will install the specified tag. | |
| 250 | 250 | ||
| 251 | - Also the tag that is added to the package@version specified by the `npm tag` | ||
| 252 | - command, if no explicit tag is given. | ||
| 251 | + It is the tag added to the package@version specified in the `npm dist-tag | ||
| 252 | + add` command, if no explicit tag is given. | ||
| 253 | 253 | ||
| 254 | 254 | When used by the `npm diff` command, this is the tag used to fetch the | |
| 255 | 255 | tarball that will be compared with the local files by default. | |
| 256 | 256 | ||
| 257 | + If used in the `npm publish` command, this is the tag that will be added to | ||
| 258 | + the package submitted to the registry. | ||
| 259 | + | ||
| 257 | 260 | ||
| 258 | 261 | ||
| 259 | 262 | #### `workspace` | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -27,7 +27,7 @@ packages will *also* show the paths to the specified packages. For | |||
| 27 | 27 | example, running `npm ls promzard` in npm's source tree will show: | |
| 28 | 28 | ||
| 29 | 29 | ```bash | |
| 30 | - npm@10.8.0 /path/to/npm | ||
| 30 | + npm@10.8.1 /path/to/npm | ||
| 31 | 31 | └─┬ init-package-json@0.0.4 | |
| 32 | 32 | └── promzard@0.1.5 | |
| 33 | 33 | ``` | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -95,12 +95,15 @@ built. | |||
| 95 | 95 | If you ask npm to install a package and don't tell it a specific version, | |
| 96 | 96 | then it will install the specified tag. | |
| 97 | 97 | ||
| 98 | - Also the tag that is added to the package@version specified by the `npm tag` | ||
| 99 | - command, if no explicit tag is given. | ||
| 98 | + It is the tag added to the package@version specified in the `npm dist-tag | ||
| 99 | + add` command, if no explicit tag is given. | ||
| 100 | 100 | ||
| 101 | 101 | When used by the `npm diff` command, this is the tag used to fetch the | |
| 102 | 102 | tarball that will be compared with the local files by default. | |
| 103 | 103 | ||
| 104 | + If used in the `npm publish` command, this is the tag that will be added to | ||
| 105 | + the package submitted to the registry. | ||
| 106 | + | ||
| 104 | 107 | ||
| 105 | 108 | ||
| 106 | 109 | #### `access` | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -14,7 +14,7 @@ Note: This command is unaware of workspaces. | |||
| 14 | 14 | ||
| 15 | 15 | ### Version | |
| 16 | 16 | ||
| 17 | - 10.8.0 | ||
| 17 | + 10.8.1 | ||
| 18 | 18 | ||
| 19 | 19 | ### Description | |
| 20 | 20 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1567,12 +1567,15 @@ See also the `ca` config. | |||
| 1567 | 1567 | If you ask npm to install a package and don't tell it a specific version, | |
| 1568 | 1568 | then it will install the specified tag. | |
| 1569 | 1569 | ||
| 1570 | - Also the tag that is added to the package@version specified by the `npm tag` | ||
| 1571 | - command, if no explicit tag is given. | ||
| 1570 | + It is the tag added to the package@version specified in the `npm dist-tag | ||
| 1571 | + add` command, if no explicit tag is given. | ||
| 1572 | 1572 | ||
| 1573 | 1573 | When used by the `npm diff` command, this is the tag used to fetch the | |
| 1574 | 1574 | tarball that will be compared with the local files by default. | |
| 1575 | 1575 | ||
| 1576 | + If used in the `npm publish` command, this is the tag that will be added to | ||
| 1577 | + the package submitted to the registry. | ||
| 1578 | + | ||
| 1576 | 1579 | ||
| 1577 | 1580 | ||
| 1578 | 1581 | #### `tag-version-prefix` | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -141,9 +141,9 @@ | |||
| 141 | 141 | ||
| 142 | 142 | <section id="content"> | |
| 143 | 143 | <header class="title"> | |
| 144 | - <h1 id="----npm-access----1080"> | ||
| 144 | + <h1 id="----npm-access----1081"> | ||
| 145 | 145 | <span>npm-access</span> | |
| 146 | - <span class="version">@10.8.0</span> | ||
| 146 | + <span class="version">@10.8.1</span> | ||
| 147 | 147 | </h1> | |
| 148 | 148 | <span class="description">Set access level on published packages</span> | |
| 149 | 149 | </header> | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -141,9 +141,9 @@ | |||
| 141 | 141 | ||
| 142 | 142 | <section id="content"> | |
| 143 | 143 | <header class="title"> | |
| 144 | - <h1 id="----npm-adduser----1080"> | ||
| 144 | + <h1 id="----npm-adduser----1081"> | ||
| 145 | 145 | <span>npm-adduser</span> | |
| 146 | - <span class="version">@10.8.0</span> | ||
| 146 | + <span class="version">@10.8.1</span> | ||
| 147 | 147 | </h1> | |
| 148 | 148 | <span class="description">Add a registry user account</span> | |
| 149 | 149 | </header> | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -141,9 +141,9 @@ | |||
| 141 | 141 | ||
| 142 | 142 | <section id="content"> | |
| 143 | 143 | <header class="title"> | |
| 144 | - <h1 id="----npm-audit----1080"> | ||
| 144 | + <h1 id="----npm-audit----1081"> | ||
| 145 | 145 | <span>npm-audit</span> | |
| 146 | - <span class="version">@10.8.0</span> | ||
| 146 | + <span class="version">@10.8.1</span> | ||
| 147 | 147 | </h1> | |
| 148 | 148 | <span class="description">Run a security audit</span> | |
| 149 | 149 | </header> | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -141,9 +141,9 @@ | |||
| 141 | 141 | ||
| 142 | 142 | <section id="content"> | |
| 143 | 143 | <header class="title"> | |
| 144 | - <h1 id="----npm-bugs----1080"> | ||
| 144 | + <h1 id="----npm-bugs----1081"> | ||
| 145 | 145 | <span>npm-bugs</span> | |
| 146 | - <span class="version">@10.8.0</span> | ||
| 146 | + <span class="version">@10.8.1</span> | ||
| 147 | 147 | </h1> | |
| 148 | 148 | <span class="description">Report bugs for a package in a web browser</span> | |
| 149 | 149 | </header> | |
| Back | FazBrowse Home | New Git URL |
0 commit comments