| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 0e4a3b7 commit 03f67d6
103 files changed
| 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@9.6.6 /path/to/npm | ||
| 30 | + npm@9.6.7 /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 | - 9.6.6 | ||
| 17 | + 9.6.7 | ||
| 18 | 18 | ||
| 19 | 19 | ### Description | |
| 20 | 20 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -323,7 +323,7 @@ This should be a module relative to the root of your package folder. | |||
| 323 | 323 | For most modules, it makes the most sense to have a main script and often | |
| 324 | 324 | not much else. | |
| 325 | 325 | ||
| 326 | - If `main` is not set it defaults to `index.js` in the package's root folder. | ||
| 326 | + If `main` is not set, it defaults to `index.js` in the package's root folder. | ||
| 327 | 327 | ||
| 328 | 328 | ### browser | |
| 329 | 329 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -289,16 +289,6 @@ npm exec --package yo --package generator-node --call "yo node" | |||
| 289 | 289 | ``` | |
| 290 | 290 | ||
| 291 | 291 | ||
| 292 | - #### `ci-name` | ||
| 293 | - | ||
| 294 | - * Default: The name of the current CI system, or `null` when not on a known CI | ||
| 295 | - platform. | ||
| 296 | - * Type: null or String | ||
| 297 | - | ||
| 298 | - The name of a continuous integration system. If not set explicitly, npm will | ||
| 299 | - detect the current CI environment using the | ||
| 300 | - [`ci-info`](http://npm.im/ci-info) module. | ||
| 301 | - | ||
| 302 | 292 | #### `cidr` | |
| 303 | 293 | ||
| 304 | 294 | * Default: null | |
@@ -1514,6 +1504,18 @@ It is _not_ the path to a certificate file, though you can set a | |||
| 1514 | 1504 | registry-scoped "certfile" path like | |
| 1515 | 1505 | "//other-registry.tld/:certfile=/path/to/cert.pem". | |
| 1516 | 1506 | ||
| 1507 | + #### `ci-name` | ||
| 1508 | + | ||
| 1509 | + * Default: The name of the current CI system, or `null` when not on a known CI | ||
| 1510 | + platform. | ||
| 1511 | + * Type: null or String | ||
| 1512 | + * DEPRECATED: This config is deprecated and will not be changeable in future | ||
| 1513 | + version of npm. | ||
| 1514 | + | ||
| 1515 | + The name of a continuous integration system. If not set explicitly, npm will | ||
| 1516 | + detect the current CI environment using the | ||
| 1517 | + [`ci-info`](http://npm.im/ci-info) module. | ||
| 1518 | + | ||
| 1517 | 1519 | #### `dev` | |
| 1518 | 1520 | ||
| 1519 | 1521 | * Default: false | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -160,7 +160,7 @@ <h3 id="description">Description</h3> | |||
| 160 | 160 | the results to only the paths to the packages named. Note that nested | |
| 161 | 161 | packages will <em>also</em> show the paths to the specified packages. For | |
| 162 | 162 | example, running <code>npm ls promzard</code> in npm's source tree will show:</p> | |
| 163 | - <pre><code class="language-bash">npm@9.6.6 /path/to/npm | ||
| 163 | + <pre><code class="language-bash">npm@9.6.7 /path/to/npm | ||
| 164 | 164 | └─┬ init-package-json@0.0.4 | |
| 165 | 165 | └── promzard@0.1.5 | |
| 166 | 166 | </code></pre> | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -150,7 +150,7 @@ <h2 id="table-of-contents">Table of contents</h2> | |||
| 150 | 150 | </code></pre> | |
| 151 | 151 | <p>Note: This command is unaware of workspaces.</p> | |
| 152 | 152 | <h3 id="version">Version</h3> | |
| 153 | - <p>9.6.6</p> | ||
| 153 | + <p>9.6.7</p> | ||
| 154 | 154 | <h3 id="description">Description</h3> | |
| 155 | 155 | <p>npm is the package manager for the Node JavaScript platform. It puts | |
| 156 | 156 | modules in place so that node can find them, and manages dependency | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -391,7 +391,7 @@ <h3 id="main">main</h3> | |||
| 391 | 391 | <p>This should be a module relative to the root of your package folder.</p> | |
| 392 | 392 | <p>For most modules, it makes the most sense to have a main script and often | |
| 393 | 393 | not much else.</p> | |
| 394 | - <p>If <code>main</code> is not set it defaults to <code>index.js</code> in the package's root folder.</p> | ||
| 394 | + <p>If <code>main</code> is not set, it defaults to <code>index.js</code> in the package's root folder.</p> | ||
| 395 | 395 | <h3 id="browser">browser</h3> | |
| 396 | 396 | <p>If your module is meant to be used client-side the browser field should be | |
| 397 | 397 | used instead of the main field. This is helpful to hint users that it might | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -76,7 +76,7 @@ class Cache extends BaseCommand { | |||
| 76 | 76 | async completion (opts) { | |
| 77 | 77 | const argv = opts.conf.argv.remain | |
| 78 | 78 | if (argv.length === 2) { | |
| 79 | - return ['add', 'clean', 'verify', 'ls', 'delete'] | ||
| 79 | + return ['add', 'clean', 'verify', 'ls'] | ||
| 80 | 80 | } | |
| 81 | 81 | ||
| 82 | 82 | // TODO - eventually... | |
@@ -85,7 +85,6 @@ class Cache extends BaseCommand { | |||
| 85 | 85 | case 'clean': | |
| 86 | 86 | case 'add': | |
| 87 | 87 | case 'ls': | |
| 88 | - case 'delete': | ||
| 89 | 88 | return [] | |
| 90 | 89 | } | |
| 91 | 90 | } | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -439,6 +439,9 @@ define('ci-name', { | |||
| 439 | 439 | platform. | |
| 440 | 440 | `, | |
| 441 | 441 | type: [null, String], | |
| 442 | + deprecated: ` | ||
| 443 | + This config is deprecated and will not be changeable in future version of npm. | ||
| 444 | + `, | ||
| 442 | 445 | description: ` | |
| 443 | 446 | The name of a continuous integration system. If not set explicitly, npm | |
| 444 | 447 | will detect the current CI environment using the | |
| Back | FazBrowse Home | New Git URL |
0 commit comments