Skip to content

Commit

Permalink
CLI documentation update from CI
Browse files Browse the repository at this point in the history
  • Loading branch information
npm-cli-bot committed Feb 7, 2023
1 parent 818602f commit fd91de7
Show file tree
Hide file tree
Showing 21 changed files with 60 additions and 24 deletions.
3 changes: 1 addition & 2 deletions content/cli/v9/commands/npm-access.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion content/cli/v9/commands/npm-audit.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion content/cli/v9/commands/npm-ci.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion content/cli/v9/commands/npm-dedupe.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions content/cli/v9/commands/npm-dist-tag.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 <one-time password>`, or at the OTP prompt.
`--otp <one-time password>`, 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 <one-time password>`,
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.
Expand Down
2 changes: 1 addition & 1 deletion content/cli/v9/commands/npm-find-dupes.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion content/cli/v9/commands/npm-install-ci-test.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion content/cli/v9/commands/npm-install-test.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion content/cli/v9/commands/npm-install.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion content/cli/v9/commands/npm-link.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions content/cli/v9/commands/npm-ls.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
[email protected].1 /path/to/npm
[email protected].2 /path/to/npm
└─┬ [email protected]
└── [email protected]
```
Expand Down Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions content/cli/v9/commands/npm-owner.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion content/cli/v9/commands/npm-prune.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion content/cli/v9/commands/npm-rebuild.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 2 additions & 1 deletion content/cli/v9/commands/npm-team.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 <otpcode>]`.
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
Expand Down
2 changes: 1 addition & 1 deletion content/cli/v9/commands/npm-uninstall.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion content/cli/v9/commands/npm-update.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion content/cli/v9/commands/npm.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ Note: This command is unaware of workspaces.

### Version

9.4.1
9.4.2

### Description

Expand Down
36 changes: 36 additions & 0 deletions content/cli/v9/using-npm/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -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) `[email protected]`
* [`d43f881`](https://github.com/npm/cli/commit/d43f8812af5900cce45364729871a745b379aea9) `[email protected]`
* [`99457f1`](https://github.com/npm/cli/commit/99457f1f48d57f913b398e25f4e5da066af71204) `[email protected]`
* [`f4c8c62`](https://github.com/npm/cli/commit/f4c8c62baf532b7599e3760f959788bbda97ba0b) `[email protected]`
* [`3c6615f`](https://github.com/npm/cli/commit/3c6615fff53a3368679f28b8812eba86dbc195a9) `[email protected]`
* [`10445ca`](https://github.com/npm/cli/commit/10445ca4a09df590777a9289ab1ed0f41449c85d) remove mkdirp
* [`ab82492`](https://github.com/npm/cli/commit/ab824922ea7678585926adb67a90cdcebc53b4ae) `[email protected]`
* [`74c5cbb`](https://github.com/npm/cli/commit/74c5cbbd774f7ff7c1f037b382aec36cbc8ca2f1) `[email protected]`
* [`1138038`](https://github.com/npm/cli/commit/11380386cef7ad8b12226431ca3d5e166455d626) `[email protected]`
* [`c1ccfa1`](https://github.com/npm/cli/commit/c1ccfa146523d734bdfe2a7bef1b0abc64e716d8) `[email protected]`
* [`3dc17ce`](https://github.com/npm/cli/commit/3dc17ce3fa570f9ef2c55e2a565af6fe89b3e73d) `[email protected]`
* [`5c84a99`](https://github.com/npm/cli/commit/5c84a99f5a141a632bd644ca97505010c2842eb2) `[email protected]`
* [`fc5332f`](https://github.com/npm/cli/commit/fc5332f4027f3019a855f12a66e29bca1b143364) `[email protected]`
* [Workspace](https://github.com/npm/cli/releases/tag/arborist-v6.2.2): `@npmcli/[email protected]`
* [Workspace](https://github.com/npm/cli/releases/tag/config-v6.1.3): `@npmcli/[email protected]`
* [Workspace](https://github.com/npm/cli/releases/tag/libnpmdiff-v5.0.10): `[email protected]`
* [Workspace](https://github.com/npm/cli/releases/tag/libnpmexec-v5.0.10): `[email protected]`
* [Workspace](https://github.com/npm/cli/releases/tag/libnpmfund-v4.0.10): `[email protected]`
* [Workspace](https://github.com/npm/cli/releases/tag/libnpmhook-v9.0.3): `[email protected]`
* [Workspace](https://github.com/npm/cli/releases/tag/libnpmorg-v5.0.3): `[email protected]`
* [Workspace](https://github.com/npm/cli/releases/tag/libnpmpack-v5.0.10): `[email protected]`
* [Workspace](https://github.com/npm/cli/releases/tag/libnpmpublish-v7.0.8): `[email protected]`

## [9.4.1](https://github.com/npm/cli/compare/v9.4.0...v9.4.1) (2023-02-01)

### Bug Fixes
Expand Down
2 changes: 1 addition & 1 deletion content/cli/v9/using-npm/config.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/theme/nav.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit fd91de7

Please sign in to comment.