| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 8531c95 commit 93670de
260 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -40,7 +40,7 @@ npm <command> | |||
| 40 | 40 | * Note: you can also search docs locally with `npm help-search <query>` | |
| 41 | 41 | * [**Bug Tracker**](https://github.com/npm/cli/issues) - Search or submit bugs against the CLI | |
| 42 | 42 | * [**Roadmap**](https://github.com/orgs/github/projects/4247/views/1?filterQuery=npm) - Track & follow along with our public roadmap | |
| 43 | - * [**Feedback**](https://github.com/npm/feedback) - Contribute ideas & discussion around the npm registry, website & CLI | ||
| 43 | + * [**Community Feedback and Discussions**](https://github.com/orgs/community/discussions/categories/npm) - Contribute ideas & discussion around the npm registry, website & CLI | ||
| 44 | 44 | * [**RFCs**](https://github.com/npm/rfcs) - Contribute ideas & specifications for the API/design of the npm CLI | |
| 45 | 45 | * [**Service Status**](https://status.npmjs.org/) - Monitor the current status & see incident reports for the website & registry | |
| 46 | 46 | * [**Project Status**](https://npm.github.io/statusboard/) - See the health of all our maintained OSS projects in one view | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -138,6 +138,8 @@ into a tarball (b). | |||
| 138 | 138 | ||
| 139 | 139 | * `-D, --save-dev`: Package will appear in your `devDependencies`. | |
| 140 | 140 | ||
| 141 | + * `--save-peer`: Package will appear in your `peerDependencies`. | ||
| 142 | + | ||
| 141 | 143 | * `-O, --save-optional`: Package will appear in your | |
| 142 | 144 | `optionalDependencies`. | |
| 143 | 145 | ||
| 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.1 /path/to/npm | ||
| 30 | + npm@10.8.2 /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 | |
|---|---|---|---|
@@ -14,7 +14,7 @@ Note: This command is unaware of workspaces. | |||
| 14 | 14 | ||
| 15 | 15 | ### Version | |
| 16 | 16 | ||
| 17 | - 10.8.1 | ||
| 17 | + 10.8.2 | ||
| 18 | 18 | ||
| 19 | 19 | ### Description | |
| 20 | 20 | ||
@@ -158,7 +158,7 @@ Please be sure to follow the template and bug reporting guidelines. | |||
| 158 | 158 | ||
| 159 | 159 | Discuss new feature ideas on our discussion forum: | |
| 160 | 160 | ||
| 161 | - * <https://github.com/npm/feedback> | ||
| 161 | + * <https://github.com/orgs/community/discussions/categories/npm> | ||
| 162 | 162 | ||
| 163 | 163 | Or suggest formal RFC proposals: | |
| 164 | 164 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -225,23 +225,35 @@ npm also sets a top-level "maintainers" field with your npm user info. | |||
| 225 | 225 | ### funding | |
| 226 | 226 | ||
| 227 | 227 | You can specify an object containing a URL that provides up-to-date | |
| 228 | - information about ways to help fund development of your package, or a | ||
| 229 | - string URL, or an array of these: | ||
| 228 | + information about ways to help fund development of your package, a | ||
| 229 | + string URL, or an array of objects and string URLs: | ||
| 230 | 230 | ||
| 231 | 231 | ```json | |
| 232 | 232 | { | |
| 233 | 233 | "funding": { | |
| 234 | 234 | "type" : "individual", | |
| 235 | 235 | "url" : "http://example.com/donate" | |
| 236 | - }, | ||
| 236 | + } | ||
| 237 | + } | ||
| 238 | + ``` | ||
| 237 | 239 | ||
| 240 | + ```json | ||
| 241 | + { | ||
| 238 | 242 | "funding": { | |
| 239 | 243 | "type" : "patreon", | |
| 240 | 244 | "url" : "https://www.patreon.com/my-account" | |
| 241 | - }, | ||
| 245 | + } | ||
| 246 | + } | ||
| 247 | + ``` | ||
| 242 | 248 | ||
| 243 | - "funding": "http://example.com/donate", | ||
| 249 | + ```json | ||
| 250 | + { | ||
| 251 | + "funding": "http://example.com/donate" | ||
| 252 | + } | ||
| 253 | + ``` | ||
| 244 | 254 | ||
| 255 | + ```json | ||
| 256 | + { | ||
| 245 | 257 | "funding": [ | |
| 246 | 258 | { | |
| 247 | 259 | "type" : "individual", | |
@@ -258,7 +270,7 @@ string URL, or an array of these: | |||
| 258 | 270 | ||
| 259 | 271 | Users can use the `npm fund` subcommand to list the `funding` URLs of all | |
| 260 | 272 | dependencies of their project, direct and indirect. A shortcut to visit | |
| 261 | - each funding url is also available when providing the project name such as: | ||
| 273 | + each funding URL is also available when providing the project name such as: | ||
| 262 | 274 | `npm fund <projectname>` (when there are multiple URLs, the first one will | |
| 263 | 275 | be visited) | |
| 264 | 276 | ||
@@ -506,7 +518,7 @@ Do it like this: | |||
| 506 | 518 | { | |
| 507 | 519 | "repository": { | |
| 508 | 520 | "type": "git", | |
| 509 | - "url": "https://github.com/npm/cli.git" | ||
| 521 | + "url": "git+https://github.com/npm/cli.git" | ||
| 510 | 522 | } | |
| 511 | 523 | } | |
| 512 | 524 | ``` | |
@@ -541,8 +553,8 @@ which it lives: | |||
| 541 | 553 | { | |
| 542 | 554 | "repository": { | |
| 543 | 555 | "type": "git", | |
| 544 | - "url": "https://github.com/facebook/react.git", | ||
| 545 | - "directory": "packages/react-dom" | ||
| 556 | + "url": "git+https://github.com/npm/cli.git", | ||
| 557 | + "directory": "workspaces/libnpmpublish" | ||
| 546 | 558 | } | |
| 547 | 559 | } | |
| 548 | 560 | ``` | |
| 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----1081"> | ||
| 144 | + <h1 id="----npm-access----1082"> | ||
| 145 | 145 | <span>npm-access</span> | |
| 146 | - <span class="version">@10.8.1</span> | ||
| 146 | + <span class="version">@10.8.2</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----1081"> | ||
| 144 | + <h1 id="----npm-adduser----1082"> | ||
| 145 | 145 | <span>npm-adduser</span> | |
| 146 | - <span class="version">@10.8.1</span> | ||
| 146 | + <span class="version">@10.8.2</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----1081"> | ||
| 144 | + <h1 id="----npm-audit----1082"> | ||
| 145 | 145 | <span>npm-audit</span> | |
| 146 | - <span class="version">@10.8.1</span> | ||
| 146 | + <span class="version">@10.8.2</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----1081"> | ||
| 144 | + <h1 id="----npm-bugs----1082"> | ||
| 145 | 145 | <span>npm-bugs</span> | |
| 146 | - <span class="version">@10.8.1</span> | ||
| 146 | + <span class="version">@10.8.2</span> | ||
| 147 | 147 | </h1> | |
| 148 | 148 | <span class="description">Report bugs for a package in a web browser</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-cache----1081"> | ||
| 144 | + <h1 id="----npm-cache----1082"> | ||
| 145 | 145 | <span>npm-cache</span> | |
| 146 | - <span class="version">@10.8.1</span> | ||
| 146 | + <span class="version">@10.8.2</span> | ||
| 147 | 147 | </h1> | |
| 148 | 148 | <span class="description">Manipulates packages cache</span> | |
| 149 | 149 | </header> | |
| Back | FazBrowse Home | New Git URL |
0 commit comments