From 012ba80e1d1506c6c675ff93ca13b8f97f1fb748 Mon Sep 17 00:00:00 2001 From: npm CLI robot Date: Thu, 2 Mar 2023 09:19:38 +0000 Subject: [PATCH] CLI documentation update from CI --- .../cli/v9/commands/npm-install-ci-test.md | 2 +- content/cli/v9/commands/npm-ls.md | 2 +- content/cli/v9/commands/npm.md | 2 +- .../v9/configuring-npm/package-lock-json.md | 9 +++---- content/cli/v9/using-npm/changelog.md | 25 +++++++++++++++++++ src/theme/nav.yml | 2 +- 6 files changed, 32 insertions(+), 10 deletions(-) diff --git a/content/cli/v9/commands/npm-install-ci-test.md b/content/cli/v9/commands/npm-install-ci-test.md index 8f2597c5335..44be394affb 100644 --- a/content/cli/v9/commands/npm-install-ci-test.md +++ b/content/cli/v9/commands/npm-install-ci-test.md @@ -40,7 +40,7 @@ redirect_from: ```bash npm install-ci-test -alias: cit +aliases: cit, clean-install-test, sit ``` ### Description diff --git a/content/cli/v9/commands/npm-ls.md b/content/cli/v9/commands/npm-ls.md index c594b546bbe..27449b3ea5e 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.5.1 /path/to/npm +npm@9.6.0 /path/to/npm └─┬ init-package-json@0.0.4 └── promzard@0.1.5 ``` diff --git a/content/cli/v9/commands/npm.md b/content/cli/v9/commands/npm.md index daf35a72c2a..2b6caec6955 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.5.1 +9.6.0 ### Description diff --git a/content/cli/v9/configuring-npm/package-lock-json.md b/content/cli/v9/configuring-npm/package-lock-json.md index 0392a616d84..6ad57a05376 100644 --- a/content/cli/v9/configuring-npm/package-lock-json.md +++ b/content/cli/v9/configuring-npm/package-lock-json.md @@ -135,12 +135,9 @@ the npm registry. Lockfiles generated by npm v7 will contain * No version provided: an "ancient" shrinkwrap file from a version of npm prior to npm v5. * `1`: The lockfile version used by npm v5 and v6. -* `2`: The lockfile version used by npm v7, which is backwards compatible - to v1 lockfiles. -* `3`: The lockfile version used by npm v7, _without_ backwards - compatibility affordances. This is used for the hidden lockfile at - `node_modules/.package-lock.json`, and will likely be used in a future - version of npm, once support for npm v6 is no longer relevant. +* `2`: The lockfile version used by npm v7 and v8. Backwards compatible to v1 + lockfiles. +* `3`: The lockfile version used by npm v9. Backwards compatible to npm v7. npm will always attempt to get whatever data it can out of a lockfile, even if it is not a version that it was designed to support. diff --git a/content/cli/v9/using-npm/changelog.md b/content/cli/v9/using-npm/changelog.md index f46e1b2c401..bf91e9468c1 100644 --- a/content/cli/v9/using-npm/changelog.md +++ b/content/cli/v9/using-npm/changelog.md @@ -17,6 +17,31 @@ redirect_from: # Changelog +## [9.6.0](https://github.com/npm/cli/compare/v9.5.1...v9.6.0) (2023-03-02) + +### Features + +* [`84fbaf2`](https://github.com/npm/cli/commit/84fbaf2bd809e56f396496dd5f4691a46dd548aa) [#6216](https://github.com/npm/cli/pull/6216) add preliminary fish shell completion (@wraithgar) + +### Bug Fixes + +* [`c4c8754`](https://github.com/npm/cli/commit/c4c8754f12e73007ef0f0f516c8e51e08858b2c6) audit: add signatures to completion (@wraithgar) +* [`fc46489`](https://github.com/npm/cli/commit/fc4648984c9fc4904d2b51597590015f8ca702fc) access: only complete once (@wraithgar) +* [`b43961a`](https://github.com/npm/cli/commit/b43961a9a3c0e5ea0314a241ba8ae9b7ea57cae7) cmd-list: alias only to real commands (@wraithgar) + +### Documentation + +* [`2695e1f`](https://github.com/npm/cli/commit/2695e1fb1384ad41fe6b99fdc570088978626dd8) [#6187](https://github.com/npm/cli/pull/6187) npm v9 creates package-lock.json v3 (#6187) (@tuukka) + +### Dependencies + +* [`71ae406`](https://github.com/npm/cli/commit/71ae4067bccef53aa99ccf8abbe9115daaae8e8c) [#6218](https://github.com/npm/cli/pull/6218) `@npmcli/installed-package-contents@2.0.2` +* [Workspace](https://github.com/npm/cli/releases/tag/arborist-v6.2.4): `@npmcli/arborist@6.2.4` +* [Workspace](https://github.com/npm/cli/releases/tag/libnpmdiff-v5.0.12): `libnpmdiff@5.0.12` +* [Workspace](https://github.com/npm/cli/releases/tag/libnpmexec-v5.0.12): `libnpmexec@5.0.12` +* [Workspace](https://github.com/npm/cli/releases/tag/libnpmfund-v4.0.12): `libnpmfund@4.0.12` +* [Workspace](https://github.com/npm/cli/releases/tag/libnpmpack-v5.0.12): `libnpmpack@5.0.12` + ## [9.5.1](https://github.com/npm/cli/compare/v9.5.0...v9.5.1) (2023-02-22) ### Documentation diff --git a/src/theme/nav.yml b/src/theme/nav.yml index 6076682fedf..cff43b4a604 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.5.1 (Latest Release) + - title: Version 9.6.0 (Latest Release) shortName: v9 url: /cli/v9 default: true