fix: point cli edit links to new branch names (#284)

Luke Karrys committed Oct 25, 2022 at 20:24 UTC 39631af0a10f1263c58421044fe6ec50b3343ca4
257 files changed +347 -295
cli/lib/build.js
+1 -10
@@ -1,4 +1,4 @@
1 -const { posix, join, sep } = require('path')
1 +const { posix } = require('path')
2 const fs = require('fs').promises
3 const yaml = require('yaml')
4 const semver = require('semver')
@@ -63,10 +63,6 @@ const main = async ({
63 log.on(loglevel)
64 }
65
66 - // convert paths to whatever platform we are on so they
67 - // can be used to write files later
68 - const defaultBuiltDir = join('docs', 'content')
69 -
66 const rawReleases = require(releasesPath)
67
68 const releaseManifests = await Promise.all(rawReleases.map(async release => {
@@ -98,11 +94,6 @@ const main = async ({
94 return {
95 ...release,
96 title: `Version ${release.version} (${type})`,
101 - // dir of the built docs that should be copied
102 - built: defaultBuiltDir,
103 - // dir of the source for the docs that should
104 - // be linked to for editing on github
105 - src: release.src?.split(posix.sep).join(sep) || defaultBuiltDir,
97 url: `/${DOCS_PATH}/${release.id}`,
98 urlPrefix: DOCS_PATH,
99 urlPrefixes: [DOCS_PATH, `${DOCS_PATH}-documentation`],
cli/lib/extract.js
+46 -33
@@ -7,10 +7,10 @@ const Transform = require('./transform')
7 const gh = require('./gh')
8 const log = require('./log')
9
10 -const unpackTarball = async ({ release, cwd, dir: dirParts }) => {
10 +const unpackTarball = async ({ release, cwd, dir }) => {
11 const strip = 1
12 const result = []
13 - const dir = join(...dirParts)
13 + const dirParts = dir.split(sep)
14
15 log.verbose('tarball', release.resolved, { cwd, dir })
16
@@ -47,7 +47,16 @@ const unpackTarball = async ({ release, cwd, dir: dirParts }) => {
47 return result
48 }
49
50 -const unpackTree = async ({ sha, cwd, release }) => {
50 +const unpackTree = async ({ release, cwd, dir }) => {
51 + const dirParts = dir.split(sep)
52 + const child = dirParts.pop()
53 + const parent = join(...dirParts)
54 +
55 + // to get the sha of the dir, we have to get the parent
56 + // and find the child as an entry and get its sha
57 + const sha = await gh.getDirectory(release.branch, parent)
58 + .then(paths => paths.find((p) => p.name === child).sha)
59 +
60 const files = await gh.getAllFiles(sha)
61
62 // tar makes the directories for us when unpacking but we
@@ -72,14 +81,8 @@ const unpackTree = async ({ sha, cwd, release }) => {
81 return files.map((f) => f.path)
82 }
83
75 -const getNav = async ({ contents, release }) => {
76 - // The nav file can be in two different places. We already grabbed the
77 - // the docs tree so first we check if there is a nav in there. If
78 - // there is not then we know it has to be in the content dir
79 - const navFile = contents.find((f) => f.name === 'nav.yml')
80 - /* istanbul ignore next */
81 - const navPath = navFile?.path || join(release.src, 'nav.yml')
82 - const nav = await gh.getFile({ ref: release.branch, path: navPath })
84 +const getNav = async ({ path, release }) => {
85 + const nav = await gh.getFile({ ref: release.branch, path })
86
87 const rewriteUrls = (nodes) =>
88 nodes?.map((n) => {
@@ -89,7 +92,7 @@ const getNav = async ({ contents, release }) => {
92 })
93
94 return {
92 - path: navPath,
95 + path,
96 children: rewriteUrls(yaml.parse(nav.toString())),
97 }
98 }
@@ -137,32 +140,43 @@ const unpackRelease = async (
140 log.verbose(release)
141
142 const cwd = join(contentPath, release.id)
140 - const builtDir = release.built.split(sep)
143 + await fs
144 + .rm(cwd, { force: true, recursive: true })
145 + .then(() => fs.mkdir(cwd, { recursive: true }))
146
142 - const [docsRepo] = await Promise.all([
143 - gh.getDirectory(release.branch, builtDir[0]),
144 - fs
145 - .rm(cwd, { force: true, recursive: true })
146 - .then(() => fs.mkdir(cwd, { recursive: true })),
147 - ])
147 + const builtPath = join('docs', 'content')
148 + const srcPath = join('docs', 'lib', 'content')
149 +
150 + // this is the src dir for the docs that we link to for the edit links
151 + release.src = await gh.pathExists(release.branch, srcPath)
152 + ?? await gh.pathExists(release.branch, builtPath)
153 +
154 + /* istanbul ignore next */
155 + if (!release.src) {
156 + throw new Error(`Could not find source dir for ${release.id}`)
157 + }
158 +
159 + const nav = await getNav({
160 + release,
161 + // the nav file can also be in a few different places
162 + path: await gh.pathExists(release.branch, join(srcPath, 'nav.yml'))
163 + ?? await gh.pathExists(release.branch, join('docs', 'nav.yml')),
164 + })
165
166 // If we are using the release's GitHub ref, then we fetch
167 // the tree of the doc directory's sha which has all the docs
168 // we need in it. Note that this requires the docs to all be
169 // built in source, which is true for v6 but not for v9 and later.
153 - const files = await (release.useBranch
154 - ? unpackTree({
155 - release,
156 - sha: docsRepo.find((f) => f.name === builtDir[1]).sha,
157 - cwd,
158 - })
159 - : unpackTarball({
160 - release,
161 - cwd,
162 - dir: builtDir,
163 - }))
170 + const files = release.useBranch ? await unpackTree({
171 + release,
172 + cwd,
173 + dir: release.src,
174 + }) : await unpackTarball({
175 + release,
176 + cwd,
177 + dir: builtPath,
178 + })
179
165 - const nav = await getNav({ contents: docsRepo, release })
180 const dirs = ['', ...new Set(files.map((f) => dirname(f)))]
181
182 // The docs in the cli contains all the content pagess and the nav
@@ -184,8 +198,7 @@ const unpackRelease = async (
198 frontmatter: {
199 github_path: nav.path,
200 title: navSection.title,
187 - // TODO: leave off for now while reviewing diffs
188 - // shortName: navSection.shortName,
201 + shortName: navSection.shortName,
202 },
203 }),
204 'utf-8'
cli/lib/gh.js
+18
@@ -59,12 +59,30 @@ const getDirectory = async (ref, dir) => {
59 return data
60 }
61
62 +const pathExists = async (ref, path) => {
63 + try {
64 + await octokit.repos.getContent({
65 + ...opts,
66 + ref,
67 + path: path.split(sep).join(posix.sep),
68 + })
69 + return path
70 + } catch (err) {
71 + /* istanbul ignore next */
72 + if (!err.status === 404) {
73 + throw err
74 + }
75 + }
76 + return null
77 +}
78 +
79 module.exports = {
80 octokit,
81 getFile,
82 getLatestSha,
83 getAllFiles,
84 getDirectory,
85 + pathExists,
86 owner,
87 repo,
88 nwo: `${owner}/${repo}`,
cli/releases.json
+3 -4
@@ -1,20 +1,20 @@
1 [
2 {
3 "id": "v6",
4 - "branch": "v6",
4 + "branch": "release/v6",
5 "spec": "^6",
6 "useBranch": true,
7 "resolved": "898c0496406e29865b5ae736ed541ca41895e484"
8 },
9 {
10 "id": "v7",
11 - "branch": "v7",
11 + "branch": "release/v7",
12 "spec": "^7",
13 "resolved": "https://registry.npmjs.org/npm/-/npm-7.24.2.tgz"
14 },
15 {
16 "id": "v8",
17 - "branch": "v8",
17 + "branch": "release/v8",
18 "spec": "latest",
19 "resolved": "https://registry.npmjs.org/npm/-/npm-8.19.2.tgz"
20 },
@@ -22,7 +22,6 @@
22 "id": "v9",
23 "branch": "latest",
24 "spec": "next-9",
25 - "src": "docs/lib/content",
25 "resolved": "https://registry.npmjs.org/npm/-/npm-9.0.0.tgz"
26 }
27 ]
cli/test/index.js
+15
@@ -104,3 +104,18 @@ t.test('earlier release is latest', async (t) => {
104
105 await build()
106 })
107 +
108 +t.test('add variant to nav', async (t) => {
109 + const releases = getReleases()
110 + releases[1].spec = 'latest'
111 + releases[2].spec = '^8'
112 +
113 + const build = await mockBuild({
114 + releases,
115 + testdir: {
116 + 'nav.yml': '- title: cli\n url: /cli\n variants:\n - url: /cli/v0',
117 + },
118 + })
119 +
120 + await build({ force: true })
121 +})
content/cli/v6/commands/index.mdx
+2 -1
@@ -1,7 +1,8 @@
1 ---
2 title: CLI Commands
3 +shortName: Commands
4 github_repo: npm/cli
4 -github_branch: v6
5 +github_branch: release/v6
6 github_path: docs/nav.yml
7 redirect_from:
8 - /cli-documentation/v6/cli-commands
content/cli/v6/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: v6
6 +github_branch: release/v6
7 github_path: docs/content/commands/npm-access.md
8 redirect_from:
9 - /cli-documentation/v6/access
content/cli/v6/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: v6
6 +github_branch: release/v6
7 github_path: docs/content/commands/npm-adduser.md
8 redirect_from:
9 - /cli-documentation/v6/adduser
content/cli/v6/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: v6
6 +github_branch: release/v6
7 github_path: docs/content/commands/npm-audit.md
8 redirect_from:
9 - /cli-documentation/v6/audit
content/cli/v6/commands/npm-bin.md
+1 -1
@@ -3,7 +3,7 @@ title: npm-bin
3 section: 1
4 description: Display npm bin folder
5 github_repo: npm/cli
6 -github_branch: v6
6 +github_branch: release/v6
7 github_path: docs/content/commands/npm-bin.md
8 redirect_from:
9 - /cli-documentation/v6/bin
content/cli/v6/commands/npm-bugs.md
+1 -1
@@ -3,7 +3,7 @@ title: npm-bugs
3 section: 1
4 description: Bugs for a package in a web browser maybe
5 github_repo: npm/cli
6 -github_branch: v6
6 +github_branch: release/v6
7 github_path: docs/content/commands/npm-bugs.md
8 redirect_from:
9 - /cli-documentation/v6/bugs
content/cli/v6/commands/npm-build.md
+1 -1
@@ -3,7 +3,7 @@ title: npm-build
3 section: 1
4 description: Build a package
5 github_repo: npm/cli
6 -github_branch: v6
6 +github_branch: release/v6
7 github_path: docs/content/commands/npm-build.md
8 redirect_from:
9 - /cli-documentation/v6/build
content/cli/v6/commands/npm-bundle.md
+1 -1
@@ -3,7 +3,7 @@ title: npm-bundle
3 section: 1
4 description: REMOVED
5 github_repo: npm/cli
6 -github_branch: v6
6 +github_branch: release/v6
7 github_path: docs/content/commands/npm-bundle.md
8 redirect_from:
9 - /cli-documentation/v6/bundle
content/cli/v6/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: v6
6 +github_branch: release/v6
7 github_path: docs/content/commands/npm-cache.md
8 redirect_from:
9 - /cli-documentation/v6/cache
content/cli/v6/commands/npm-ci.md
+1 -1
@@ -3,7 +3,7 @@ title: npm-ci
3 section: 1
4 description: Install a project with a clean slate
5 github_repo: npm/cli
6 -github_branch: v6
6 +github_branch: release/v6
7 github_path: docs/content/commands/npm-ci.md
8 redirect_from:
9 - /cli-documentation/v6/ci
content/cli/v6/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: v6
6 +github_branch: release/v6
7 github_path: docs/content/commands/npm-completion.md
8 redirect_from:
9 - /cli-documentation/v6/cli-commands/completion
content/cli/v6/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: v6
6 +github_branch: release/v6
7 github_path: docs/content/commands/npm-config.md
8 redirect_from:
9 - /cli-documentation/v6/cli-commands/config
content/cli/v6/commands/npm-dedupe.md
+1 -1
@@ -3,7 +3,7 @@ title: npm-dedupe
3 section: 1
4 description: Reduce duplication
5 github_repo: npm/cli
6 -github_branch: v6
6 +github_branch: release/v6
7 github_path: docs/content/commands/npm-dedupe.md
8 redirect_from:
9 - /cli-documentation/v6/cli-commands/dedupe
content/cli/v6/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: v6
6 +github_branch: release/v6
7 github_path: docs/content/commands/npm-deprecate.md
8 redirect_from:
9 - /cli-documentation/v6/cli-commands/deprecate
content/cli/v6/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: v6
6 +github_branch: release/v6
7 github_path: docs/content/commands/npm-dist-tag.md
8 redirect_from:
9 - /cli-documentation/v6/cli-commands/dist-tag
content/cli/v6/commands/npm-docs.md
+1 -1
@@ -3,7 +3,7 @@ title: npm-docs
3 section: 1
4 description: Docs for a package in a web browser maybe
5 github_repo: npm/cli
6 -github_branch: v6
6 +github_branch: release/v6
7 github_path: docs/content/commands/npm-docs.md
8 redirect_from:
9 - /cli-documentation/v6/cli-commands/docs
content/cli/v6/commands/npm-doctor.md
+1 -1
@@ -3,7 +3,7 @@ title: npm-doctor
3 section: 1
4 description: Check your environments
5 github_repo: npm/cli
6 -github_branch: v6
6 +github_branch: release/v6
7 github_path: docs/content/commands/npm-doctor.md
8 redirect_from:
9 - /cli-documentation/v6/cli-commands/doctor
content/cli/v6/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: v6
6 +github_branch: release/v6
7 github_path: docs/content/commands/npm-edit.md
8 redirect_from:
9 - /cli-documentation/v6/cli-commands/edit
content/cli/v6/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: v6
6 +github_branch: release/v6
7 github_path: docs/content/commands/npm-explore.md
8 redirect_from:
9 - /cli-documentation/v6/cli-commands/explore
content/cli/v6/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: v6
6 +github_branch: release/v6
7 github_path: docs/content/commands/npm-fund.md
8 redirect_from:
9 - /cli-documentation/v6/cli-commands/fund
content/cli/v6/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: v6
6 +github_branch: release/v6
7 github_path: docs/content/commands/npm-help-search.md
8 redirect_from:
9 - /cli-documentation/v6/cli-commands/help-search
content/cli/v6/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: v6
6 +github_branch: release/v6
7 github_path: docs/content/commands/npm-help.md
8 redirect_from:
9 - /cli-documentation/v6/cli-commands/help
content/cli/v6/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: v6
6 +github_branch: release/v6
7 github_path: docs/content/commands/npm-hook.md
8 redirect_from:
9 - /cli-documentation/v6/cli-commands/hook
content/cli/v6/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: v6
6 +github_branch: release/v6
7 github_path: docs/content/commands/npm-init.md
8 redirect_from:
9 - /cli-documentation/v6/cli-commands/init
content/cli/v6/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: v6
6 +github_branch: release/v6
7 github_path: docs/content/commands/npm-install-ci-test.md
8 redirect_from:
9 - /cli-documentation/v6/cli-commands/install-ci-test
content/cli/v6/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: v6
6 +github_branch: release/v6
7 github_path: docs/content/commands/npm-install-test.md
8 redirect_from:
9 - /cli-documentation/v6/cli-commands/install-test
content/cli/v6/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: v6
6 +github_branch: release/v6
7 github_path: docs/content/commands/npm-install.md
8 redirect_from:
9 - /cli-documentation/v6/cli-commands/install
content/cli/v6/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: v6
6 +github_branch: release/v6
7 github_path: docs/content/commands/npm-link.md
8 redirect_from:
9 - /cli-documentation/v6/cli-commands/link
content/cli/v6/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: v6
6 +github_branch: release/v6
7 github_path: docs/content/commands/npm-logout.md
8 redirect_from:
9 - /cli-documentation/v6/cli-commands/logout
content/cli/v6/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: v6
6 +github_branch: release/v6
7 github_path: docs/content/commands/npm-ls.md
8 redirect_from:
9 - /cli-documentation/v6/cli-commands/ls
content/cli/v6/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: v6
6 +github_branch: release/v6
7 github_path: docs/content/commands/npm-org.md
8 redirect_from:
9 - /cli-documentation/v6/cli-commands/npm-org
content/cli/v6/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: v6
6 +github_branch: release/v6
7 github_path: docs/content/commands/npm-outdated.md
8 redirect_from:
9 - /cli-documentation/v6/cli-commands/npm-outdated
content/cli/v6/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: v6
6 +github_branch: release/v6
7 github_path: docs/content/commands/npm-owner.md
8 redirect_from:
9 - /cli-documentation/v6/cli-commands/npm-owner
content/cli/v6/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: v6
6 +github_branch: release/v6
7 github_path: docs/content/commands/npm-pack.md
8 redirect_from:
9 - /cli-documentation/v6/cli-commands/npm-pack
content/cli/v6/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: v6
6 +github_branch: release/v6
7 github_path: docs/content/commands/npm-ping.md
8 redirect_from:
9 - /cli-documentation/v6/cli-commands/npm-ping
content/cli/v6/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: v6
6 +github_branch: release/v6
7 github_path: docs/content/commands/npm-prefix.md
8 redirect_from:
9 - /cli-documentation/v6/cli-commands/npm-prefix
content/cli/v6/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: v6
6 +github_branch: release/v6
7 github_path: docs/content/commands/npm-profile.md
8 redirect_from:
9 - /cli-documentation/v6/cli-commands/npm-profile
content/cli/v6/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: v6
6 +github_branch: release/v6
7 github_path: docs/content/commands/npm-prune.md
8 redirect_from:
9 - /cli-documentation/v6/cli-commands/npm-prune
content/cli/v6/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: v6
6 +github_branch: release/v6
7 github_path: docs/content/commands/npm-publish.md
8 redirect_from:
9 - /cli-documentation/v6/cli-commands/npm-publish
content/cli/v6/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: v6
6 +github_branch: release/v6
7 github_path: docs/content/commands/npm-rebuild.md
8 redirect_from:
9 - /cli-documentation/v6/cli-commands/npm-rebuild
content/cli/v6/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: v6
6 +github_branch: release/v6
7 github_path: docs/content/commands/npm-repo.md
8 redirect_from:
9 - /cli-documentation/v6/cli-commands/npm-repo
content/cli/v6/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: v6
6 +github_branch: release/v6
7 github_path: docs/content/commands/npm-restart.md
8 redirect_from:
9 - /cli-documentation/v6/cli-commands/npm-restart
content/cli/v6/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: v6
6 +github_branch: release/v6
7 github_path: docs/content/commands/npm-root.md
8 redirect_from:
9 - /cli-documentation/v6/cli-commands/npm-root
content/cli/v6/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: v6
6 +github_branch: release/v6
7 github_path: docs/content/commands/npm-run-script.md
8 redirect_from:
9 - /cli-documentation/v6/cli-commands/npm-run-script
content/cli/v6/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: v6
6 +github_branch: release/v6
7 github_path: docs/content/commands/npm-search.md
8 redirect_from:
9 - /cli-documentation/v6/cli-commands/npm-search
content/cli/v6/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: v6
6 +github_branch: release/v6
7 github_path: docs/content/commands/npm-shrinkwrap.md
8 redirect_from:
9 - /cli-documentation/v6/cli-commands/npm-shrinkwrap
content/cli/v6/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: v6
6 +github_branch: release/v6
7 github_path: docs/content/commands/npm-star.md
8 redirect_from:
9 - /cli-documentation/v6/cli-commands/npm-star
content/cli/v6/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: v6
6 +github_branch: release/v6
7 github_path: docs/content/commands/npm-stars.md
8 redirect_from:
9 - /cli-documentation/v6/cli-commands/npm-stars
content/cli/v6/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: v6
6 +github_branch: release/v6
7 github_path: docs/content/commands/npm-start.md
8 redirect_from:
9 - /cli-documentation/v6/cli-commands/npm-start
content/cli/v6/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: v6
6 +github_branch: release/v6
7 github_path: docs/content/commands/npm-stop.md
8 redirect_from:
9 - /cli-documentation/v6/cli-commands/npm-stop
content/cli/v6/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: v6
6 +github_branch: release/v6
7 github_path: docs/content/commands/npm-team.md
8 redirect_from:
9 - /cli-documentation/v6/cli-commands/npm-team
content/cli/v6/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: v6
6 +github_branch: release/v6
7 github_path: docs/content/commands/npm-test.md
8 redirect_from:
9 - /cli-documentation/v6/cli-commands/npm-test
content/cli/v6/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: v6
6 +github_branch: release/v6
7 github_path: docs/content/commands/npm-token.md
8 redirect_from:
9 - /cli-documentation/v6/cli-commands/npm-token
content/cli/v6/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: v6
6 +github_branch: release/v6
7 github_path: docs/content/commands/npm-uninstall.md
8 redirect_from:
9 - /cli-documentation/v6/cli-commands/npm-uninstall
content/cli/v6/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: v6
6 +github_branch: release/v6
7 github_path: docs/content/commands/npm-unpublish.md
8 redirect_from:
9 - /cli-documentation/v6/cli-commands/npm-unpublish
content/cli/v6/commands/npm-update.md
+1 -1
@@ -3,7 +3,7 @@ title: npm-update
3 section: 1
4 description: Update a package
5 github_repo: npm/cli
6 -github_branch: v6
6 +github_branch: release/v6
7 github_path: docs/content/commands/npm-update.md
8 redirect_from:
9 - /cli-documentation/v6/cli-commands/npm-update
content/cli/v6/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: v6
6 +github_branch: release/v6
7 github_path: docs/content/commands/npm-version.md
8 redirect_from:
9 - /cli-documentation/v6/cli-commands/npm-version
content/cli/v6/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: v6
6 +github_branch: release/v6
7 github_path: docs/content/commands/npm-view.md
8 redirect_from:
9 - /cli-documentation/v6/cli-commands/npm-view
content/cli/v6/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: v6
6 +github_branch: release/v6
7 github_path: docs/content/commands/npm-whoami.md
8 redirect_from:
9 - /cli-documentation/v6/cli-commands/npm-whoami
content/cli/v6/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: v6
6 +github_branch: release/v6
7 github_path: docs/content/commands/npm.md
8 redirect_from:
9 - /cli-documentation/v6/cli-commands/npm
content/cli/v6/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: v6
6 +github_branch: release/v6
7 github_path: docs/content/configuring-npm/folders.md
8 redirect_from:
9 - /cli-documentation/v6/configuring-npm/folders
content/cli/v6/configuring-npm/index.mdx
+2 -1
@@ -1,7 +1,8 @@
1 ---
2 title: Configuring npm
3 +shortName: Configuring
4 github_repo: npm/cli
4 -github_branch: v6
5 +github_branch: release/v6
6 github_path: docs/nav.yml
7 redirect_from:
8 - /cli-documentation/v6/configuring-npm
content/cli/v6/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: v6
6 +github_branch: release/v6
7 github_path: docs/content/configuring-npm/install.md
8 redirect_from:
9 - /cli-documentation/v6/configuring-npm/install
content/cli/v6/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: v6
6 +github_branch: release/v6
7 github_path: docs/content/configuring-npm/npmrc.md
8 redirect_from:
9 - /cli-documentation/v6/configuring-npm/npmrc
content/cli/v6/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: v6
6 +github_branch: release/v6
7 github_path: docs/content/configuring-npm/package-json.md
8 redirect_from:
9 - /cli-documentation/v6/configuring-npm/package-json
content/cli/v6/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: v6
6 +github_branch: release/v6
7 github_path: docs/content/configuring-npm/package-lock-json.md
8 redirect_from:
9 - /cli-documentation/v6/configuring-npm/package-lock-json
content/cli/v6/configuring-npm/package-locks.md
+1 -1
@@ -3,7 +3,7 @@ title: package-locks
3 section: 5
4 description: An explanation of npm lockfiles
5 github_repo: npm/cli
6 -github_branch: v6
6 +github_branch: release/v6
7 github_path: docs/content/configuring-npm/package-locks.md
8 redirect_from:
9 - /cli-documentation/configuring-npm/package-locks
content/cli/v6/configuring-npm/shrinkwrap-json.md
+1 -1
@@ -3,7 +3,7 @@ title: shrinkwrap.json
3 section: 5
4 description: A publishable lockfile
5 github_repo: npm/cli
6 -github_branch: v6
6 +github_branch: release/v6
7 github_path: docs/content/configuring-npm/shrinkwrap-json.md
8 redirect_from:
9 - /cli-documentation/v6/configuring-npm/shrinkwrap-json
content/cli/v6/index.mdx
+2 -1
@@ -1,7 +1,8 @@
1 ---
2 title: npm CLI
3 +shortName: CLI
4 github_repo: npm/cli
4 -github_branch: v6
5 +github_branch: release/v6
6 github_path: docs/nav.yml
7 redirect_from:
8 - /cli-documentation/v6
content/cli/v6/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: v6
6 +github_branch: release/v6
7 github_path: docs/content/using-npm/config.md
8 redirect_from:
9 - /cli-documentation/v6/misc/config
content/cli/v6/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: v6
6 +github_branch: release/v6
7 github_path: docs/content/using-npm/developers.md
8 redirect_from:
9 - /cli-documentation/v6/misc/developers
content/cli/v6/using-npm/index.mdx
+2 -1
@@ -1,7 +1,8 @@
1 ---
2 title: Using npm
3 +shortName: Using
4 github_repo: npm/cli
4 -github_branch: v6
5 +github_branch: release/v6
6 github_path: docs/nav.yml
7 redirect_from:
8 - /cli-documentation/v6/misc
content/cli/v6/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: v6
6 +github_branch: release/v6
7 github_path: docs/content/using-npm/orgs.md
8 redirect_from:
9 - /cli-documentation/v6/misc/orgs
content/cli/v6/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: v6
6 +github_branch: release/v6
7 github_path: docs/content/using-npm/registry.md
8 redirect_from:
9 - /cli-documentation/v6/misc/registry
content/cli/v6/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: v6
6 +github_branch: release/v6
7 github_path: docs/content/using-npm/removal.md
8 redirect_from:
9 - /cli-documentation/v6/misc/removal
content/cli/v6/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: v6
6 +github_branch: release/v6
7 github_path: docs/content/using-npm/scope.md
8 redirect_from:
9 - /cli-documentation/v6/misc/npm-scope
content/cli/v6/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: v6
6 +github_branch: release/v6
7 github_path: docs/content/using-npm/scripts.md
8 redirect_from:
9 - /cli-documentation/v6/misc/scripts
content/cli/v6/using-npm/semver.md
+1 -1
@@ -3,7 +3,7 @@ title: semver
3 section: 7
4 description: The semantic versioner for npm
5 github_repo: npm/cli
6 -github_branch: v6
6 +github_branch: release/v6
7 github_path: docs/content/using-npm/semver.md
8 redirect_from:
9 - /cli-documentation/v6/misc/semver
content/cli/v7/commands/index.mdx
+2 -1
@@ -1,7 +1,8 @@
1 ---
2 title: CLI Commands
3 +shortName: Commands
4 github_repo: npm/cli
4 -github_branch: v7
5 +github_branch: release/v7
6 github_path: docs/nav.yml
7 redirect_from:
8 - /cli-documentation/v7/cli-commands
content/cli/v7/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: v7
6 +github_branch: release/v7
7 github_path: docs/content/commands/npm-access.md
8 redirect_from:
9 - /cli-documentation/v7/access
content/cli/v7/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: v7
6 +github_branch: release/v7
7 github_path: docs/content/commands/npm-adduser.md
8 redirect_from:
9 - /cli-documentation/v7/adduser
content/cli/v7/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: v7
6 +github_branch: release/v7
7 github_path: docs/content/commands/npm-audit.md
8 redirect_from:
9 - /cli-documentation/v7/audit
content/cli/v7/commands/npm-bin.md
+1 -1
@@ -3,7 +3,7 @@ title: npm-bin
3 section: 1
4 description: Display npm bin folder
5 github_repo: npm/cli
6 -github_branch: v7
6 +github_branch: release/v7
7 github_path: docs/content/commands/npm-bin.md
8 redirect_from:
9 - /cli-documentation/v7/bin
content/cli/v7/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: v7
6 +github_branch: release/v7
7 github_path: docs/content/commands/npm-bugs.md
8 redirect_from:
9 - /cli-documentation/v7/bugs
content/cli/v7/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: v7
6 +github_branch: release/v7
7 github_path: docs/content/commands/npm-cache.md
8 redirect_from:
9 - /cli-documentation/v7/cache
content/cli/v7/commands/npm-ci.md
+1 -1
@@ -3,7 +3,7 @@ title: npm-ci
3 section: 1
4 description: Install a project with a clean slate
5 github_repo: npm/cli
6 -github_branch: v7
6 +github_branch: release/v7
7 github_path: docs/content/commands/npm-ci.md
8 redirect_from:
9 - /cli-documentation/v7/ci
content/cli/v7/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: v7
6 +github_branch: release/v7
7 github_path: docs/content/commands/npm-completion.md
8 redirect_from:
9 - /cli-documentation/v7/cli-commands/completion
content/cli/v7/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: v7
6 +github_branch: release/v7
7 github_path: docs/content/commands/npm-config.md
8 redirect_from:
9 - /cli-documentation/v7/cli-commands/config
content/cli/v7/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: v7
6 +github_branch: release/v7
7 github_path: docs/content/commands/npm-dedupe.md
8 redirect_from:
9 - /cli-documentation/v7/cli-commands/dedupe
content/cli/v7/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: v7
6 +github_branch: release/v7
7 github_path: docs/content/commands/npm-deprecate.md
8 redirect_from:
9 - /cli-documentation/v7/cli-commands/deprecate
content/cli/v7/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: v7
6 +github_branch: release/v7
7 github_path: docs/content/commands/npm-diff.md
8 redirect_from:
9 - /cli-documentation/v7/cli-commands/diff
content/cli/v7/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: v7
6 +github_branch: release/v7
7 github_path: docs/content/commands/npm-dist-tag.md
8 redirect_from:
9 - /cli-documentation/v7/cli-commands/dist-tag
content/cli/v7/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: v7
6 +github_branch: release/v7
7 github_path: docs/content/commands/npm-docs.md
8 redirect_from:
9 - /cli-documentation/v7/cli-commands/docs
content/cli/v7/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: v7
6 +github_branch: release/v7
7 github_path: docs/content/commands/npm-doctor.md
8 redirect_from:
9 - /cli-documentation/v7/cli-commands/doctor
content/cli/v7/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: v7
6 +github_branch: release/v7
7 github_path: docs/content/commands/npm-edit.md
8 redirect_from:
9 - /cli-documentation/v7/cli-commands/edit
content/cli/v7/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: v7
6 +github_branch: release/v7
7 github_path: docs/content/commands/npm-exec.md
8 redirect_from:
9 - /cli-documentation/v7/cli-commands/exec
content/cli/v7/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: v7
6 +github_branch: release/v7
7 github_path: docs/content/commands/npm-explain.md
8 redirect_from:
9 - /cli-documentation/v7/cli-commands/explain
content/cli/v7/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: v7
6 +github_branch: release/v7
7 github_path: docs/content/commands/npm-explore.md
8 redirect_from:
9 - /cli-documentation/v7/cli-commands/explore
content/cli/v7/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: v7
6 +github_branch: release/v7
7 github_path: docs/content/commands/npm-find-dupes.md
8 redirect_from:
9 - /cli-documentation/v7/cli-commands/find-dupes
content/cli/v7/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: v7
6 +github_branch: release/v7
7 github_path: docs/content/commands/npm-fund.md
8 redirect_from:
9 - /cli-documentation/v7/cli-commands/fund
content/cli/v7/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: v7
6 +github_branch: release/v7
7 github_path: docs/content/commands/npm-help-search.md
8 redirect_from:
9 - /cli-documentation/v7/cli-commands/help-search
content/cli/v7/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: v7
6 +github_branch: release/v7
7 github_path: docs/content/commands/npm-help.md
8 redirect_from:
9 - /cli-documentation/v7/cli-commands/help
content/cli/v7/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: v7
6 +github_branch: release/v7
7 github_path: docs/content/commands/npm-hook.md
8 redirect_from:
9 - /cli-documentation/v7/cli-commands/hook
content/cli/v7/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: v7
6 +github_branch: release/v7
7 github_path: docs/content/commands/npm-init.md
8 redirect_from:
9 - /cli-documentation/v7/cli-commands/init
content/cli/v7/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: v7
6 +github_branch: release/v7
7 github_path: docs/content/commands/npm-install-ci-test.md
8 redirect_from:
9 - /cli-documentation/v7/cli-commands/install-ci-test
content/cli/v7/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: v7
6 +github_branch: release/v7
7 github_path: docs/content/commands/npm-install-test.md
8 redirect_from:
9 - /cli-documentation/v7/cli-commands/install-test
content/cli/v7/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: v7
6 +github_branch: release/v7
7 github_path: docs/content/commands/npm-install.md
8 redirect_from:
9 - /cli-documentation/v7/cli-commands/install
content/cli/v7/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: v7
6 +github_branch: release/v7
7 github_path: docs/content/commands/npm-link.md
8 redirect_from:
9 - /cli-documentation/v7/cli-commands/link
content/cli/v7/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: v7
6 +github_branch: release/v7
7 github_path: docs/content/commands/npm-logout.md
8 redirect_from:
9 - /cli-documentation/v7/cli-commands/logout
content/cli/v7/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: v7
6 +github_branch: release/v7
7 github_path: docs/content/commands/npm-ls.md
8 redirect_from:
9 - /cli-documentation/v7/cli-commands/ls
content/cli/v7/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: v7
6 +github_branch: release/v7
7 github_path: docs/content/commands/npm-org.md
8 redirect_from:
9 - /cli-documentation/v7/cli-commands/npm-org
content/cli/v7/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: v7
6 +github_branch: release/v7
7 github_path: docs/content/commands/npm-outdated.md
8 redirect_from:
9 - /cli-documentation/v7/cli-commands/npm-outdated
content/cli/v7/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: v7
6 +github_branch: release/v7
7 github_path: docs/content/commands/npm-owner.md
8 redirect_from:
9 - /cli-documentation/v7/cli-commands/npm-owner
content/cli/v7/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: v7
6 +github_branch: release/v7
7 github_path: docs/content/commands/npm-pack.md
8 redirect_from:
9 - /cli-documentation/v7/cli-commands/npm-pack
content/cli/v7/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: v7
6 +github_branch: release/v7
7 github_path: docs/content/commands/npm-ping.md
8 redirect_from:
9 - /cli-documentation/v7/cli-commands/npm-ping
content/cli/v7/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: v7
6 +github_branch: release/v7
7 github_path: docs/content/commands/npm-pkg.md
8 redirect_from:
9 - /cli-documentation/v7/cli-commands/npm-pkg
content/cli/v7/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: v7
6 +github_branch: release/v7
7 github_path: docs/content/commands/npm-prefix.md
8 redirect_from:
9 - /cli-documentation/v7/cli-commands/npm-prefix
content/cli/v7/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: v7
6 +github_branch: release/v7
7 github_path: docs/content/commands/npm-profile.md
8 redirect_from:
9 - /cli-documentation/v7/cli-commands/npm-profile
content/cli/v7/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: v7
6 +github_branch: release/v7
7 github_path: docs/content/commands/npm-prune.md
8 redirect_from:
9 - /cli-documentation/v7/cli-commands/npm-prune
content/cli/v7/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: v7
6 +github_branch: release/v7
7 github_path: docs/content/commands/npm-publish.md
8 redirect_from:
9 - /cli-documentation/v7/cli-commands/npm-publish
content/cli/v7/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: v7
6 +github_branch: release/v7
7 github_path: docs/content/commands/npm-rebuild.md
8 redirect_from:
9 - /cli-documentation/v7/cli-commands/npm-rebuild
content/cli/v7/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: v7
6 +github_branch: release/v7
7 github_path: docs/content/commands/npm-repo.md
8 redirect_from:
9 - /cli-documentation/v7/cli-commands/npm-repo
content/cli/v7/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: v7
6 +github_branch: release/v7
7 github_path: docs/content/commands/npm-restart.md
8 redirect_from:
9 - /cli-documentation/v7/cli-commands/npm-restart
content/cli/v7/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: v7
6 +github_branch: release/v7
7 github_path: docs/content/commands/npm-root.md
8 redirect_from:
9 - /cli-documentation/v7/cli-commands/npm-root
content/cli/v7/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: v7
6 +github_branch: release/v7
7 github_path: docs/content/commands/npm-run-script.md
8 redirect_from:
9 - /cli-documentation/v7/cli-commands/npm-run-script
content/cli/v7/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: v7
6 +github_branch: release/v7
7 github_path: docs/content/commands/npm-search.md
8 redirect_from:
9 - /cli-documentation/v7/cli-commands/npm-search
content/cli/v7/commands/npm-set-script.md
+1 -1
@@ -3,7 +3,7 @@ title: npm-set-script
3 section: 1
4 description: Set tasks in the scripts section of package.json
5 github_repo: npm/cli
6 -github_branch: v7
6 +github_branch: release/v7
7 github_path: docs/content/commands/npm-set-script.md
8 redirect_from:
9 - /cli-documentation/v7/cli-commands/npm-set-script
content/cli/v7/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: v7
6 +github_branch: release/v7
7 github_path: docs/content/commands/npm-shrinkwrap.md
8 redirect_from:
9 - /cli-documentation/v7/cli-commands/npm-shrinkwrap
content/cli/v7/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: v7
6 +github_branch: release/v7
7 github_path: docs/content/commands/npm-star.md
8 redirect_from:
9 - /cli-documentation/v7/cli-commands/npm-star
content/cli/v7/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: v7
6 +github_branch: release/v7
7 github_path: docs/content/commands/npm-stars.md
8 redirect_from:
9 - /cli-documentation/v7/cli-commands/npm-stars
content/cli/v7/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: v7
6 +github_branch: release/v7
7 github_path: docs/content/commands/npm-start.md
8 redirect_from:
9 - /cli-documentation/v7/cli-commands/npm-start
content/cli/v7/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: v7
6 +github_branch: release/v7
7 github_path: docs/content/commands/npm-stop.md
8 redirect_from:
9 - /cli-documentation/v7/cli-commands/npm-stop
content/cli/v7/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: v7
6 +github_branch: release/v7
7 github_path: docs/content/commands/npm-team.md
8 redirect_from:
9 - /cli-documentation/v7/cli-commands/npm-team
content/cli/v7/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: v7
6 +github_branch: release/v7
7 github_path: docs/content/commands/npm-test.md
8 redirect_from:
9 - /cli-documentation/v7/cli-commands/npm-test
content/cli/v7/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: v7
6 +github_branch: release/v7
7 github_path: docs/content/commands/npm-token.md
8 redirect_from:
9 - /cli-documentation/v7/cli-commands/npm-token
content/cli/v7/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: v7
6 +github_branch: release/v7
7 github_path: docs/content/commands/npm-uninstall.md
8 redirect_from:
9 - /cli-documentation/v7/cli-commands/npm-uninstall
content/cli/v7/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: v7
6 +github_branch: release/v7
7 github_path: docs/content/commands/npm-unpublish.md
8 redirect_from:
9 - /cli-documentation/v7/cli-commands/npm-unpublish
content/cli/v7/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: v7
6 +github_branch: release/v7
7 github_path: docs/content/commands/npm-unstar.md
8 redirect_from:
9 - /cli-documentation/v7/cli-commands/npm-unstar
content/cli/v7/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: v7
6 +github_branch: release/v7
7 github_path: docs/content/commands/npm-update.md
8 redirect_from:
9 - /cli-documentation/v7/cli-commands/npm-update
content/cli/v7/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: v7
6 +github_branch: release/v7
7 github_path: docs/content/commands/npm-version.md
8 redirect_from:
9 - /cli-documentation/v7/cli-commands/npm-version
content/cli/v7/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: v7
6 +github_branch: release/v7
7 github_path: docs/content/commands/npm-view.md
8 redirect_from:
9 - /cli-documentation/v7/cli-commands/npm-view
content/cli/v7/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: v7
6 +github_branch: release/v7
7 github_path: docs/content/commands/npm-whoami.md
8 redirect_from:
9 - /cli-documentation/v7/cli-commands/npm-whoami
content/cli/v7/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: v7
6 +github_branch: release/v7
7 github_path: docs/content/commands/npm.md
8 redirect_from:
9 - /cli-documentation/v7/cli-commands/npm
content/cli/v7/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: v7
6 +github_branch: release/v7
7 github_path: docs/content/commands/npx.md
8 redirect_from:
9 - /cli-documentation/v7/cli-commands/npx
content/cli/v7/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: v7
6 +github_branch: release/v7
7 github_path: docs/content/configuring-npm/folders.md
8 redirect_from:
9 - /cli-documentation/v7/configuring-npm/folders
content/cli/v7/configuring-npm/index.mdx
+2 -1
@@ -1,7 +1,8 @@
1 ---
2 title: Configuring npm
3 +shortName: Configuring
4 github_repo: npm/cli
4 -github_branch: v7
5 +github_branch: release/v7
6 github_path: docs/nav.yml
7 redirect_from:
8 - /cli-documentation/v7/configuring-npm
content/cli/v7/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: v7
6 +github_branch: release/v7
7 github_path: docs/content/configuring-npm/install.md
8 redirect_from:
9 - /cli-documentation/v7/configuring-npm/install
content/cli/v7/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: v7
6 +github_branch: release/v7
7 github_path: docs/content/configuring-npm/npm-shrinkwrap-json.md
8 redirect_from:
9 - /cli-documentation/v7/configuring-npm/npm-shrinkwrap-json
content/cli/v7/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: v7
6 +github_branch: release/v7
7 github_path: docs/content/configuring-npm/npmrc.md
8 redirect_from:
9 - /cli-documentation/v7/configuring-npm/npmrc
content/cli/v7/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: v7
6 +github_branch: release/v7
7 github_path: docs/content/configuring-npm/package-json.md
8 redirect_from:
9 - /cli-documentation/v7/configuring-npm/package-json
content/cli/v7/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: v7
6 +github_branch: release/v7
7 github_path: docs/content/configuring-npm/package-lock-json.md
8 redirect_from:
9 - /cli-documentation/v7/configuring-npm/package-lock-json
content/cli/v7/index.mdx
+2 -1
@@ -1,7 +1,8 @@
1 ---
2 title: npm CLI
3 +shortName: CLI
4 github_repo: npm/cli
4 -github_branch: v7
5 +github_branch: release/v7
6 github_path: docs/nav.yml
7 redirect_from:
8 - /cli-documentation/v7
content/cli/v7/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: v7
6 +github_branch: release/v7
7 github_path: docs/content/using-npm/config.md
8 redirect_from:
9 - /cli-documentation/v7/misc/config
content/cli/v7/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: v7
6 +github_branch: release/v7
7 github_path: docs/content/using-npm/developers.md
8 redirect_from:
9 - /cli-documentation/v7/misc/developers
content/cli/v7/using-npm/index.mdx
+2 -1
@@ -1,7 +1,8 @@
1 ---
2 title: Using npm
3 +shortName: Using
4 github_repo: npm/cli
4 -github_branch: v7
5 +github_branch: release/v7
6 github_path: docs/nav.yml
7 redirect_from:
8 - /cli-documentation/v7/misc
content/cli/v7/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: v7
6 +github_branch: release/v7
7 github_path: docs/content/using-npm/orgs.md
8 redirect_from:
9 - /cli-documentation/v7/misc/orgs
content/cli/v7/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: v7
6 +github_branch: release/v7
7 github_path: docs/content/using-npm/registry.md
8 redirect_from:
9 - /cli-documentation/v7/misc/registry
content/cli/v7/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: v7
6 +github_branch: release/v7
7 github_path: docs/content/using-npm/removal.md
8 redirect_from:
9 - /cli-documentation/v7/misc/removal
content/cli/v7/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: v7
6 +github_branch: release/v7
7 github_path: docs/content/using-npm/scope.md
8 redirect_from:
9 - /cli-documentation/v7/misc/npm-scope
content/cli/v7/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: v7
6 +github_branch: release/v7
7 github_path: docs/content/using-npm/scripts.md
8 redirect_from:
9 - /cli-documentation/v7/misc/scripts
content/cli/v7/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: v7
6 +github_branch: release/v7
7 github_path: docs/content/using-npm/workspaces.md
8 redirect_from:
9 - /cli-documentation/v7/misc/workspaces
content/cli/v8/commands/index.mdx
+2 -1
@@ -1,7 +1,8 @@
1 ---
2 title: CLI Commands
3 +shortName: Commands
4 github_repo: npm/cli
4 -github_branch: v8
5 +github_branch: release/v8
6 github_path: docs/nav.yml
7 redirect_from:
8 - /cli-commands
content/cli/v8/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: v8
6 +github_branch: release/v8
7 github_path: docs/content/commands/npm-access.md
8 redirect_from:
9 - /cli-commands/access
content/cli/v8/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: v8
6 +github_branch: release/v8
7 github_path: docs/content/commands/npm-adduser.md
8 redirect_from:
9 - /cli-commands/adduser
content/cli/v8/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: v8
6 +github_branch: release/v8
7 github_path: docs/content/commands/npm-audit.md
8 redirect_from:
9 - /cli-commands/audit
content/cli/v8/commands/npm-bin.md
+1 -1
@@ -3,7 +3,7 @@ title: npm-bin
3 section: 1
4 description: Display npm bin folder
5 github_repo: npm/cli
6 -github_branch: v8
6 +github_branch: release/v8
7 github_path: docs/content/commands/npm-bin.md
8 redirect_from:
9 - /cli-commands/bin
content/cli/v8/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: v8
6 +github_branch: release/v8
7 github_path: docs/content/commands/npm-bugs.md
8 redirect_from:
9 - /cli-commands/bugs
content/cli/v8/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: v8
6 +github_branch: release/v8
7 github_path: docs/content/commands/npm-cache.md
8 redirect_from:
9 - /cli-commands/cache
content/cli/v8/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: v8
6 +github_branch: release/v8
7 github_path: docs/content/commands/npm-ci.md
8 redirect_from:
9 - /cli-commands/ci
content/cli/v8/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: v8
6 +github_branch: release/v8
7 github_path: docs/content/commands/npm-completion.md
8 redirect_from:
9 - /cli-commands/completion
content/cli/v8/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: v8
6 +github_branch: release/v8
7 github_path: docs/content/commands/npm-config.md
8 redirect_from:
9 - /cli-commands/config
content/cli/v8/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: v8
6 +github_branch: release/v8
7 github_path: docs/content/commands/npm-dedupe.md
8 redirect_from:
9 - /cli-commands/dedupe
content/cli/v8/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: v8
6 +github_branch: release/v8
7 github_path: docs/content/commands/npm-deprecate.md
8 redirect_from:
9 - /cli-commands/deprecate
content/cli/v8/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: v8
6 +github_branch: release/v8
7 github_path: docs/content/commands/npm-diff.md
8 redirect_from:
9 - /cli-commands/diff
content/cli/v8/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: v8
6 +github_branch: release/v8
7 github_path: docs/content/commands/npm-dist-tag.md
8 redirect_from:
9 - /cli-commands/dist-tag
content/cli/v8/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: v8
6 +github_branch: release/v8
7 github_path: docs/content/commands/npm-docs.md
8 redirect_from:
9 - /cli-commands/docs
content/cli/v8/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: v8
6 +github_branch: release/v8
7 github_path: docs/content/commands/npm-doctor.md
8 redirect_from:
9 - /cli-commands/doctor
content/cli/v8/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: v8
6 +github_branch: release/v8
7 github_path: docs/content/commands/npm-edit.md
8 redirect_from:
9 - /cli-commands/edit
content/cli/v8/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: v8
6 +github_branch: release/v8
7 github_path: docs/content/commands/npm-exec.md
8 redirect_from:
9 - /cli-commands/exec
content/cli/v8/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: v8
6 +github_branch: release/v8
7 github_path: docs/content/commands/npm-explain.md
8 redirect_from:
9 - /cli-commands/explain
content/cli/v8/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: v8
6 +github_branch: release/v8
7 github_path: docs/content/commands/npm-explore.md
8 redirect_from:
9 - /cli-commands/explore
content/cli/v8/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: v8
6 +github_branch: release/v8
7 github_path: docs/content/commands/npm-find-dupes.md
8 redirect_from:
9 - /cli-commands/find-dupes
content/cli/v8/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: v8
6 +github_branch: release/v8
7 github_path: docs/content/commands/npm-fund.md
8 redirect_from:
9 - /cli-commands/fund
content/cli/v8/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: v8
6 +github_branch: release/v8
7 github_path: docs/content/commands/npm-help-search.md
8 redirect_from:
9 - /cli-commands/help-search
content/cli/v8/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: v8
6 +github_branch: release/v8
7 github_path: docs/content/commands/npm-help.md
8 redirect_from:
9 - /cli-commands/help
content/cli/v8/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: v8
6 +github_branch: release/v8
7 github_path: docs/content/commands/npm-hook.md
8 redirect_from:
9 - /cli-commands/hook
content/cli/v8/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: v8
6 +github_branch: release/v8
7 github_path: docs/content/commands/npm-init.md
8 redirect_from:
9 - /cli-commands/init
content/cli/v8/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: v8
6 +github_branch: release/v8
7 github_path: docs/content/commands/npm-install-ci-test.md
8 redirect_from:
9 - /cli-commands/install-ci-test
content/cli/v8/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: v8
6 +github_branch: release/v8
7 github_path: docs/content/commands/npm-install-test.md
8 redirect_from:
9 - /cli-commands/install-test
content/cli/v8/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: v8
6 +github_branch: release/v8
7 github_path: docs/content/commands/npm-install.md
8 redirect_from:
9 - /cli-commands/install
content/cli/v8/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: v8
6 +github_branch: release/v8
7 github_path: docs/content/commands/npm-link.md
8 redirect_from:
9 - /cli-commands/link
content/cli/v8/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: v8
6 +github_branch: release/v8
7 github_path: docs/content/commands/npm-logout.md
8 redirect_from:
9 - /cli-commands/logout
content/cli/v8/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: v8
6 +github_branch: release/v8
7 github_path: docs/content/commands/npm-ls.md
8 redirect_from:
9 - /cli-commands/ls
content/cli/v8/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: v8
6 +github_branch: release/v8
7 github_path: docs/content/commands/npm-org.md
8 redirect_from:
9 - /cli-commands/npm-org
content/cli/v8/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: v8
6 +github_branch: release/v8
7 github_path: docs/content/commands/npm-outdated.md
8 redirect_from:
9 - /cli-commands/npm-outdated
content/cli/v8/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: v8
6 +github_branch: release/v8
7 github_path: docs/content/commands/npm-owner.md
8 redirect_from:
9 - /cli-commands/npm-owner
content/cli/v8/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: v8
6 +github_branch: release/v8
7 github_path: docs/content/commands/npm-pack.md
8 redirect_from:
9 - /cli-commands/npm-pack
content/cli/v8/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: v8
6 +github_branch: release/v8
7 github_path: docs/content/commands/npm-ping.md
8 redirect_from:
9 - /cli-commands/npm-ping
content/cli/v8/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: v8
6 +github_branch: release/v8
7 github_path: docs/content/commands/npm-pkg.md
8 redirect_from:
9 - /cli-commands/npm-pkg
content/cli/v8/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: v8
6 +github_branch: release/v8
7 github_path: docs/content/commands/npm-prefix.md
8 redirect_from:
9 - /cli-commands/npm-prefix
content/cli/v8/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: v8
6 +github_branch: release/v8
7 github_path: docs/content/commands/npm-profile.md
8 redirect_from:
9 - /cli-commands/npm-profile
content/cli/v8/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: v8
6 +github_branch: release/v8
7 github_path: docs/content/commands/npm-prune.md
8 redirect_from:
9 - /cli-commands/npm-prune
content/cli/v8/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: v8
6 +github_branch: release/v8
7 github_path: docs/content/commands/npm-publish.md
8 redirect_from:
9 - /cli-commands/npm-publish
content/cli/v8/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: v8
6 +github_branch: release/v8
7 github_path: docs/content/commands/npm-query.md
8 redirect_from:
9 - /cli-commands/npm-query
content/cli/v8/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: v8
6 +github_branch: release/v8
7 github_path: docs/content/commands/npm-rebuild.md
8 redirect_from:
9 - /cli-commands/npm-rebuild
content/cli/v8/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: v8
6 +github_branch: release/v8
7 github_path: docs/content/commands/npm-repo.md
8 redirect_from:
9 - /cli-commands/npm-repo
content/cli/v8/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: v8
6 +github_branch: release/v8
7 github_path: docs/content/commands/npm-restart.md
8 redirect_from:
9 - /cli-commands/npm-restart
content/cli/v8/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: v8
6 +github_branch: release/v8
7 github_path: docs/content/commands/npm-root.md
8 redirect_from:
9 - /cli-commands/npm-root
content/cli/v8/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: v8
6 +github_branch: release/v8
7 github_path: docs/content/commands/npm-run-script.md
8 redirect_from:
9 - /cli-commands/npm-run-script
content/cli/v8/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: v8
6 +github_branch: release/v8
7 github_path: docs/content/commands/npm-search.md
8 redirect_from:
9 - /cli-commands/npm-search
content/cli/v8/commands/npm-set-script.md
+1 -1
@@ -3,7 +3,7 @@ title: npm-set-script
3 section: 1
4 description: Set tasks in the scripts section of package.json
5 github_repo: npm/cli
6 -github_branch: v8
6 +github_branch: release/v8
7 github_path: docs/content/commands/npm-set-script.md
8 redirect_from:
9 - /cli-commands/npm-set-script
content/cli/v8/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: v8
6 +github_branch: release/v8
7 github_path: docs/content/commands/npm-shrinkwrap.md
8 redirect_from:
9 - /cli-commands/npm-shrinkwrap
content/cli/v8/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: v8
6 +github_branch: release/v8
7 github_path: docs/content/commands/npm-star.md
8 redirect_from:
9 - /cli-commands/npm-star
content/cli/v8/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: v8
6 +github_branch: release/v8
7 github_path: docs/content/commands/npm-stars.md
8 redirect_from:
9 - /cli-commands/npm-stars
content/cli/v8/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: v8
6 +github_branch: release/v8
7 github_path: docs/content/commands/npm-start.md
8 redirect_from:
9 - /cli-commands/npm-start
content/cli/v8/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: v8
6 +github_branch: release/v8
7 github_path: docs/content/commands/npm-stop.md
8 redirect_from:
9 - /cli-commands/npm-stop
content/cli/v8/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: v8
6 +github_branch: release/v8
7 github_path: docs/content/commands/npm-team.md
8 redirect_from:
9 - /cli-commands/npm-team
content/cli/v8/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: v8
6 +github_branch: release/v8
7 github_path: docs/content/commands/npm-test.md
8 redirect_from:
9 - /cli-commands/npm-test
content/cli/v8/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: v8
6 +github_branch: release/v8
7 github_path: docs/content/commands/npm-token.md
8 redirect_from:
9 - /cli-commands/npm-token
content/cli/v8/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: v8
6 +github_branch: release/v8
7 github_path: docs/content/commands/npm-uninstall.md
8 redirect_from:
9 - /cli-commands/npm-uninstall
content/cli/v8/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: v8
6 +github_branch: release/v8
7 github_path: docs/content/commands/npm-unpublish.md
8 redirect_from:
9 - /cli-commands/npm-unpublish
content/cli/v8/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: v8
6 +github_branch: release/v8
7 github_path: docs/content/commands/npm-unstar.md
8 redirect_from:
9 - /cli-commands/npm-unstar
content/cli/v8/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: v8
6 +github_branch: release/v8
7 github_path: docs/content/commands/npm-update.md
8 redirect_from:
9 - /cli-commands/npm-update
content/cli/v8/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: v8
6 +github_branch: release/v8
7 github_path: docs/content/commands/npm-version.md
8 redirect_from:
9 - /cli-commands/npm-version
content/cli/v8/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: v8
6 +github_branch: release/v8
7 github_path: docs/content/commands/npm-view.md
8 redirect_from:
9 - /cli-commands/npm-view
content/cli/v8/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: v8
6 +github_branch: release/v8
7 github_path: docs/content/commands/npm-whoami.md
8 redirect_from:
9 - /cli-commands/npm-whoami
content/cli/v8/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: v8
6 +github_branch: release/v8
7 github_path: docs/content/commands/npm.md
8 redirect_from:
9 - /cli-commands/npm
content/cli/v8/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: v8
6 +github_branch: release/v8
7 github_path: docs/content/commands/npx.md
8 redirect_from:
9 - /cli-commands/npx
content/cli/v8/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: v8
6 +github_branch: release/v8
7 github_path: docs/content/configuring-npm/folders.md
8 redirect_from:
9 - /cli-documentation/configuring-npm/folders
content/cli/v8/configuring-npm/index.mdx
+2 -1
@@ -1,7 +1,8 @@
1 ---
2 title: Configuring npm
3 +shortName: Configuring
4 github_repo: npm/cli
4 -github_branch: v8
5 +github_branch: release/v8
6 github_path: docs/nav.yml
7 redirect_from:
8 - /cli-documentation/configuring-npm
content/cli/v8/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: v8
6 +github_branch: release/v8
7 github_path: docs/content/configuring-npm/install.md
8 redirect_from:
9 - /cli-documentation/configuring-npm/install
content/cli/v8/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: v8
6 +github_branch: release/v8
7 github_path: docs/content/configuring-npm/npm-shrinkwrap-json.md
8 redirect_from:
9 - /cli-documentation/configuring-npm/npm-shrinkwrap-json
content/cli/v8/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: v8
6 +github_branch: release/v8
7 github_path: docs/content/configuring-npm/npmrc.md
8 redirect_from:
9 - /cli-documentation/configuring-npm/npmrc
content/cli/v8/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: v8
6 +github_branch: release/v8
7 github_path: docs/content/configuring-npm/package-json.md
8 redirect_from:
9 - /cli-documentation/configuring-npm/package-json
content/cli/v8/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: v8
6 +github_branch: release/v8
7 github_path: docs/content/configuring-npm/package-lock-json.md
8 redirect_from:
9 - /cli-documentation/configuring-npm/package-lock-json
content/cli/v8/index.mdx
+2 -1
@@ -1,7 +1,8 @@
1 ---
2 title: npm CLI
3 +shortName: CLI
4 github_repo: npm/cli
4 -github_branch: v8
5 +github_branch: release/v8
6 github_path: docs/nav.yml
7 redirect_from:
8 - /cli
content/cli/v8/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: v8
6 +github_branch: release/v8
7 github_path: docs/content/using-npm/config.md
8 redirect_from:
9 - /cli-documentation/misc/config
content/cli/v8/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: v8
6 +github_branch: release/v8
7 github_path: docs/content/using-npm/dependency-selectors.md
8 redirect_from:
9 - /cli-documentation/misc/dependency-selectors
content/cli/v8/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: v8
6 +github_branch: release/v8
7 github_path: docs/content/using-npm/developers.md
8 redirect_from:
9 - /cli-documentation/misc/developers
content/cli/v8/using-npm/index.mdx
+2 -1
@@ -1,7 +1,8 @@
1 ---
2 title: Using npm
3 +shortName: Using
4 github_repo: npm/cli
4 -github_branch: v8
5 +github_branch: release/v8
6 github_path: docs/nav.yml
7 redirect_from:
8 - /cli-documentation/misc
content/cli/v8/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: v8
6 +github_branch: release/v8
7 github_path: docs/content/using-npm/logging.md
8 redirect_from:
9 - /cli-documentation/misc/logging
content/cli/v8/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: v8
6 +github_branch: release/v8
7 github_path: docs/content/using-npm/orgs.md
8 redirect_from:
9 - /cli-documentation/misc/orgs
content/cli/v8/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: v8
6 +github_branch: release/v8
7 github_path: docs/content/using-npm/package-spec.md
8 redirect_from:
9 - /cli-documentation/misc/package-spec
content/cli/v8/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: v8
6 +github_branch: release/v8
7 github_path: docs/content/using-npm/registry.md
8 redirect_from:
9 - /cli-documentation/misc/registry
content/cli/v8/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: v8
6 +github_branch: release/v8
7 github_path: docs/content/using-npm/removal.md
8 redirect_from:
9 - /cli-documentation/misc/removal
content/cli/v8/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: v8
6 +github_branch: release/v8
7 github_path: docs/content/using-npm/scope.md
8 redirect_from:
9 - /cli-documentation/misc/npm-scope
content/cli/v8/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: v8
6 +github_branch: release/v8
7 github_path: docs/content/using-npm/scripts.md
8 redirect_from:
9 - /cli-documentation/misc/scripts
content/cli/v8/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: v8
6 +github_branch: release/v8
7 github_path: docs/content/using-npm/workspaces.md
8 redirect_from:
9 - /cli-documentation/misc/workspaces
content/cli/v9/commands/index.mdx
+1
@@ -1,5 +1,6 @@
1 ---
2 title: CLI Commands
3 +shortName: Commands
4 github_repo: npm/cli
5 github_branch: latest
6 github_path: docs/lib/content/nav.yml
content/cli/v9/configuring-npm/index.mdx
+1
@@ -1,5 +1,6 @@
1 ---
2 title: Configuring npm
3 +shortName: Configuring
4 github_repo: npm/cli
5 github_branch: latest
6 github_path: docs/lib/content/nav.yml
content/cli/v9/index.mdx
+1
@@ -1,5 +1,6 @@
1 ---
2 title: npm CLI
3 +shortName: CLI
4 github_repo: npm/cli
5 github_branch: latest
6 github_path: docs/lib/content/nav.yml
content/cli/v9/using-npm/index.mdx
+1
@@ -1,5 +1,6 @@
1 ---
2 title: Using npm
3 +shortName: Using
4 github_repo: npm/cli
5 github_branch: latest
6 github_path: docs/lib/content/nav.yml