| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 340d76a commit 7c03a3d
319 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1550,7 +1550,7 @@ CONFLICT_RE=^>>>>>>> [[:xdigit:]]+|^<<<<<<< [[:alpha:]]+ | |||
| 1550 | 1550 | ||
| 1551 | 1551 | # Related CI job: node-test-linter | |
| 1552 | 1552 | lint-ci: lint-js-ci lint-cpp lint-py lint-md lint-addon-docs lint-yaml-build lint-yaml | |
| 1553 | - @if ! ( grep -IEqrs "$(CONFLICT_RE)" --exclude="error-message.js" benchmark deps doc lib src test tools ) \ | ||
| 1553 | + @if ! ( grep -IEqrs "$(CONFLICT_RE)" --exclude="error-message.js" --exclude="merge-conflict.json" benchmark deps doc lib src test tools ) \ | ||
| 1554 | 1554 | && ! ( $(FIND) . -maxdepth 1 -type f | xargs grep -IEqs "$(CONFLICT_RE)" ); then \ | |
| 1555 | 1555 | exit 0 ; \ | |
| 1556 | 1556 | else \ | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -16,6 +16,8 @@ npm access grant <read-only|read-write> <scope:team> [<package>] | |||
| 16 | 16 | npm access revoke <scope:team> [<package>] | |
| 17 | 17 | ``` | |
| 18 | 18 | ||
| 19 | + Note: This command is unaware of workspaces. | ||
| 20 | + | ||
| 19 | 21 | ### Description | |
| 20 | 22 | ||
| 21 | 23 | Used to set access controls on private packages. | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -67,7 +67,8 @@ npm init --scope=@foo --yes | |||
| 67 | 67 | * Default: "web" | |
| 68 | 68 | * Type: "legacy" or "web" | |
| 69 | 69 | ||
| 70 | - What authentication strategy to use with `login`. | ||
| 70 | + What authentication strategy to use with `login`. Note that if an `otp` | ||
| 71 | + config is given, this value will always be set to `legacy`. | ||
| 71 | 72 | ||
| 72 | 73 | ### See Also | |
| 73 | 74 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -138,7 +138,7 @@ de-duplicating. Sets `--install-strategy=nested`. | |||
| 138 | 138 | `--install-strategy=shallow` | |
| 139 | 139 | ||
| 140 | 140 | Only install direct dependencies in the top level `node_modules`, but hoist | |
| 141 | - on deeper dependendencies. Sets `--install-strategy=shallow`. | ||
| 141 | + on deeper dependencies. Sets `--install-strategy=shallow`. | ||
| 142 | 142 | ||
| 143 | 143 | #### `omit` | |
| 144 | 144 | ||
@@ -173,7 +173,7 @@ be resolved using the nearest non-peer dependency specification, even if | |||
| 173 | 173 | doing so will result in some packages receiving a peer dependency outside | |
| 174 | 174 | the range set in their package's `peerDependencies` object. | |
| 175 | 175 | ||
| 176 | - When such and override is performed, a warning is printed, explaining the | ||
| 176 | + When such an override is performed, a warning is printed, explaining the | ||
| 177 | 177 | conflict and the packages involved. If `--strict-peer-deps` is set, then | |
| 178 | 178 | this warning is treated as a failure. | |
| 179 | 179 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -109,7 +109,7 @@ de-duplicating. Sets `--install-strategy=nested`. | |||
| 109 | 109 | `--install-strategy=shallow` | |
| 110 | 110 | ||
| 111 | 111 | Only install direct dependencies in the top level `node_modules`, but hoist | |
| 112 | - on deeper dependendencies. Sets `--install-strategy=shallow`. | ||
| 112 | + on deeper dependencies. Sets `--install-strategy=shallow`. | ||
| 113 | 113 | ||
| 114 | 114 | #### `strict-peer-deps` | |
| 115 | 115 | ||
@@ -126,7 +126,7 @@ be resolved using the nearest non-peer dependency specification, even if | |||
| 126 | 126 | doing so will result in some packages receiving a peer dependency outside | |
| 127 | 127 | the range set in their package's `peerDependencies` object. | |
| 128 | 128 | ||
| 129 | - When such and override is performed, a warning is printed, explaining the | ||
| 129 | + When such an override is performed, a warning is printed, explaining the | ||
| 130 | 130 | conflict and the packages involved. If `--strict-peer-deps` is set, then | |
| 131 | 131 | this warning is treated as a failure. | |
| 132 | 132 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -49,7 +49,7 @@ de-duplicating. Sets `--install-strategy=nested`. | |||
| 49 | 49 | `--install-strategy=shallow` | |
| 50 | 50 | ||
| 51 | 51 | Only install direct dependencies in the top level `node_modules`, but hoist | |
| 52 | - on deeper dependendencies. Sets `--install-strategy=shallow`. | ||
| 52 | + on deeper dependencies. Sets `--install-strategy=shallow`. | ||
| 53 | 53 | ||
| 54 | 54 | #### `strict-peer-deps` | |
| 55 | 55 | ||
@@ -66,7 +66,7 @@ be resolved using the nearest non-peer dependency specification, even if | |||
| 66 | 66 | doing so will result in some packages receiving a peer dependency outside | |
| 67 | 67 | the range set in their package's `peerDependencies` object. | |
| 68 | 68 | ||
| 69 | - When such and override is performed, a warning is printed, explaining the | ||
| 69 | + When such an override is performed, a warning is printed, explaining the | ||
| 70 | 70 | conflict and the packages involved. If `--strict-peer-deps` is set, then | |
| 71 | 71 | this warning is treated as a failure. | |
| 72 | 72 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -7,7 +7,7 @@ description: Create a package.json file | |||
| 7 | 7 | ### Synopsis | |
| 8 | 8 | ||
| 9 | 9 | ```bash | |
| 10 | - npm init <package-spec> (same as `npx <package-spec>) | ||
| 10 | + npm init <package-spec> (same as `npx <package-spec>`) | ||
| 11 | 11 | npm init <@scope> (same as `npx <@scope>/create`) | |
| 12 | 12 | ||
| 13 | 13 | aliases: create, innit | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -84,7 +84,7 @@ de-duplicating. Sets `--install-strategy=nested`. | |||
| 84 | 84 | `--install-strategy=shallow` | |
| 85 | 85 | ||
| 86 | 86 | Only install direct dependencies in the top level `node_modules`, but hoist | |
| 87 | - on deeper dependendencies. Sets `--install-strategy=shallow`. | ||
| 87 | + on deeper dependencies. Sets `--install-strategy=shallow`. | ||
| 88 | 88 | ||
| 89 | 89 | #### `omit` | |
| 90 | 90 | ||
@@ -119,7 +119,7 @@ be resolved using the nearest non-peer dependency specification, even if | |||
| 119 | 119 | doing so will result in some packages receiving a peer dependency outside | |
| 120 | 120 | the range set in their package's `peerDependencies` object. | |
| 121 | 121 | ||
| 122 | - When such and override is performed, a warning is printed, explaining the | ||
| 122 | + When such an override is performed, a warning is printed, explaining the | ||
| 123 | 123 | conflict and the packages involved. If `--strict-peer-deps` is set, then | |
| 124 | 124 | this warning is treated as a failure. | |
| 125 | 125 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -85,7 +85,7 @@ de-duplicating. Sets `--install-strategy=nested`. | |||
| 85 | 85 | `--install-strategy=shallow` | |
| 86 | 86 | ||
| 87 | 87 | Only install direct dependencies in the top level `node_modules`, but hoist | |
| 88 | - on deeper dependendencies. Sets `--install-strategy=shallow`. | ||
| 88 | + on deeper dependencies. Sets `--install-strategy=shallow`. | ||
| 89 | 89 | ||
| 90 | 90 | #### `omit` | |
| 91 | 91 | ||
@@ -120,7 +120,7 @@ be resolved using the nearest non-peer dependency specification, even if | |||
| 120 | 120 | doing so will result in some packages receiving a peer dependency outside | |
| 121 | 121 | the range set in their package's `peerDependencies` object. | |
| 122 | 122 | ||
| 123 | - When such and override is performed, a warning is printed, explaining the | ||
| 123 | + When such an override is performed, a warning is printed, explaining the | ||
| 124 | 124 | conflict and the packages involved. If `--strict-peer-deps` is set, then | |
| 125 | 125 | this warning is treated as a failure. | |
| 126 | 126 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -475,7 +475,7 @@ de-duplicating. Sets `--install-strategy=nested`. | |||
| 475 | 475 | `--install-strategy=shallow` | |
| 476 | 476 | ||
| 477 | 477 | Only install direct dependencies in the top level `node_modules`, but hoist | |
| 478 | - on deeper dependendencies. Sets `--install-strategy=shallow`. | ||
| 478 | + on deeper dependencies. Sets `--install-strategy=shallow`. | ||
| 479 | 479 | ||
| 480 | 480 | #### `omit` | |
| 481 | 481 | ||
@@ -510,7 +510,7 @@ be resolved using the nearest non-peer dependency specification, even if | |||
| 510 | 510 | doing so will result in some packages receiving a peer dependency outside | |
| 511 | 511 | the range set in their package's `peerDependencies` object. | |
| 512 | 512 | ||
| 513 | - When such and override is performed, a warning is printed, explaining the | ||
| 513 | + When such an override is performed, a warning is printed, explaining the | ||
| 514 | 514 | conflict and the packages involved. If `--strict-peer-deps` is set, then | |
| 515 | 515 | this warning is treated as a failure. | |
| 516 | 516 | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments