| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -290,6 +290,16 @@ field of package.json, which comes from `process.platform`. | |||
| 290 | 290 | ||
| 291 | 291 | ||
| 292 | 292 | ||
| 293 | + #### `libc` | ||
| 294 | + | ||
| 295 | + * Default: null | ||
| 296 | + * Type: null or String | ||
| 297 | + | ||
| 298 | + Override libc of native modules to install. Acceptable values are same as | ||
| 299 | + `libc` field of package.json | ||
| 300 | + | ||
| 301 | + | ||
| 302 | + | ||
| 293 | 303 | #### `workspace` | |
| 294 | 304 | ||
| 295 | 305 | * Default: | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -680,6 +680,16 @@ field of package.json, which comes from `process.platform`. | |||
| 680 | 680 | ||
| 681 | 681 | ||
| 682 | 682 | ||
| 683 | + #### `libc` | ||
| 684 | + | ||
| 685 | + * Default: null | ||
| 686 | + * Type: null or String | ||
| 687 | + | ||
| 688 | + Override libc of native modules to install. Acceptable values are same as | ||
| 689 | + `libc` field of package.json | ||
| 690 | + | ||
| 691 | + | ||
| 692 | + | ||
| 683 | 693 | #### `workspace` | |
| 684 | 694 | ||
| 685 | 695 | * Default: | |
| 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.2.4 /path/to/npm | ||
| 30 | + npm@10.3.0 /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 | |
|---|---|---|---|
@@ -22,7 +22,7 @@ scope-configured registry (see | |||
| 22 | 22 | ||
| 23 | 23 | ||
| 24 | 24 | A `package` is interpreted the same way as other commands (like | |
| 25 | - `npm install` and can be: | ||
| 25 | + `npm install`) and can be: | ||
| 26 | 26 | ||
| 27 | 27 | * a) a folder containing a program described by a | |
| 28 | 28 | [`package.json`](/configuring-npm/package-json) file | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -266,7 +266,7 @@ SBOM format to use when generating SBOMs. | |||
| 266 | 266 | * Type: "library", "application", or "framework" | |
| 267 | 267 | ||
| 268 | 268 | The type of package described by the generated SBOM. For SPDX, this is the | |
| 269 | - value for the `primaryPackagePurpose` fieled. For CycloneDX, this is the | ||
| 269 | + value for the `primaryPackagePurpose` field. For CycloneDX, this is the | ||
| 270 | 270 | value for the `type` field. | |
| 271 | 271 | ||
| 272 | 272 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -27,8 +27,12 @@ removing the tarball. | |||
| 27 | 27 | The npm registry will return an error if you are not [logged | |
| 28 | 28 | in](/commands/npm-adduser). | |
| 29 | 29 | ||
| 30 | - If you do not specify a version or if you remove all of a package's | ||
| 31 | - versions then the registry will remove the root package entry entirely. | ||
| 30 | + If you do not specify a package name at all, the name and version to be | ||
| 31 | + unpublished will be pulled from the project in the current directory. | ||
| 32 | + | ||
| 33 | + If you specify a package name but do not specify a version or if you | ||
| 34 | + remove all of a package's versions then the registry will remove the | ||
| 35 | + root package entry entirely. | ||
| 32 | 36 | ||
| 33 | 37 | Even if you unpublish a package version, that specific name and version | |
| 34 | 38 | combination can never be reused. In order to publish the package again, | |
| 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.2.4 | ||
| 17 | + 10.3.0 | ||
| 18 | 18 | ||
| 19 | 19 | ### Description | |
| 20 | 20 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -150,7 +150,8 @@ This resulted in some shifts in its functionality: | |||
| 150 | 150 | always present in the executed process `PATH`. | |
| 151 | 151 | - The `--npm` option is removed. `npx` will always use the `npm` it ships | |
| 152 | 152 | with. | |
| 153 | - - The `--node-arg` and `-n` options are removed. | ||
| 153 | + - The `--node-arg` and `-n` options have been removed. Use [`NODE_OPTIONS`](https://nodejs.org/api/cli.html#node_optionsoptions) instead: e.g., | ||
| 154 | + `NODE_OPTIONS="--trace-warnings --trace-exit" npx foo --random=true` | ||
| 154 | 155 | - The `--always-spawn` option is redundant, and thus removed. | |
| 155 | 156 | - The `--shell` option is replaced with `--script-shell`, but maintained | |
| 156 | 157 | in the `npx` executable for backwards compatibility. | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -19,10 +19,10 @@ For a list of available configuration options, see | |||
| 19 | 19 | ||
| 20 | 20 | The four relevant files are: | |
| 21 | 21 | ||
| 22 | - * per-project config file (/path/to/my/project/.npmrc) | ||
| 23 | - * per-user config file (~/.npmrc) | ||
| 24 | - * global config file ($PREFIX/etc/npmrc) | ||
| 25 | - * npm builtin config file (/path/to/npm/npmrc) | ||
| 22 | + * per-project config file (`/path/to/my/project/.npmrc`) | ||
| 23 | + * per-user config file (`~/.npmrc`) | ||
| 24 | + * global config file (`$PREFIX/etc/npmrc`) | ||
| 25 | + * npm builtin config file (`/path/to/npm/npmrc`) | ||
| 26 | 26 | ||
| 27 | 27 | All npm config files are an ini-formatted list of `key = value` parameters. | |
| 28 | 28 | Environment variables can be replaced using `${VARIABLE_NAME}`. For | |
| Back | FazBrowse Home | New Git URL |
0 commit comments