From fd91de77fad169d6f3ac86c1c556fda1e1886320 Mon Sep 17 00:00:00 2001 From: npm CLI robot Date: Tue, 7 Feb 2023 20:55:26 +0000 Subject: [PATCH] CLI documentation update from CI --- content/cli/v9/commands/npm-access.md | 3 +- content/cli/v9/commands/npm-audit.md | 2 +- content/cli/v9/commands/npm-ci.md | 2 +- content/cli/v9/commands/npm-dedupe.md | 2 +- content/cli/v9/commands/npm-dist-tag.md | 4 +-- content/cli/v9/commands/npm-find-dupes.md | 2 +- .../cli/v9/commands/npm-install-ci-test.md | 2 +- content/cli/v9/commands/npm-install-test.md | 2 +- content/cli/v9/commands/npm-install.md | 2 +- content/cli/v9/commands/npm-link.md | 2 +- content/cli/v9/commands/npm-ls.md | 4 +-- content/cli/v9/commands/npm-owner.md | 4 +-- content/cli/v9/commands/npm-prune.md | 2 +- content/cli/v9/commands/npm-rebuild.md | 2 +- content/cli/v9/commands/npm-team.md | 3 +- content/cli/v9/commands/npm-uninstall.md | 2 +- content/cli/v9/commands/npm-update.md | 2 +- content/cli/v9/commands/npm.md | 2 +- content/cli/v9/using-npm/changelog.md | 36 +++++++++++++++++++ content/cli/v9/using-npm/config.md | 2 +- src/theme/nav.yml | 2 +- 21 files changed, 60 insertions(+), 24 deletions(-) diff --git a/content/cli/v9/commands/npm-access.md b/content/cli/v9/commands/npm-access.md index fc79c3dc04f..84c443d9142 100644 --- a/content/cli/v9/commands/npm-access.md +++ b/content/cli/v9/commands/npm-access.md @@ -98,8 +98,7 @@ You must have privileges to set the access of a package: * You have been given read-write privileges for a package, either as a member of a team or directly as an owner. -If you have two-factor authentication enabled then you'll be prompted to -provide an otp token, or may use the `--otp=...` option to specify it on +If you have two-factor authentication enabled then you'll be prompted to provide a second factor, or may use the `--otp=...` option to specify it on the command line. If your account is not paid, then attempts to publish scoped packages will diff --git a/content/cli/v9/commands/npm-audit.md b/content/cli/v9/commands/npm-audit.md index 529543367e4..4ccda2c1cba 100644 --- a/content/cli/v9/commands/npm-audit.md +++ b/content/cli/v9/commands/npm-audit.md @@ -439,7 +439,7 @@ This value is not exported to the environment for child processes. #### `install-links` -* Default: true +* Default: false * Type: Boolean When set file: protocol dependencies will be packed and installed as regular diff --git a/content/cli/v9/commands/npm-ci.md b/content/cli/v9/commands/npm-ci.md index f2c27be018a..8c802cecadf 100644 --- a/content/cli/v9/commands/npm-ci.md +++ b/content/cli/v9/commands/npm-ci.md @@ -341,7 +341,7 @@ This value is not exported to the environment for child processes. #### `install-links` -* Default: true +* Default: false * Type: Boolean When set file: protocol dependencies will be packed and installed as regular diff --git a/content/cli/v9/commands/npm-dedupe.md b/content/cli/v9/commands/npm-dedupe.md index a4c455781a1..07226514304 100644 --- a/content/cli/v9/commands/npm-dedupe.md +++ b/content/cli/v9/commands/npm-dedupe.md @@ -300,7 +300,7 @@ This value is not exported to the environment for child processes. #### `install-links` -* Default: true +* Default: false * Type: Boolean When set file: protocol dependencies will be packed and installed as regular diff --git a/content/cli/v9/commands/npm-dist-tag.md b/content/cli/v9/commands/npm-dist-tag.md index 7d481839417..3421af5f8be 100644 --- a/content/cli/v9/commands/npm-dist-tag.md +++ b/content/cli/v9/commands/npm-dist-tag.md @@ -53,12 +53,12 @@ Add, remove, and enumerate distribution tags on a package: or the [`--tag` config](/cli/v9/using-npm/config#tag) if not specified. If you have two-factor authentication on auth-and-writes then you’ll need to include a one-time password on the command line with - `--otp `, or at the OTP prompt. + `--otp `, or go through a second factor flow based on your `authtype`. * rm: Clear a tag that is no longer in use from the package. If you have two-factor authentication on auth-and-writes then you’ll need to include a one-time password on the command line with `--otp `, - or at the OTP prompt. + or go through a second factor flow based on your `authtype` * ls: Show all of the dist-tags for a package, defaulting to the package in the current prefix. This is the default action if none is specified. diff --git a/content/cli/v9/commands/npm-find-dupes.md b/content/cli/v9/commands/npm-find-dupes.md index fc4c34e7b05..bd48b5e7e1d 100644 --- a/content/cli/v9/commands/npm-find-dupes.md +++ b/content/cli/v9/commands/npm-find-dupes.md @@ -227,7 +227,7 @@ This value is not exported to the environment for child processes. #### `install-links` -* Default: true +* Default: false * Type: Boolean When set file: protocol dependencies will be packed and installed as regular diff --git a/content/cli/v9/commands/npm-install-ci-test.md b/content/cli/v9/commands/npm-install-ci-test.md index 37d02c8f7b1..8f2597c5335 100644 --- a/content/cli/v9/commands/npm-install-ci-test.md +++ b/content/cli/v9/commands/npm-install-ci-test.md @@ -287,7 +287,7 @@ This value is not exported to the environment for child processes. #### `install-links` -* Default: true +* Default: false * Type: Boolean When set file: protocol dependencies will be packed and installed as regular diff --git a/content/cli/v9/commands/npm-install-test.md b/content/cli/v9/commands/npm-install-test.md index d00ffcc264e..1e7e39a4735 100644 --- a/content/cli/v9/commands/npm-install-test.md +++ b/content/cli/v9/commands/npm-install-test.md @@ -288,7 +288,7 @@ This value is not exported to the environment for child processes. #### `install-links` -* Default: true +* Default: false * Type: Boolean When set file: protocol dependencies will be packed and installed as regular diff --git a/content/cli/v9/commands/npm-install.md b/content/cli/v9/commands/npm-install.md index 3fc067ba184..072af93dfa7 100644 --- a/content/cli/v9/commands/npm-install.md +++ b/content/cli/v9/commands/npm-install.md @@ -678,7 +678,7 @@ This value is not exported to the environment for child processes. #### `install-links` -* Default: true +* Default: false * Type: Boolean When set file: protocol dependencies will be packed and installed as regular diff --git a/content/cli/v9/commands/npm-link.md b/content/cli/v9/commands/npm-link.md index f24a4c346c1..bc21a6b3fdf 100644 --- a/content/cli/v9/commands/npm-link.md +++ b/content/cli/v9/commands/npm-link.md @@ -367,7 +367,7 @@ This value is not exported to the environment for child processes. #### `install-links` -* Default: true +* Default: false * Type: Boolean When set file: protocol dependencies will be packed and installed as regular diff --git a/content/cli/v9/commands/npm-ls.md b/content/cli/v9/commands/npm-ls.md index 6e7f72ff9ae..c62a4456965 100644 --- a/content/cli/v9/commands/npm-ls.md +++ b/content/cli/v9/commands/npm-ls.md @@ -58,7 +58,7 @@ packages will *also* show the paths to the specified packages. For example, running `npm ls promzard` in npm's source tree will show: ```bash -npm@9.4.1 /path/to/npm +npm@9.4.2 /path/to/npm └─┬ init-package-json@0.0.4 └── promzard@0.1.5 ``` @@ -267,7 +267,7 @@ This value is not exported to the environment for child processes. #### `install-links` -* Default: true +* Default: false * Type: Boolean When set file: protocol dependencies will be packed and installed as regular diff --git a/content/cli/v9/commands/npm-owner.md b/content/cli/v9/commands/npm-owner.md index b53e81a3977..98894794770 100644 --- a/content/cli/v9/commands/npm-owner.md +++ b/content/cli/v9/commands/npm-owner.md @@ -61,8 +61,8 @@ or you can't. Future versions may contain more fine-grained access levels, but that is not implemented at this time. If you have two-factor authentication enabled with `auth-and-writes` (see -[`npm-profile`](/cli/v9/commands/npm-profile)) then you'll need to include an otp -on the command line when changing ownership with `--otp`. +[`npm-profile`](/cli/v9/commands/npm-profile)) then you'll need to go through a second factor +flow when changing ownership or include an otp on the command line with `--otp`. ### Configuration diff --git a/content/cli/v9/commands/npm-prune.md b/content/cli/v9/commands/npm-prune.md index d19d484f208..09531997c5e 100644 --- a/content/cli/v9/commands/npm-prune.md +++ b/content/cli/v9/commands/npm-prune.md @@ -188,7 +188,7 @@ This value is not exported to the environment for child processes. #### `install-links` -* Default: true +* Default: false * Type: Boolean When set file: protocol dependencies will be packed and installed as regular diff --git a/content/cli/v9/commands/npm-rebuild.md b/content/cli/v9/commands/npm-rebuild.md index 256046f10d4..57395ca66aa 100644 --- a/content/cli/v9/commands/npm-rebuild.md +++ b/content/cli/v9/commands/npm-rebuild.md @@ -161,7 +161,7 @@ This value is not exported to the environment for child processes. #### `install-links` -* Default: true +* Default: false * Type: Boolean When set file: protocol dependencies will be packed and installed as regular diff --git a/content/cli/v9/commands/npm-team.md b/content/cli/v9/commands/npm-team.md index 7ea4eebb9ad..bbace1d1189 100644 --- a/content/cli/v9/commands/npm-team.md +++ b/content/cli/v9/commands/npm-team.md @@ -59,7 +59,8 @@ as `@org:newteam` in these commands. If you have two-factor authentication enabled in `auth-and-writes` mode, then you can provide a code from your authenticator with `[--otp ]`. -If you don't include this then you will be prompted. +If you don't include this then you will be taken through a second factor flow based +on your `authtype`. * create / destroy: Create a new team, or destroy an existing one. Note: You cannot remove the diff --git a/content/cli/v9/commands/npm-uninstall.md b/content/cli/v9/commands/npm-uninstall.md index d667e8f0c80..30f1776f733 100644 --- a/content/cli/v9/commands/npm-uninstall.md +++ b/content/cli/v9/commands/npm-uninstall.md @@ -154,7 +154,7 @@ This value is not exported to the environment for child processes. #### `install-links` -* Default: true +* Default: false * Type: Boolean When set file: protocol dependencies will be packed and installed as regular diff --git a/content/cli/v9/commands/npm-update.md b/content/cli/v9/commands/npm-update.md index 01b4ebfa54d..bc621cb147c 100644 --- a/content/cli/v9/commands/npm-update.md +++ b/content/cli/v9/commands/npm-update.md @@ -418,7 +418,7 @@ This value is not exported to the environment for child processes. #### `install-links` -* Default: true +* Default: false * Type: Boolean When set file: protocol dependencies will be packed and installed as regular diff --git a/content/cli/v9/commands/npm.md b/content/cli/v9/commands/npm.md index 59de3172781..8c473370f75 100644 --- a/content/cli/v9/commands/npm.md +++ b/content/cli/v9/commands/npm.md @@ -31,7 +31,7 @@ Note: This command is unaware of workspaces. ### Version -9.4.1 +9.4.2 ### Description diff --git a/content/cli/v9/using-npm/changelog.md b/content/cli/v9/using-npm/changelog.md index ab81c0bad0b..cd6636e83b7 100644 --- a/content/cli/v9/using-npm/changelog.md +++ b/content/cli/v9/using-npm/changelog.md @@ -17,6 +17,42 @@ redirect_from: # Changelog +## [9.4.2](https://github.com/npm/cli/compare/v9.4.1...v9.4.2) (2023-02-07) + +### Bug Fixes + +* [`d02da52`](https://github.com/npm/cli/commit/d02da52dc1ac6520223e9e7e8fdcbd9e27b5333f) [#6142](https://github.com/npm/cli/pull/6142) revert `install-links` default back to `false` (#6142) (@nlf) + +### Documentation + +* [`6ea2cd7`](https://github.com/npm/cli/commit/6ea2cd77c6ba92f213e4833c746f032ef9bfcc3d) [#6134](https://github.com/npm/cli/pull/6134) update references to OTP to be accurate (#6134) (@MylesBorins) + +### Dependencies + +* [`cb6713d`](https://github.com/npm/cli/commit/cb6713dc8ef7161c8162cc418a023d25b17e5bcf) [#6143](https://github.com/npm/cli/pull/6143) rebuild package-lock (#6143) +* [`8200f4f`](https://github.com/npm/cli/commit/8200f4f16d9dad1d44094c8c2182e26bc1a8b732) [#6133](https://github.com/npm/cli/pull/6133) `ignore-walk@6.0.1` +* [`d43f881`](https://github.com/npm/cli/commit/d43f8812af5900cce45364729871a745b379aea9) `map-workspaces@3.0.2` +* [`99457f1`](https://github.com/npm/cli/commit/99457f1f48d57f913b398e25f4e5da066af71204) `minimatch@6.1.6` +* [`f4c8c62`](https://github.com/npm/cli/commit/f4c8c62baf532b7599e3760f959788bbda97ba0b) `init-package-json@5.0.0` +* [`3c6615f`](https://github.com/npm/cli/commit/3c6615fff53a3368679f28b8812eba86dbc195a9) `npm-user-validate@2.0.0` +* [`10445ca`](https://github.com/npm/cli/commit/10445ca4a09df590777a9289ab1ed0f41449c85d) remove mkdirp +* [`ab82492`](https://github.com/npm/cli/commit/ab824922ea7678585926adb67a90cdcebc53b4ae) `node-gyp@9.3.1` +* [`74c5cbb`](https://github.com/npm/cli/commit/74c5cbbd774f7ff7c1f037b382aec36cbc8ca2f1) `minipass@4.0.2` +* [`1138038`](https://github.com/npm/cli/commit/11380386cef7ad8b12226431ca3d5e166455d626) `make-fetch-happen@11.0.3` +* [`c1ccfa1`](https://github.com/npm/cli/commit/c1ccfa146523d734bdfe2a7bef1b0abc64e716d8) `glob@8.1.0` +* [`3dc17ce`](https://github.com/npm/cli/commit/3dc17ce3fa570f9ef2c55e2a565af6fe89b3e73d) `fs-minipass@3.0.1` +* [`5c84a99`](https://github.com/npm/cli/commit/5c84a99f5a141a632bd644ca97505010c2842eb2) `ci-info@3.7.1` +* [`fc5332f`](https://github.com/npm/cli/commit/fc5332f4027f3019a855f12a66e29bca1b143364) `read@2.0.0` +* [Workspace](https://github.com/npm/cli/releases/tag/arborist-v6.2.2): `@npmcli/arborist@6.2.2` +* [Workspace](https://github.com/npm/cli/releases/tag/config-v6.1.3): `@npmcli/config@6.1.3` +* [Workspace](https://github.com/npm/cli/releases/tag/libnpmdiff-v5.0.10): `libnpmdiff@5.0.10` +* [Workspace](https://github.com/npm/cli/releases/tag/libnpmexec-v5.0.10): `libnpmexec@5.0.10` +* [Workspace](https://github.com/npm/cli/releases/tag/libnpmfund-v4.0.10): `libnpmfund@4.0.10` +* [Workspace](https://github.com/npm/cli/releases/tag/libnpmhook-v9.0.3): `libnpmhook@9.0.3` +* [Workspace](https://github.com/npm/cli/releases/tag/libnpmorg-v5.0.3): `libnpmorg@5.0.3` +* [Workspace](https://github.com/npm/cli/releases/tag/libnpmpack-v5.0.10): `libnpmpack@5.0.10` +* [Workspace](https://github.com/npm/cli/releases/tag/libnpmpublish-v7.0.8): `libnpmpublish@7.0.8` + ## [9.4.1](https://github.com/npm/cli/compare/v9.4.0...v9.4.1) (2023-02-01) ### Bug Fixes diff --git a/content/cli/v9/using-npm/config.md b/content/cli/v9/using-npm/config.md index 80dd07dbd19..c3387f0208d 100644 --- a/content/cli/v9/using-npm/config.md +++ b/content/cli/v9/using-npm/config.md @@ -704,7 +704,7 @@ number, if not already set in package.json. #### `install-links` -* Default: true +* Default: false * Type: Boolean When set file: protocol dependencies will be packed and installed as regular diff --git a/src/theme/nav.yml b/src/theme/nav.yml index 1f959fd1c1b..bd67954243a 100644 --- a/src/theme/nav.yml +++ b/src/theme/nav.yml @@ -1053,7 +1053,7 @@ - title: Changelog url: /cli/v8/using-npm/changelog description: Changelog notes for each version - - title: Version 9.4.1 (Latest Release) + - title: Version 9.4.2 (Latest Release) shortName: v9 url: /cli/v9 default: true