Update CLI releases for npm 10 (#680)

Luke Karrys committed Jul 26, 2023 at 15:53 UTC db37a94b536b15915bd775529248f1046d182779
89 files changed +93 -89
cli/lib/build.js
+2 -2
@@ -82,14 +82,14 @@ const main = async ({
82 const range = `>=${major}.0.0-a <${major + 1}.0.0` // include all prereleases
83 const version = semver.parse(semver.maxSatisfying(pack.versions, range))
84
85 - return {
85 + return version && {
86 ...release,
87 version: version.toString(),
88 // the default release is always controlled by the latest dist-tag
89 default: semver.eq(version, pack.latest),
90 prerelease: version.prerelease.length > 0,
91 }
92 - })
92 + }).filter(Boolean)
93
94 const latestRelease = releaseVersions.find(r => r.default)
95
cli/releases.json
+4
@@ -13,6 +13,10 @@
13 },
14 {
15 "id": "v9",
16 + "branch": "release/v9"
17 + },
18 + {
19 + "id": "v10",
20 "branch": "latest"
21 }
22 ]
content/cli/v9/commands/index.mdx
+1 -1
@@ -2,7 +2,7 @@
2 title: CLI Commands
3 shortName: Commands
4 github_repo: npm/cli
5 -github_branch: latest
5 +github_branch: release/v9
6 github_path: docs/lib/content/nav.yml
7 redirect_from:
8 - /cli-commands
content/cli/v9/commands/npm-access.md
+1 -1
@@ -3,7 +3,7 @@ title: npm-access
3 section: 1
4 description: Set access level on published packages
5 github_repo: npm/cli
6 -github_branch: latest
6 +github_branch: release/v9
7 github_path: docs/lib/content/commands/npm-access.md
8 redirect_from:
9 - /cli-commands/access
content/cli/v9/commands/npm-adduser.md
+1 -1
@@ -3,7 +3,7 @@ title: npm-adduser
3 section: 1
4 description: Add a registry user account
5 github_repo: npm/cli
6 -github_branch: latest
6 +github_branch: release/v9
7 github_path: docs/lib/content/commands/npm-adduser.md
8 redirect_from:
9 - /cli-commands/adduser
content/cli/v9/commands/npm-audit.md
+1 -1
@@ -3,7 +3,7 @@ title: npm-audit
3 section: 1
4 description: Run a security audit
5 github_repo: npm/cli
6 -github_branch: latest
6 +github_branch: release/v9
7 github_path: docs/lib/content/commands/npm-audit.md
8 redirect_from:
9 - /cli-commands/audit
content/cli/v9/commands/npm-bugs.md
+1 -1
@@ -3,7 +3,7 @@ title: npm-bugs
3 section: 1
4 description: Report bugs for a package in a web browser
5 github_repo: npm/cli
6 -github_branch: latest
6 +github_branch: release/v9
7 github_path: docs/lib/content/commands/npm-bugs.md
8 redirect_from:
9 - /cli-commands/bugs
content/cli/v9/commands/npm-cache.md
+1 -1
@@ -3,7 +3,7 @@ title: npm-cache
3 section: 1
4 description: Manipulates packages cache
5 github_repo: npm/cli
6 -github_branch: latest
6 +github_branch: release/v9
7 github_path: docs/lib/content/commands/npm-cache.md
8 redirect_from:
9 - /cli-commands/cache
content/cli/v9/commands/npm-ci.md
+1 -1
@@ -3,7 +3,7 @@ title: npm-ci
3 section: 1
4 description: Clean install a project
5 github_repo: npm/cli
6 -github_branch: latest
6 +github_branch: release/v9
7 github_path: docs/lib/content/commands/npm-ci.md
8 redirect_from:
9 - /cli-commands/ci
content/cli/v9/commands/npm-completion.md
+1 -1
@@ -3,7 +3,7 @@ title: npm-completion
3 section: 1
4 description: Tab Completion for npm
5 github_repo: npm/cli
6 -github_branch: latest
6 +github_branch: release/v9
7 github_path: docs/lib/content/commands/npm-completion.md
8 redirect_from:
9 - /cli-commands/completion
content/cli/v9/commands/npm-config.md
+1 -1
@@ -3,7 +3,7 @@ title: npm-config
3 section: 1
4 description: Manage the npm configuration files
5 github_repo: npm/cli
6 -github_branch: latest
6 +github_branch: release/v9
7 github_path: docs/lib/content/commands/npm-config.md
8 redirect_from:
9 - /cli-commands/config
content/cli/v9/commands/npm-dedupe.md
+1 -1
@@ -3,7 +3,7 @@ title: npm-dedupe
3 section: 1
4 description: Reduce duplication in the package tree
5 github_repo: npm/cli
6 -github_branch: latest
6 +github_branch: release/v9
7 github_path: docs/lib/content/commands/npm-dedupe.md
8 redirect_from:
9 - /cli-commands/dedupe
content/cli/v9/commands/npm-deprecate.md
+1 -1
@@ -3,7 +3,7 @@ title: npm-deprecate
3 section: 1
4 description: Deprecate a version of a package
5 github_repo: npm/cli
6 -github_branch: latest
6 +github_branch: release/v9
7 github_path: docs/lib/content/commands/npm-deprecate.md
8 redirect_from:
9 - /cli-commands/deprecate
content/cli/v9/commands/npm-diff.md
+1 -1
@@ -3,7 +3,7 @@ title: npm-diff
3 section: 1
4 description: The registry diff command
5 github_repo: npm/cli
6 -github_branch: latest
6 +github_branch: release/v9
7 github_path: docs/lib/content/commands/npm-diff.md
8 redirect_from:
9 - /cli-commands/diff
content/cli/v9/commands/npm-dist-tag.md
+1 -1
@@ -3,7 +3,7 @@ title: npm-dist-tag
3 section: 1
4 description: Modify package distribution tags
5 github_repo: npm/cli
6 -github_branch: latest
6 +github_branch: release/v9
7 github_path: docs/lib/content/commands/npm-dist-tag.md
8 redirect_from:
9 - /cli-commands/dist-tag
content/cli/v9/commands/npm-docs.md
+1 -1
@@ -3,7 +3,7 @@ title: npm-docs
3 section: 1
4 description: Open documentation for a package in a web browser
5 github_repo: npm/cli
6 -github_branch: latest
6 +github_branch: release/v9
7 github_path: docs/lib/content/commands/npm-docs.md
8 redirect_from:
9 - /cli-commands/docs
content/cli/v9/commands/npm-doctor.md
+1 -1
@@ -3,7 +3,7 @@ title: npm-doctor
3 section: 1
4 description: Check your npm environment
5 github_repo: npm/cli
6 -github_branch: latest
6 +github_branch: release/v9
7 github_path: docs/lib/content/commands/npm-doctor.md
8 redirect_from:
9 - /cli-commands/doctor
content/cli/v9/commands/npm-edit.md
+1 -1
@@ -3,7 +3,7 @@ title: npm-edit
3 section: 1
4 description: Edit an installed package
5 github_repo: npm/cli
6 -github_branch: latest
6 +github_branch: release/v9
7 github_path: docs/lib/content/commands/npm-edit.md
8 redirect_from:
9 - /cli-commands/edit
content/cli/v9/commands/npm-exec.md
+1 -1
@@ -3,7 +3,7 @@ title: npm-exec
3 section: 1
4 description: Run a command from a local or remote npm package
5 github_repo: npm/cli
6 -github_branch: latest
6 +github_branch: release/v9
7 github_path: docs/lib/content/commands/npm-exec.md
8 redirect_from:
9 - /cli-commands/exec
content/cli/v9/commands/npm-explain.md
+1 -1
@@ -3,7 +3,7 @@ title: npm-explain
3 section: 1
4 description: Explain installed packages
5 github_repo: npm/cli
6 -github_branch: latest
6 +github_branch: release/v9
7 github_path: docs/lib/content/commands/npm-explain.md
8 redirect_from:
9 - /cli-commands/explain
content/cli/v9/commands/npm-explore.md
+1 -1
@@ -3,7 +3,7 @@ title: npm-explore
3 section: 1
4 description: Browse an installed package
5 github_repo: npm/cli
6 -github_branch: latest
6 +github_branch: release/v9
7 github_path: docs/lib/content/commands/npm-explore.md
8 redirect_from:
9 - /cli-commands/explore
content/cli/v9/commands/npm-find-dupes.md
+1 -1
@@ -3,7 +3,7 @@ title: npm-find-dupes
3 section: 1
4 description: Find duplication in the package tree
5 github_repo: npm/cli
6 -github_branch: latest
6 +github_branch: release/v9
7 github_path: docs/lib/content/commands/npm-find-dupes.md
8 redirect_from:
9 - /cli-commands/find-dupes
content/cli/v9/commands/npm-fund.md
+1 -1
@@ -3,7 +3,7 @@ title: npm-fund
3 section: 1
4 description: Retrieve funding information
5 github_repo: npm/cli
6 -github_branch: latest
6 +github_branch: release/v9
7 github_path: docs/lib/content/commands/npm-fund.md
8 redirect_from:
9 - /cli-commands/fund
content/cli/v9/commands/npm-help-search.md
+1 -1
@@ -3,7 +3,7 @@ title: npm-help-search
3 section: 1
4 description: Search npm help documentation
5 github_repo: npm/cli
6 -github_branch: latest
6 +github_branch: release/v9
7 github_path: docs/lib/content/commands/npm-help-search.md
8 redirect_from:
9 - /cli-commands/help-search
content/cli/v9/commands/npm-help.md
+1 -1
@@ -3,7 +3,7 @@ title: npm-help
3 section: 1
4 description: Get help on npm
5 github_repo: npm/cli
6 -github_branch: latest
6 +github_branch: release/v9
7 github_path: docs/lib/content/commands/npm-help.md
8 redirect_from:
9 - /cli-commands/help
content/cli/v9/commands/npm-hook.md
+1 -1
@@ -3,7 +3,7 @@ title: npm-hook
3 section: 1
4 description: Manage registry hooks
5 github_repo: npm/cli
6 -github_branch: latest
6 +github_branch: release/v9
7 github_path: docs/lib/content/commands/npm-hook.md
8 redirect_from:
9 - /cli-commands/hook
content/cli/v9/commands/npm-init.md
+1 -1
@@ -3,7 +3,7 @@ title: npm-init
3 section: 1
4 description: Create a package.json file
5 github_repo: npm/cli
6 -github_branch: latest
6 +github_branch: release/v9
7 github_path: docs/lib/content/commands/npm-init.md
8 redirect_from:
9 - /cli-commands/init
content/cli/v9/commands/npm-install-ci-test.md
+1 -1
@@ -3,7 +3,7 @@ title: npm-install-ci-test
3 section: 1
4 description: Install a project with a clean slate and run tests
5 github_repo: npm/cli
6 -github_branch: latest
6 +github_branch: release/v9
7 github_path: docs/lib/content/commands/npm-install-ci-test.md
8 redirect_from:
9 - /cli-commands/install-ci-test
content/cli/v9/commands/npm-install-test.md
+1 -1
@@ -3,7 +3,7 @@ title: npm-install-test
3 section: 1
4 description: Install package(s) and run tests
5 github_repo: npm/cli
6 -github_branch: latest
6 +github_branch: release/v9
7 github_path: docs/lib/content/commands/npm-install-test.md
8 redirect_from:
9 - /cli-commands/install-test
content/cli/v9/commands/npm-install.md
+1 -1
@@ -3,7 +3,7 @@ title: npm-install
3 section: 1
4 description: Install a package
5 github_repo: npm/cli
6 -github_branch: latest
6 +github_branch: release/v9
7 github_path: docs/lib/content/commands/npm-install.md
8 redirect_from:
9 - /cli-commands/install
content/cli/v9/commands/npm-link.md
+1 -1
@@ -3,7 +3,7 @@ title: npm-link
3 section: 1
4 description: Symlink a package folder
5 github_repo: npm/cli
6 -github_branch: latest
6 +github_branch: release/v9
7 github_path: docs/lib/content/commands/npm-link.md
8 redirect_from:
9 - /cli-commands/link
content/cli/v9/commands/npm-login.md
+1 -1
@@ -3,7 +3,7 @@ title: npm-login
3 section: 1
4 description: Login to a registry user account
5 github_repo: npm/cli
6 -github_branch: latest
6 +github_branch: release/v9
7 github_path: docs/lib/content/commands/npm-login.md
8 redirect_from:
9 - /cli-commands/login
content/cli/v9/commands/npm-logout.md
+1 -1
@@ -3,7 +3,7 @@ title: npm-logout
3 section: 1
4 description: Log out of the registry
5 github_repo: npm/cli
6 -github_branch: latest
6 +github_branch: release/v9
7 github_path: docs/lib/content/commands/npm-logout.md
8 redirect_from:
9 - /cli-commands/logout
content/cli/v9/commands/npm-ls.md
+1 -1
@@ -3,7 +3,7 @@ title: npm-ls
3 section: 1
4 description: List installed packages
5 github_repo: npm/cli
6 -github_branch: latest
6 +github_branch: release/v9
7 github_path: docs/lib/content/commands/npm-ls.md
8 redirect_from:
9 - /cli-commands/ls
content/cli/v9/commands/npm-org.md
+1 -1
@@ -3,7 +3,7 @@ title: npm-org
3 section: 1
4 description: Manage orgs
5 github_repo: npm/cli
6 -github_branch: latest
6 +github_branch: release/v9
7 github_path: docs/lib/content/commands/npm-org.md
8 redirect_from:
9 - /cli-commands/npm-org
content/cli/v9/commands/npm-outdated.md
+1 -1
@@ -3,7 +3,7 @@ title: npm-outdated
3 section: 1
4 description: Check for outdated packages
5 github_repo: npm/cli
6 -github_branch: latest
6 +github_branch: release/v9
7 github_path: docs/lib/content/commands/npm-outdated.md
8 redirect_from:
9 - /cli-commands/npm-outdated
content/cli/v9/commands/npm-owner.md
+1 -1
@@ -3,7 +3,7 @@ title: npm-owner
3 section: 1
4 description: Manage package owners
5 github_repo: npm/cli
6 -github_branch: latest
6 +github_branch: release/v9
7 github_path: docs/lib/content/commands/npm-owner.md
8 redirect_from:
9 - /cli-commands/npm-owner
content/cli/v9/commands/npm-pack.md
+1 -1
@@ -3,7 +3,7 @@ title: npm-pack
3 section: 1
4 description: Create a tarball from a package
5 github_repo: npm/cli
6 -github_branch: latest
6 +github_branch: release/v9
7 github_path: docs/lib/content/commands/npm-pack.md
8 redirect_from:
9 - /cli-commands/npm-pack
content/cli/v9/commands/npm-ping.md
+1 -1
@@ -3,7 +3,7 @@ title: npm-ping
3 section: 1
4 description: Ping npm registry
5 github_repo: npm/cli
6 -github_branch: latest
6 +github_branch: release/v9
7 github_path: docs/lib/content/commands/npm-ping.md
8 redirect_from:
9 - /cli-commands/npm-ping
content/cli/v9/commands/npm-pkg.md
+1 -1
@@ -3,7 +3,7 @@ title: npm-pkg
3 section: 1
4 description: Manages your package.json
5 github_repo: npm/cli
6 -github_branch: latest
6 +github_branch: release/v9
7 github_path: docs/lib/content/commands/npm-pkg.md
8 redirect_from:
9 - /cli-commands/npm-pkg
content/cli/v9/commands/npm-prefix.md
+1 -1
@@ -3,7 +3,7 @@ title: npm-prefix
3 section: 1
4 description: Display prefix
5 github_repo: npm/cli
6 -github_branch: latest
6 +github_branch: release/v9
7 github_path: docs/lib/content/commands/npm-prefix.md
8 redirect_from:
9 - /cli-commands/npm-prefix
content/cli/v9/commands/npm-profile.md
+1 -1
@@ -3,7 +3,7 @@ title: npm-profile
3 section: 1
4 description: Change settings on your registry profile
5 github_repo: npm/cli
6 -github_branch: latest
6 +github_branch: release/v9
7 github_path: docs/lib/content/commands/npm-profile.md
8 redirect_from:
9 - /cli-commands/npm-profile
content/cli/v9/commands/npm-prune.md
+1 -1
@@ -3,7 +3,7 @@ title: npm-prune
3 section: 1
4 description: Remove extraneous packages
5 github_repo: npm/cli
6 -github_branch: latest
6 +github_branch: release/v9
7 github_path: docs/lib/content/commands/npm-prune.md
8 redirect_from:
9 - /cli-commands/npm-prune
content/cli/v9/commands/npm-publish.md
+1 -1
@@ -3,7 +3,7 @@ title: npm-publish
3 section: 1
4 description: Publish a package
5 github_repo: npm/cli
6 -github_branch: latest
6 +github_branch: release/v9
7 github_path: docs/lib/content/commands/npm-publish.md
8 redirect_from:
9 - /cli-commands/npm-publish
content/cli/v9/commands/npm-query.md
+1 -1
@@ -3,7 +3,7 @@ title: npm-query
3 section: 1
4 description: Dependency selector query
5 github_repo: npm/cli
6 -github_branch: latest
6 +github_branch: release/v9
7 github_path: docs/lib/content/commands/npm-query.md
8 redirect_from:
9 - /cli-commands/npm-query
content/cli/v9/commands/npm-rebuild.md
+1 -1
@@ -3,7 +3,7 @@ title: npm-rebuild
3 section: 1
4 description: Rebuild a package
5 github_repo: npm/cli
6 -github_branch: latest
6 +github_branch: release/v9
7 github_path: docs/lib/content/commands/npm-rebuild.md
8 redirect_from:
9 - /cli-commands/npm-rebuild
content/cli/v9/commands/npm-repo.md
+1 -1
@@ -3,7 +3,7 @@ title: npm-repo
3 section: 1
4 description: Open package repository page in the browser
5 github_repo: npm/cli
6 -github_branch: latest
6 +github_branch: release/v9
7 github_path: docs/lib/content/commands/npm-repo.md
8 redirect_from:
9 - /cli-commands/npm-repo
content/cli/v9/commands/npm-restart.md
+1 -1
@@ -3,7 +3,7 @@ title: npm-restart
3 section: 1
4 description: Restart a package
5 github_repo: npm/cli
6 -github_branch: latest
6 +github_branch: release/v9
7 github_path: docs/lib/content/commands/npm-restart.md
8 redirect_from:
9 - /cli-commands/npm-restart
content/cli/v9/commands/npm-root.md
+1 -1
@@ -3,7 +3,7 @@ title: npm-root
3 section: 1
4 description: Display npm root
5 github_repo: npm/cli
6 -github_branch: latest
6 +github_branch: release/v9
7 github_path: docs/lib/content/commands/npm-root.md
8 redirect_from:
9 - /cli-commands/npm-root
content/cli/v9/commands/npm-run-script.md
+1 -1
@@ -3,7 +3,7 @@ title: npm-run-script
3 section: 1
4 description: Run arbitrary package scripts
5 github_repo: npm/cli
6 -github_branch: latest
6 +github_branch: release/v9
7 github_path: docs/lib/content/commands/npm-run-script.md
8 redirect_from:
9 - /cli-commands/npm-run-script
content/cli/v9/commands/npm-search.md
+1 -1
@@ -3,7 +3,7 @@ title: npm-search
3 section: 1
4 description: Search for packages
5 github_repo: npm/cli
6 -github_branch: latest
6 +github_branch: release/v9
7 github_path: docs/lib/content/commands/npm-search.md
8 redirect_from:
9 - /cli-commands/npm-search
content/cli/v9/commands/npm-shrinkwrap.md
+1 -1
@@ -3,7 +3,7 @@ title: npm-shrinkwrap
3 section: 1
4 description: Lock down dependency versions for publication
5 github_repo: npm/cli
6 -github_branch: latest
6 +github_branch: release/v9
7 github_path: docs/lib/content/commands/npm-shrinkwrap.md
8 redirect_from:
9 - /cli-commands/npm-shrinkwrap
content/cli/v9/commands/npm-star.md
+1 -1
@@ -3,7 +3,7 @@ title: npm-star
3 section: 1
4 description: Mark your favorite packages
5 github_repo: npm/cli
6 -github_branch: latest
6 +github_branch: release/v9
7 github_path: docs/lib/content/commands/npm-star.md
8 redirect_from:
9 - /cli-commands/npm-star
content/cli/v9/commands/npm-stars.md
+1 -1
@@ -3,7 +3,7 @@ title: npm-stars
3 section: 1
4 description: View packages marked as favorites
5 github_repo: npm/cli
6 -github_branch: latest
6 +github_branch: release/v9
7 github_path: docs/lib/content/commands/npm-stars.md
8 redirect_from:
9 - /cli-commands/npm-stars
content/cli/v9/commands/npm-start.md
+1 -1
@@ -3,7 +3,7 @@ title: npm-start
3 section: 1
4 description: Start a package
5 github_repo: npm/cli
6 -github_branch: latest
6 +github_branch: release/v9
7 github_path: docs/lib/content/commands/npm-start.md
8 redirect_from:
9 - /cli-commands/npm-start
content/cli/v9/commands/npm-stop.md
+1 -1
@@ -3,7 +3,7 @@ title: npm-stop
3 section: 1
4 description: Stop a package
5 github_repo: npm/cli
6 -github_branch: latest
6 +github_branch: release/v9
7 github_path: docs/lib/content/commands/npm-stop.md
8 redirect_from:
9 - /cli-commands/npm-stop
content/cli/v9/commands/npm-team.md
+1 -1
@@ -3,7 +3,7 @@ title: npm-team
3 section: 1
4 description: Manage organization teams and team memberships
5 github_repo: npm/cli
6 -github_branch: latest
6 +github_branch: release/v9
7 github_path: docs/lib/content/commands/npm-team.md
8 redirect_from:
9 - /cli-commands/npm-team
content/cli/v9/commands/npm-test.md
+1 -1
@@ -3,7 +3,7 @@ title: npm-test
3 section: 1
4 description: Test a package
5 github_repo: npm/cli
6 -github_branch: latest
6 +github_branch: release/v9
7 github_path: docs/lib/content/commands/npm-test.md
8 redirect_from:
9 - /cli-commands/npm-test
content/cli/v9/commands/npm-token.md
+1 -1
@@ -3,7 +3,7 @@ title: npm-token
3 section: 1
4 description: Manage your authentication tokens
5 github_repo: npm/cli
6 -github_branch: latest
6 +github_branch: release/v9
7 github_path: docs/lib/content/commands/npm-token.md
8 redirect_from:
9 - /cli-commands/npm-token
content/cli/v9/commands/npm-uninstall.md
+1 -1
@@ -3,7 +3,7 @@ title: npm-uninstall
3 section: 1
4 description: Remove a package
5 github_repo: npm/cli
6 -github_branch: latest
6 +github_branch: release/v9
7 github_path: docs/lib/content/commands/npm-uninstall.md
8 redirect_from:
9 - /cli-commands/npm-uninstall
content/cli/v9/commands/npm-unpublish.md
+1 -1
@@ -3,7 +3,7 @@ title: npm-unpublish
3 section: 1
4 description: Remove a package from the registry
5 github_repo: npm/cli
6 -github_branch: latest
6 +github_branch: release/v9
7 github_path: docs/lib/content/commands/npm-unpublish.md
8 redirect_from:
9 - /cli-commands/npm-unpublish
content/cli/v9/commands/npm-unstar.md
+1 -1
@@ -3,7 +3,7 @@ title: npm-unstar
3 section: 1
4 description: Remove an item from your favorite packages
5 github_repo: npm/cli
6 -github_branch: latest
6 +github_branch: release/v9
7 github_path: docs/lib/content/commands/npm-unstar.md
8 redirect_from:
9 - /cli-commands/npm-unstar
content/cli/v9/commands/npm-update.md
+1 -1
@@ -3,7 +3,7 @@ title: npm-update
3 section: 1
4 description: Update packages
5 github_repo: npm/cli
6 -github_branch: latest
6 +github_branch: release/v9
7 github_path: docs/lib/content/commands/npm-update.md
8 redirect_from:
9 - /cli-commands/npm-update
content/cli/v9/commands/npm-version.md
+1 -1
@@ -3,7 +3,7 @@ title: npm-version
3 section: 1
4 description: Bump a package version
5 github_repo: npm/cli
6 -github_branch: latest
6 +github_branch: release/v9
7 github_path: docs/lib/content/commands/npm-version.md
8 redirect_from:
9 - /cli-commands/npm-version
content/cli/v9/commands/npm-view.md
+1 -1
@@ -3,7 +3,7 @@ title: npm-view
3 section: 1
4 description: View registry info
5 github_repo: npm/cli
6 -github_branch: latest
6 +github_branch: release/v9
7 github_path: docs/lib/content/commands/npm-view.md
8 redirect_from:
9 - /cli-commands/npm-view
content/cli/v9/commands/npm-whoami.md
+1 -1
@@ -3,7 +3,7 @@ title: npm-whoami
3 section: 1
4 description: Display npm username
5 github_repo: npm/cli
6 -github_branch: latest
6 +github_branch: release/v9
7 github_path: docs/lib/content/commands/npm-whoami.md
8 redirect_from:
9 - /cli-commands/npm-whoami
content/cli/v9/commands/npm.md
+1 -1
@@ -3,7 +3,7 @@ title: npm
3 section: 1
4 description: javascript package manager
5 github_repo: npm/cli
6 -github_branch: latest
6 +github_branch: release/v9
7 github_path: docs/lib/content/commands/npm.md
8 redirect_from:
9 - /cli-commands/npm
content/cli/v9/commands/npx.md
+1 -1
@@ -3,7 +3,7 @@ title: npx
3 section: 1
4 description: Run a command from a local or remote npm package
5 github_repo: npm/cli
6 -github_branch: latest
6 +github_branch: release/v9
7 github_path: docs/lib/content/commands/npx.md
8 redirect_from:
9 - /cli-commands/npx
content/cli/v9/configuring-npm/folders.md
+1 -1
@@ -3,7 +3,7 @@ title: folders
3 section: 5
4 description: Folder Structures Used by npm
5 github_repo: npm/cli
6 -github_branch: latest
6 +github_branch: release/v9
7 github_path: docs/lib/content/configuring-npm/folders.md
8 redirect_from:
9 - /cli-documentation/configuring-npm/folders
content/cli/v9/configuring-npm/index.mdx
+1 -1
@@ -2,7 +2,7 @@
2 title: Configuring npm
3 shortName: Configuring
4 github_repo: npm/cli
5 -github_branch: latest
5 +github_branch: release/v9
6 github_path: docs/lib/content/nav.yml
7 redirect_from:
8 - /cli-documentation/configuring-npm
content/cli/v9/configuring-npm/install.md
+1 -1
@@ -3,7 +3,7 @@ title: install
3 section: 5
4 description: Download and install node and npm
5 github_repo: npm/cli
6 -github_branch: latest
6 +github_branch: release/v9
7 github_path: docs/lib/content/configuring-npm/install.md
8 redirect_from:
9 - /cli-documentation/configuring-npm/install
content/cli/v9/configuring-npm/npm-shrinkwrap-json.md
+1 -1
@@ -3,7 +3,7 @@ title: npm-shrinkwrap.json
3 section: 5
4 description: A publishable lockfile
5 github_repo: npm/cli
6 -github_branch: latest
6 +github_branch: release/v9
7 github_path: docs/lib/content/configuring-npm/npm-shrinkwrap-json.md
8 redirect_from:
9 - /cli-documentation/configuring-npm/npm-shrinkwrap-json
content/cli/v9/configuring-npm/npmrc.md
+1 -1
@@ -3,7 +3,7 @@ title: npmrc
3 section: 5
4 description: The npm config files
5 github_repo: npm/cli
6 -github_branch: latest
6 +github_branch: release/v9
7 github_path: docs/lib/content/configuring-npm/npmrc.md
8 redirect_from:
9 - /cli-documentation/configuring-npm/npmrc
content/cli/v9/configuring-npm/package-json.md
+1 -1
@@ -3,7 +3,7 @@ title: package.json
3 section: 5
4 description: Specifics of npm's package.json handling
5 github_repo: npm/cli
6 -github_branch: latest
6 +github_branch: release/v9
7 github_path: docs/lib/content/configuring-npm/package-json.md
8 redirect_from:
9 - /cli-documentation/configuring-npm/package-json
content/cli/v9/configuring-npm/package-lock-json.md
+1 -1
@@ -3,7 +3,7 @@ title: package-lock.json
3 section: 5
4 description: A manifestation of the manifest
5 github_repo: npm/cli
6 -github_branch: latest
6 +github_branch: release/v9
7 github_path: docs/lib/content/configuring-npm/package-lock-json.md
8 redirect_from:
9 - /cli-documentation/configuring-npm/package-lock-json
content/cli/v9/index.mdx
+1 -1
@@ -2,7 +2,7 @@
2 title: npm CLI
3 shortName: CLI
4 github_repo: npm/cli
5 -github_branch: latest
5 +github_branch: release/v9
6 github_path: docs/lib/content/nav.yml
7 redirect_from:
8 - /cli
content/cli/v9/using-npm/changelog.md
+1 -1
@@ -1,7 +1,7 @@
1 ---
2 title: Changelog
3 github_repo: npm/cli
4 -github_branch: latest
4 +github_branch: release/v9
5 github_path: CHANGELOG.md
6 redirect_from:
7 - /cli-documentation/misc/changelog
content/cli/v9/using-npm/config.md
+1 -1
@@ -3,7 +3,7 @@ title: config
3 section: 7
4 description: More than you probably want to know about npm configuration
5 github_repo: npm/cli
6 -github_branch: latest
6 +github_branch: release/v9
7 github_path: docs/lib/content/using-npm/config.md
8 redirect_from:
9 - /cli-documentation/misc/config
content/cli/v9/using-npm/dependency-selectors.md
+1 -1
@@ -3,7 +3,7 @@ title: Dependency Selector Syntax & Querying
3 section: 7
4 description: Dependency Selector Syntax & Querying
5 github_repo: npm/cli
6 -github_branch: latest
6 +github_branch: release/v9
7 github_path: docs/lib/content/using-npm/dependency-selectors.md
8 redirect_from:
9 - /cli-documentation/misc/dependency-selectors
content/cli/v9/using-npm/developers.md
+1 -1
@@ -3,7 +3,7 @@ title: developers
3 section: 7
4 description: Developer Guide
5 github_repo: npm/cli
6 -github_branch: latest
6 +github_branch: release/v9
7 github_path: docs/lib/content/using-npm/developers.md
8 redirect_from:
9 - /cli-documentation/misc/developers
content/cli/v9/using-npm/index.mdx
+1 -1
@@ -2,7 +2,7 @@
2 title: Using npm
3 shortName: Using
4 github_repo: npm/cli
5 -github_branch: latest
5 +github_branch: release/v9
6 github_path: docs/lib/content/nav.yml
7 redirect_from:
8 - /cli-documentation/misc
content/cli/v9/using-npm/logging.md
+1 -1
@@ -3,7 +3,7 @@ title: Logging
3 section: 7
4 description: Why, What & How We Log
5 github_repo: npm/cli
6 -github_branch: latest
6 +github_branch: release/v9
7 github_path: docs/lib/content/using-npm/logging.md
8 redirect_from:
9 - /cli-documentation/misc/logging
content/cli/v9/using-npm/orgs.md
+1 -1
@@ -3,7 +3,7 @@ title: orgs
3 section: 7
4 description: Working with Teams & Orgs
5 github_repo: npm/cli
6 -github_branch: latest
6 +github_branch: release/v9
7 github_path: docs/lib/content/using-npm/orgs.md
8 redirect_from:
9 - /cli-documentation/misc/orgs
content/cli/v9/using-npm/package-spec.md
+1 -1
@@ -3,7 +3,7 @@ title: package-spec
3 section: 7
4 description: Package name specifier
5 github_repo: npm/cli
6 -github_branch: latest
6 +github_branch: release/v9
7 github_path: docs/lib/content/using-npm/package-spec.md
8 redirect_from:
9 - /cli-documentation/misc/package-spec
content/cli/v9/using-npm/registry.md
+1 -1
@@ -3,7 +3,7 @@ title: registry
3 section: 7
4 description: The JavaScript Package Registry
5 github_repo: npm/cli
6 -github_branch: latest
6 +github_branch: release/v9
7 github_path: docs/lib/content/using-npm/registry.md
8 redirect_from:
9 - /cli-documentation/misc/registry
content/cli/v9/using-npm/removal.md
+1 -1
@@ -3,7 +3,7 @@ title: removal
3 section: 7
4 description: Cleaning the Slate
5 github_repo: npm/cli
6 -github_branch: latest
6 +github_branch: release/v9
7 github_path: docs/lib/content/using-npm/removal.md
8 redirect_from:
9 - /cli-documentation/misc/removal
content/cli/v9/using-npm/scope.md
+1 -1
@@ -3,7 +3,7 @@ title: scope
3 section: 7
4 description: Scoped packages
5 github_repo: npm/cli
6 -github_branch: latest
6 +github_branch: release/v9
7 github_path: docs/lib/content/using-npm/scope.md
8 redirect_from:
9 - /cli-documentation/misc/npm-scope
content/cli/v9/using-npm/scripts.md
+1 -1
@@ -3,7 +3,7 @@ title: scripts
3 section: 7
4 description: How npm handles the "scripts" field
5 github_repo: npm/cli
6 -github_branch: latest
6 +github_branch: release/v9
7 github_path: docs/lib/content/using-npm/scripts.md
8 redirect_from:
9 - /cli-documentation/misc/scripts
content/cli/v9/using-npm/workspaces.md
+1 -1
@@ -3,7 +3,7 @@ title: workspaces
3 section: 7
4 description: Working with workspaces
5 github_repo: npm/cli
6 -github_branch: latest
6 +github_branch: release/v9
7 github_path: docs/lib/content/using-npm/workspaces.md
8 redirect_from:
9 - /cli-documentation/misc/workspaces