update v8 docs and sort frontmatter (#238)

sorting frontmatter and redirects will cause less churn and make it easier to use visual diffs when changing redirects

Luke Karrys committed Oct 7, 2022 at 20:52 UTC 995d8c1afa85b4093da20fbd6bd0245d934a952f
98 files changed +561 -535
cli/cli_import.js
+28 -2
@@ -183,7 +183,7 @@ function translate(version, data) {
183 const [, section] = matches;
184
185 data.frontmatter.redirect_from = section ? [
186 - `${section}`,
186 + `/${section}`,
187 `/cli/${section}`,
188 ] : [
189 `/cli`,
@@ -327,6 +327,32 @@ function walkNavigation(nodes, fn) {
327 })
328 }
329
330 +function sortFrontmatter (fm) {
331 + const order = [
332 + 'title',
333 + 'shortName',
334 + 'section',
335 + 'description',
336 + 'github_repo',
337 + 'github_branch',
338 + 'github_path',
339 + 'redirect_from',
340 + ]
341 +
342 + const sort = (a, b) => a.localeCompare(b, 'en')
343 +
344 + const sorted = Object.entries(fm)
345 + .filter(([, v]) => (Array.isArray(v) ? v.length : true))
346 + .map(([k, v]) => Array.isArray(v) ? [k, v.sort(sort)] : [k, v])
347 + .sort(([a], [b]) => {
348 + const aIndex = order.includes(a) ? order.indexOf(a) : order.length
349 + const bIndex = order.includes(b) ? order.indexOf(b) : order.length
350 + return aIndex - bIndex
351 + })
352 +
353 + return Object.fromEntries(sorted)
354 +}
355 +
356 function copyDocs(version, relativedir) {
357 const contentRoot = path.join(inputPath, version.id, cliContentPath);
358 const dirPath = relativedir ? path.join(contentRoot, relativedir) : contentRoot;
@@ -363,7 +389,7 @@ function copyDocs(version, relativedir) {
389 filedata = translate(version, filedata);
390
391 if (filedata) {
366 - output = "---\n" + yaml.stringify(filedata.frontmatter) + "---\n" + filedata.mdx;
392 + output = "---\n" + yaml.stringify(sortFrontmatter(filedata.frontmatter)) + "---\n" + filedata.mdx;
393 } else {
394 output = contents;
395 }
cli/releases.json
+2 -2
@@ -13,9 +13,9 @@
13 },
14 {
15 "id": "v8",
16 - "version": "8.19.1",
16 + "version": "8.19.2",
17 "title": "Version 8.x (Current release)",
18 - "branch": "latest",
18 + "branch": "v8",
19 "default": true
20 }
21 ]
cli/v8
+1 -1
@@ -1 +1 @@
1 -Subproject commit eb1998a1664decc4aa064a4eb66966f64ae92d39
1 +Subproject commit 292156c60bc16ba4da5942df4dd54b1c4cf9ad72
content/cli/v6/commands/index.mdx
+1 -1
@@ -1,8 +1,8 @@
1 ---
2 +title: CLI Commands
3 github_repo: npm/cli
4 github_branch: v6
5 github_path: docs/nav.yml
5 -title: CLI Commands
6 ---
7
8 <Index depth="1" />
content/cli/v6/configuring-npm/index.mdx
+1 -1
@@ -1,8 +1,8 @@
1 ---
2 +title: Configuring npm
3 github_repo: npm/cli
4 github_branch: v6
5 github_path: docs/nav.yml
5 -title: Configuring npm
6 ---
7
8 <Index depth="1" />
content/cli/v6/index.mdx
+1 -1
@@ -1,8 +1,8 @@
1 ---
2 +title: npm CLI
3 github_repo: npm/cli
4 github_branch: v6
5 github_path: docs/nav.yml
5 -title: npm CLI
6 ---
7
8 <Index depth="1" />
content/cli/v6/using-npm/index.mdx
+1 -1
@@ -1,8 +1,8 @@
1 ---
2 +title: Using npm
3 github_repo: npm/cli
4 github_branch: v6
5 github_path: docs/nav.yml
5 -title: Using npm
6 ---
7
8 <Index depth="1" />
content/cli/v7/commands/index.mdx
+1 -1
@@ -1,8 +1,8 @@
1 ---
2 +title: CLI Commands
3 github_repo: npm/cli
4 github_branch: v7
5 github_path: docs/nav.yml
5 -title: CLI Commands
6 ---
7
8 <Index depth="1" />
content/cli/v7/configuring-npm/index.mdx
+1 -1
@@ -1,8 +1,8 @@
1 ---
2 +title: Configuring npm
3 github_repo: npm/cli
4 github_branch: v7
5 github_path: docs/nav.yml
5 -title: Configuring npm
6 ---
7
8 <Index depth="1" />
content/cli/v7/index.mdx
+1 -1
@@ -1,8 +1,8 @@
1 ---
2 +title: npm CLI
3 github_repo: npm/cli
4 github_branch: v7
5 github_path: docs/nav.yml
5 -title: npm CLI
6 ---
7
8 <Index depth="1" />
content/cli/v7/using-npm/index.mdx
+1 -1
@@ -1,8 +1,8 @@
1 ---
2 +title: Using npm
3 github_repo: npm/cli
4 github_branch: v7
5 github_path: docs/nav.yml
5 -title: Using npm
6 ---
7
8 <Index depth="1" />
content/cli/v8/commands/index.mdx
+6 -6
@@ -1,13 +1,13 @@
1 ---
2 +title: CLI Commands
3 +github_repo: npm/cli
4 +github_branch: v8
5 +github_path: docs/nav.yml
6 redirect_from:
3 - - commands
4 - - /cli/commands
7 - /cli-documentation/cli
8 - /cli-documentation/cli-commands
7 -github_repo: npm/cli
8 -github_branch: latest
9 -github_path: docs/nav.yml
10 -title: CLI Commands
9 + - /cli/commands
10 + - /commands
11 ---
12
13 <Index depth="1" />
content/cli/v8/commands/npm-access.md
+6 -6
@@ -2,17 +2,17 @@
2 title: npm-access
3 section: 1
4 description: Set access level on published packages
5 +github_repo: npm/cli
6 +github_branch: v8
7 +github_path: docs/content/commands/npm-access.md
8 redirect_from:
6 - - /cli/access
7 - - /cli/access.html
8 - - /cli/commands/access
9 - /cli-commands/access
10 - /cli-commands/access.html
11 - /cli-commands/npm-access
12 - /cli-documentation/access
13 -github_repo: npm/cli
14 -github_branch: latest
15 -github_path: docs/content/commands/npm-access.md
13 + - /cli/access
14 + - /cli/access.html
15 + - /cli/commands/access
16 ---
17
18 ### Synopsis
content/cli/v8/commands/npm-adduser.md
+6 -6
@@ -2,16 +2,16 @@
2 title: npm-adduser
3 section: 1
4 description: Add a registry user account
5 +github_repo: npm/cli
6 +github_branch: v8
7 +github_path: docs/content/commands/npm-adduser.md
8 redirect_from:
6 - - /cli/adduser
7 - - /cli/adduser.html
8 - - /cli/commands/adduser
9 - /cli-commands/adduser
10 - /cli-commands/adduser.html
11 - /cli-commands/npm-adduser
12 -github_repo: npm/cli
13 -github_branch: latest
14 -github_path: docs/content/commands/npm-adduser.md
12 + - /cli/adduser
13 + - /cli/adduser.html
14 + - /cli/commands/adduser
15 ---
16
17 ### Synopsis
content/cli/v8/commands/npm-audit.md
+6 -6
@@ -2,16 +2,16 @@
2 title: npm-audit
3 section: 1
4 description: Run a security audit
5 +github_repo: npm/cli
6 +github_branch: v8
7 +github_path: docs/content/commands/npm-audit.md
8 redirect_from:
6 - - /cli/audit
7 - - /cli/audit.html
8 - - /cli/commands/audit
9 - /cli-commands/audit
10 - /cli-commands/audit.html
11 - /cli-commands/npm-audit
12 -github_repo: npm/cli
13 -github_branch: latest
14 -github_path: docs/content/commands/npm-audit.md
12 + - /cli/audit
13 + - /cli/audit.html
14 + - /cli/commands/audit
15 ---
16
17 ### Synopsis
content/cli/v8/commands/npm-bin.md
+6 -6
@@ -2,16 +2,16 @@
2 title: npm-bin
3 section: 1
4 description: Display npm bin folder
5 +github_repo: npm/cli
6 +github_branch: v8
7 +github_path: docs/content/commands/npm-bin.md
8 redirect_from:
6 - - /cli/bin
7 - - /cli/bin.html
8 - - /cli/commands/bin
9 - /cli-commands/bin
10 - /cli-commands/bin.html
11 - /cli-commands/npm-bin
12 -github_repo: npm/cli
13 -github_branch: latest
14 -github_path: docs/content/commands/npm-bin.md
12 + - /cli/bin
13 + - /cli/bin.html
14 + - /cli/commands/bin
15 ---
16
17 ### Synopsis
content/cli/v8/commands/npm-bugs.md
+6 -6
@@ -2,16 +2,16 @@
2 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
7 +github_path: docs/content/commands/npm-bugs.md
8 redirect_from:
6 - - /cli/bugs
7 - - /cli/bugs.html
8 - - /cli/commands/bugs
9 - /cli-commands/bugs
10 - /cli-commands/bugs.html
11 - /cli-commands/npm-bugs
12 -github_repo: npm/cli
13 -github_branch: latest
14 -github_path: docs/content/commands/npm-bugs.md
12 + - /cli/bugs
13 + - /cli/bugs.html
14 + - /cli/commands/bugs
15 ---
16
17 ### Synopsis
content/cli/v8/commands/npm-cache.md
+6 -6
@@ -2,16 +2,16 @@
2 title: npm-cache
3 section: 1
4 description: Manipulates packages cache
5 +github_repo: npm/cli
6 +github_branch: v8
7 +github_path: docs/content/commands/npm-cache.md
8 redirect_from:
6 - - /cli/cache
7 - - /cli/cache.html
8 - - /cli/commands/cache
9 - /cli-commands/cache
10 - /cli-commands/cache.html
11 - /cli-commands/npm-cache
12 -github_repo: npm/cli
13 -github_branch: latest
14 -github_path: docs/content/commands/npm-cache.md
12 + - /cli/cache
13 + - /cli/cache.html
14 + - /cli/commands/cache
15 ---
16
17 ### Synopsis
content/cli/v8/commands/npm-ci.md
+6 -6
@@ -2,16 +2,16 @@
2 title: npm-ci
3 section: 1
4 description: Clean install a project
5 +github_repo: npm/cli
6 +github_branch: v8
7 +github_path: docs/content/commands/npm-ci.md
8 redirect_from:
6 - - /cli/ci
7 - - /cli/ci.html
8 - - /cli/commands/ci
9 - /cli-commands/ci
10 - /cli-commands/ci.html
11 - /cli-commands/npm-ci
12 -github_repo: npm/cli
13 -github_branch: latest
14 -github_path: docs/content/commands/npm-ci.md
12 + - /cli/ci
13 + - /cli/ci.html
14 + - /cli/commands/ci
15 ---
16
17 ### Synopsis
content/cli/v8/commands/npm-completion.md
+6 -6
@@ -2,16 +2,16 @@
2 title: npm-completion
3 section: 1
4 description: Tab Completion for npm
5 +github_repo: npm/cli
6 +github_branch: v8
7 +github_path: docs/content/commands/npm-completion.md
8 redirect_from:
6 - - /cli/completion
7 - - /cli/completion.html
8 - - /cli/commands/completion
9 - /cli-commands/completion
10 - /cli-commands/completion.html
11 - /cli-commands/npm-completion
12 -github_repo: npm/cli
13 -github_branch: latest
14 -github_path: docs/content/commands/npm-completion.md
12 + - /cli/commands/completion
13 + - /cli/completion
14 + - /cli/completion.html
15 ---
16
17 ### Synopsis
content/cli/v8/commands/npm-config.md
+6 -6
@@ -2,16 +2,16 @@
2 title: npm-config
3 section: 1
4 description: Manage the npm configuration files
5 +github_repo: npm/cli
6 +github_branch: v8
7 +github_path: docs/content/commands/npm-config.md
8 redirect_from:
6 - - /cli/config
7 - - /cli/config.html
8 - - /cli/commands/config
9 - /cli-commands/config
10 - /cli-commands/config.html
11 - /cli-commands/npm-config
12 -github_repo: npm/cli
13 -github_branch: latest
14 -github_path: docs/content/commands/npm-config.md
12 + - /cli/commands/config
13 + - /cli/config
14 + - /cli/config.html
15 ---
16
17 ### Synopsis
content/cli/v8/commands/npm-dedupe.md
+6 -6
@@ -2,16 +2,16 @@
2 title: npm-dedupe
3 section: 1
4 description: Reduce duplication in the package tree
5 +github_repo: npm/cli
6 +github_branch: v8
7 +github_path: docs/content/commands/npm-dedupe.md
8 redirect_from:
6 - - /cli/dedupe
7 - - /cli/dedupe.html
8 - - /cli/commands/dedupe
9 - /cli-commands/dedupe
10 - /cli-commands/dedupe.html
11 - /cli-commands/npm-dedupe
12 -github_repo: npm/cli
13 -github_branch: latest
14 -github_path: docs/content/commands/npm-dedupe.md
12 + - /cli/commands/dedupe
13 + - /cli/dedupe
14 + - /cli/dedupe.html
15 ---
16
17 ### Synopsis
content/cli/v8/commands/npm-deprecate.md
+6 -6
@@ -2,16 +2,16 @@
2 title: npm-deprecate
3 section: 1
4 description: Deprecate a version of a package
5 +github_repo: npm/cli
6 +github_branch: v8
7 +github_path: docs/content/commands/npm-deprecate.md
8 redirect_from:
6 - - /cli/deprecate
7 - - /cli/deprecate.html
8 - - /cli/commands/deprecate
9 - /cli-commands/deprecate
10 - /cli-commands/deprecate.html
11 - /cli-commands/npm-deprecate
12 -github_repo: npm/cli
13 -github_branch: latest
14 -github_path: docs/content/commands/npm-deprecate.md
12 + - /cli/commands/deprecate
13 + - /cli/deprecate
14 + - /cli/deprecate.html
15 ---
16
17 ### Synopsis
content/cli/v8/commands/npm-diff.md
+6 -6
@@ -2,16 +2,16 @@
2 title: npm-diff
3 section: 1
4 description: The registry diff command
5 +github_repo: npm/cli
6 +github_branch: v8
7 +github_path: docs/content/commands/npm-diff.md
8 redirect_from:
6 - - /cli/diff
7 - - /cli/diff.html
8 - - /cli/commands/diff
9 - /cli-commands/diff
10 - /cli-commands/diff.html
11 - /cli-commands/npm-diff
12 -github_repo: npm/cli
13 -github_branch: latest
14 -github_path: docs/content/commands/npm-diff.md
12 + - /cli/commands/diff
13 + - /cli/diff
14 + - /cli/diff.html
15 ---
16
17 ### Synopsis
content/cli/v8/commands/npm-dist-tag.md
+6 -6
@@ -2,16 +2,16 @@
2 title: npm-dist-tag
3 section: 1
4 description: Modify package distribution tags
5 +github_repo: npm/cli
6 +github_branch: v8
7 +github_path: docs/content/commands/npm-dist-tag.md
8 redirect_from:
6 - - /cli/dist-tag
7 - - /cli/dist-tag.html
8 - - /cli/commands/dist-tag
9 - /cli-commands/dist-tag
10 - /cli-commands/dist-tag.html
11 - /cli-commands/npm-dist-tag
12 -github_repo: npm/cli
13 -github_branch: latest
14 -github_path: docs/content/commands/npm-dist-tag.md
12 + - /cli/commands/dist-tag
13 + - /cli/dist-tag
14 + - /cli/dist-tag.html
15 ---
16
17 ### Synopsis
content/cli/v8/commands/npm-docs.md
+6 -6
@@ -2,16 +2,16 @@
2 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
7 +github_path: docs/content/commands/npm-docs.md
8 redirect_from:
6 - - /cli/docs
7 - - /cli/docs.html
8 - - /cli/commands/docs
9 - /cli-commands/docs
10 - /cli-commands/docs.html
11 - /cli-commands/npm-docs
12 -github_repo: npm/cli
13 -github_branch: latest
14 -github_path: docs/content/commands/npm-docs.md
12 + - /cli/commands/docs
13 + - /cli/docs
14 + - /cli/docs.html
15 ---
16
17 ### Synopsis
content/cli/v8/commands/npm-doctor.md
+6 -6
@@ -2,16 +2,16 @@
2 title: npm-doctor
3 section: 1
4 description: Check your npm environment
5 +github_repo: npm/cli
6 +github_branch: v8
7 +github_path: docs/content/commands/npm-doctor.md
8 redirect_from:
6 - - /cli/doctor
7 - - /cli/doctor.html
8 - - /cli/commands/doctor
9 - /cli-commands/doctor
10 - /cli-commands/doctor.html
11 - /cli-commands/npm-doctor
12 -github_repo: npm/cli
13 -github_branch: latest
14 -github_path: docs/content/commands/npm-doctor.md
12 + - /cli/commands/doctor
13 + - /cli/doctor
14 + - /cli/doctor.html
15 ---
16
17 ### Synopsis
content/cli/v8/commands/npm-edit.md
+6 -6
@@ -2,16 +2,16 @@
2 title: npm-edit
3 section: 1
4 description: Edit an installed package
5 +github_repo: npm/cli
6 +github_branch: v8
7 +github_path: docs/content/commands/npm-edit.md
8 redirect_from:
6 - - /cli/edit
7 - - /cli/edit.html
8 - - /cli/commands/edit
9 - /cli-commands/edit
10 - /cli-commands/edit.html
11 - /cli-commands/npm-edit
12 -github_repo: npm/cli
13 -github_branch: latest
14 -github_path: docs/content/commands/npm-edit.md
12 + - /cli/commands/edit
13 + - /cli/edit
14 + - /cli/edit.html
15 ---
16
17 ### Synopsis
content/cli/v8/commands/npm-exec.md
+6 -6
@@ -2,16 +2,16 @@
2 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
7 +github_path: docs/content/commands/npm-exec.md
8 redirect_from:
6 - - /cli/exec
7 - - /cli/exec.html
8 - - /cli/commands/exec
9 - /cli-commands/exec
10 - /cli-commands/exec.html
11 - /cli-commands/npm-exec
12 -github_repo: npm/cli
13 -github_branch: latest
14 -github_path: docs/content/commands/npm-exec.md
12 + - /cli/commands/exec
13 + - /cli/exec
14 + - /cli/exec.html
15 ---
16
17 ### Synopsis
content/cli/v8/commands/npm-explain.md
+6 -6
@@ -2,16 +2,16 @@
2 title: npm-explain
3 section: 1
4 description: Explain installed packages
5 +github_repo: npm/cli
6 +github_branch: v8
7 +github_path: docs/content/commands/npm-explain.md
8 redirect_from:
6 - - /cli/explain
7 - - /cli/explain.html
8 - - /cli/commands/explain
9 - /cli-commands/explain
10 - /cli-commands/explain.html
11 - /cli-commands/npm-explain
12 -github_repo: npm/cli
13 -github_branch: latest
14 -github_path: docs/content/commands/npm-explain.md
12 + - /cli/commands/explain
13 + - /cli/explain
14 + - /cli/explain.html
15 ---
16
17 ### Synopsis
content/cli/v8/commands/npm-explore.md
+6 -6
@@ -2,16 +2,16 @@
2 title: npm-explore
3 section: 1
4 description: Browse an installed package
5 +github_repo: npm/cli
6 +github_branch: v8
7 +github_path: docs/content/commands/npm-explore.md
8 redirect_from:
6 - - /cli/explore
7 - - /cli/explore.html
8 - - /cli/commands/explore
9 - /cli-commands/explore
10 - /cli-commands/explore.html
11 - /cli-commands/npm-explore
12 -github_repo: npm/cli
13 -github_branch: latest
14 -github_path: docs/content/commands/npm-explore.md
12 + - /cli/commands/explore
13 + - /cli/explore
14 + - /cli/explore.html
15 ---
16
17 ### Synopsis
content/cli/v8/commands/npm-find-dupes.md
+6 -6
@@ -2,16 +2,16 @@
2 title: npm-find-dupes
3 section: 1
4 description: Find duplication in the package tree
5 +github_repo: npm/cli
6 +github_branch: v8
7 +github_path: docs/content/commands/npm-find-dupes.md
8 redirect_from:
6 - - /cli/find-dupes
7 - - /cli/find-dupes.html
8 - - /cli/commands/find-dupes
9 - /cli-commands/find-dupes
10 - /cli-commands/find-dupes.html
11 - /cli-commands/npm-find-dupes
12 -github_repo: npm/cli
13 -github_branch: latest
14 -github_path: docs/content/commands/npm-find-dupes.md
12 + - /cli/commands/find-dupes
13 + - /cli/find-dupes
14 + - /cli/find-dupes.html
15 ---
16
17 ### Synopsis
content/cli/v8/commands/npm-fund.md
+6 -6
@@ -2,16 +2,16 @@
2 title: npm-fund
3 section: 1
4 description: Retrieve funding information
5 +github_repo: npm/cli
6 +github_branch: v8
7 +github_path: docs/content/commands/npm-fund.md
8 redirect_from:
6 - - /cli/fund
7 - - /cli/fund.html
8 - - /cli/commands/fund
9 - /cli-commands/fund
10 - /cli-commands/fund.html
11 - /cli-commands/npm-fund
12 -github_repo: npm/cli
13 -github_branch: latest
14 -github_path: docs/content/commands/npm-fund.md
12 + - /cli/commands/fund
13 + - /cli/fund
14 + - /cli/fund.html
15 ---
16
17 ### Synopsis
content/cli/v8/commands/npm-help-search.md
+6 -6
@@ -2,16 +2,16 @@
2 title: npm-help-search
3 section: 1
4 description: Search npm help documentation
5 +github_repo: npm/cli
6 +github_branch: v8
7 +github_path: docs/content/commands/npm-help-search.md
8 redirect_from:
6 - - /cli/help-search
7 - - /cli/help-search.html
8 - - /cli/commands/help-search
9 - /cli-commands/help-search
10 - /cli-commands/help-search.html
11 - /cli-commands/npm-help-search
12 -github_repo: npm/cli
13 -github_branch: latest
14 -github_path: docs/content/commands/npm-help-search.md
12 + - /cli/commands/help-search
13 + - /cli/help-search
14 + - /cli/help-search.html
15 ---
16
17 ### Synopsis
content/cli/v8/commands/npm-help.md
+6 -6
@@ -2,16 +2,16 @@
2 title: npm-help
3 section: 1
4 description: Get help on npm
5 +github_repo: npm/cli
6 +github_branch: v8
7 +github_path: docs/content/commands/npm-help.md
8 redirect_from:
6 - - /cli/help
7 - - /cli/help.html
8 - - /cli/commands/help
9 - /cli-commands/help
10 - /cli-commands/help.html
11 - /cli-commands/npm-help
12 -github_repo: npm/cli
13 -github_branch: latest
14 -github_path: docs/content/commands/npm-help.md
12 + - /cli/commands/help
13 + - /cli/help
14 + - /cli/help.html
15 ---
16
17 ### Synopsis
content/cli/v8/commands/npm-hook.md
+6 -6
@@ -2,16 +2,16 @@
2 title: npm-hook
3 section: 1
4 description: Manage registry hooks
5 +github_repo: npm/cli
6 +github_branch: v8
7 +github_path: docs/content/commands/npm-hook.md
8 redirect_from:
6 - - /cli/hook
7 - - /cli/hook.html
8 - - /cli/commands/hook
9 - /cli-commands/hook
10 - /cli-commands/hook.html
11 - /cli-commands/npm-hook
12 -github_repo: npm/cli
13 -github_branch: latest
14 -github_path: docs/content/commands/npm-hook.md
12 + - /cli/commands/hook
13 + - /cli/hook
14 + - /cli/hook.html
15 ---
16
17 ### Synopsis
content/cli/v8/commands/npm-init.md
+6 -6
@@ -2,16 +2,16 @@
2 title: npm-init
3 section: 1
4 description: Create a package.json file
5 +github_repo: npm/cli
6 +github_branch: v8
7 +github_path: docs/content/commands/npm-init.md
8 redirect_from:
6 - - /cli/init
7 - - /cli/init.html
8 - - /cli/commands/init
9 - /cli-commands/init
10 - /cli-commands/init.html
11 - /cli-commands/npm-init
12 -github_repo: npm/cli
13 -github_branch: latest
14 -github_path: docs/content/commands/npm-init.md
12 + - /cli/commands/init
13 + - /cli/init
14 + - /cli/init.html
15 ---
16
17 ### Synopsis
content/cli/v8/commands/npm-install-ci-test.md
+6 -6
@@ -2,16 +2,16 @@
2 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
7 +github_path: docs/content/commands/npm-install-ci-test.md
8 redirect_from:
6 - - /cli/install-ci-test
7 - - /cli/install-ci-test.html
8 - - /cli/commands/install-ci-test
9 - /cli-commands/install-ci-test
10 - /cli-commands/install-ci-test.html
11 - /cli-commands/npm-install-ci-test
12 -github_repo: npm/cli
13 -github_branch: latest
14 -github_path: docs/content/commands/npm-install-ci-test.md
12 + - /cli/commands/install-ci-test
13 + - /cli/install-ci-test
14 + - /cli/install-ci-test.html
15 ---
16
17 ### Synopsis
content/cli/v8/commands/npm-install-test.md
+6 -6
@@ -2,16 +2,16 @@
2 title: npm-install-test
3 section: 1
4 description: Install package(s) and run tests
5 +github_repo: npm/cli
6 +github_branch: v8
7 +github_path: docs/content/commands/npm-install-test.md
8 redirect_from:
6 - - /cli/install-test
7 - - /cli/install-test.html
8 - - /cli/commands/install-test
9 - /cli-commands/install-test
10 - /cli-commands/install-test.html
11 - /cli-commands/npm-install-test
12 -github_repo: npm/cli
13 -github_branch: latest
14 -github_path: docs/content/commands/npm-install-test.md
12 + - /cli/commands/install-test
13 + - /cli/install-test
14 + - /cli/install-test.html
15 ---
16
17 ### Synopsis
content/cli/v8/commands/npm-install.md
+6 -6
@@ -2,17 +2,17 @@
2 title: npm-install
3 section: 1
4 description: Install a package
5 +github_repo: npm/cli
6 +github_branch: v8
7 +github_path: docs/content/commands/npm-install.md
8 redirect_from:
6 - - /cli/install
7 - - /cli/install.html
8 - - /cli/commands/install
9 - /cli-commands/install
10 - /cli-commands/install.html
11 - /cli-commands/npm-install
12 - /cli-documentation/install
13 -github_repo: npm/cli
14 -github_branch: latest
15 -github_path: docs/content/commands/npm-install.md
13 + - /cli/commands/install
14 + - /cli/install
15 + - /cli/install.html
16 ---
17
18 ### Synopsis
content/cli/v8/commands/npm-link.md
+6 -6
@@ -2,16 +2,16 @@
2 title: npm-link
3 section: 1
4 description: Symlink a package folder
5 +github_repo: npm/cli
6 +github_branch: v8
7 +github_path: docs/content/commands/npm-link.md
8 redirect_from:
6 - - /cli/link
7 - - /cli/link.html
8 - - /cli/commands/link
9 - /cli-commands/link
10 - /cli-commands/link.html
11 - /cli-commands/npm-link
12 -github_repo: npm/cli
13 -github_branch: latest
14 -github_path: docs/content/commands/npm-link.md
12 + - /cli/commands/link
13 + - /cli/link
14 + - /cli/link.html
15 ---
16
17 ### Synopsis
content/cli/v8/commands/npm-logout.md
+6 -6
@@ -2,16 +2,16 @@
2 title: npm-logout
3 section: 1
4 description: Log out of the registry
5 +github_repo: npm/cli
6 +github_branch: v8
7 +github_path: docs/content/commands/npm-logout.md
8 redirect_from:
6 - - /cli/logout
7 - - /cli/logout.html
8 - - /cli/commands/logout
9 - /cli-commands/logout
10 - /cli-commands/logout.html
11 - /cli-commands/npm-logout
12 -github_repo: npm/cli
13 -github_branch: latest
14 -github_path: docs/content/commands/npm-logout.md
12 + - /cli/commands/logout
13 + - /cli/logout
14 + - /cli/logout.html
15 ---
16
17 ### Synopsis
content/cli/v8/commands/npm-ls.md
+7 -7
@@ -2,16 +2,16 @@
2 title: npm-ls
3 section: 1
4 description: List installed packages
5 +github_repo: npm/cli
6 +github_branch: v8
7 +github_path: docs/content/commands/npm-ls.md
8 redirect_from:
6 - - /cli/ls
7 - - /cli/ls.html
8 - - /cli/commands/ls
9 - /cli-commands/ls
10 - /cli-commands/ls.html
11 - /cli-commands/npm-ls
12 -github_repo: npm/cli
13 -github_branch: latest
14 -github_path: docs/content/commands/npm-ls.md
12 + - /cli/commands/ls
13 + - /cli/ls
14 + - /cli/ls.html
15 ---
16
17 ### Synopsis
@@ -46,7 +46,7 @@ packages will *also* show the paths to the specified packages. For
46 example, running `npm ls promzard` in npm's source tree will show:
47
48 ```bash
49 -npm@8.19.1 /path/to/npm
49 +npm@8.19.2 /path/to/npm
50 └─┬ init-package-json@0.0.4
51 └── promzard@0.1.5
52 ```
content/cli/v8/commands/npm-org.md
+7 -7
@@ -2,16 +2,16 @@
2 title: npm-org
3 section: 1
4 description: Manage orgs
5 +github_repo: npm/cli
6 +github_branch: v8
7 +github_path: docs/content/commands/npm-org.md
8 redirect_from:
6 - - /cli/org
7 - - /cli/org.html
8 - - /cli/commands/org
9 + - /cli-commands/npm-org
10 - /cli-commands/org
11 - /cli-commands/org.html
11 - - /cli-commands/npm-org
12 -github_repo: npm/cli
13 -github_branch: latest
14 -github_path: docs/content/commands/npm-org.md
12 + - /cli/commands/org
13 + - /cli/org
14 + - /cli/org.html
15 ---
16
17 ### Synopsis
content/cli/v8/commands/npm-outdated.md
+7 -7
@@ -2,16 +2,16 @@
2 title: npm-outdated
3 section: 1
4 description: Check for outdated packages
5 +github_repo: npm/cli
6 +github_branch: v8
7 +github_path: docs/content/commands/npm-outdated.md
8 redirect_from:
6 - - /cli/outdated
7 - - /cli/outdated.html
8 - - /cli/commands/outdated
9 + - /cli-commands/npm-outdated
10 - /cli-commands/outdated
11 - /cli-commands/outdated.html
11 - - /cli-commands/npm-outdated
12 -github_repo: npm/cli
13 -github_branch: latest
14 -github_path: docs/content/commands/npm-outdated.md
12 + - /cli/commands/outdated
13 + - /cli/outdated
14 + - /cli/outdated.html
15 ---
16
17 ### Synopsis
content/cli/v8/commands/npm-owner.md
+7 -7
@@ -2,16 +2,16 @@
2 title: npm-owner
3 section: 1
4 description: Manage package owners
5 +github_repo: npm/cli
6 +github_branch: v8
7 +github_path: docs/content/commands/npm-owner.md
8 redirect_from:
6 - - /cli/owner
7 - - /cli/owner.html
8 - - /cli/commands/owner
9 + - /cli-commands/npm-owner
10 - /cli-commands/owner
11 - /cli-commands/owner.html
11 - - /cli-commands/npm-owner
12 -github_repo: npm/cli
13 -github_branch: latest
14 -github_path: docs/content/commands/npm-owner.md
12 + - /cli/commands/owner
13 + - /cli/owner
14 + - /cli/owner.html
15 ---
16
17 ### Synopsis
content/cli/v8/commands/npm-pack.md
+7 -7
@@ -2,16 +2,16 @@
2 title: npm-pack
3 section: 1
4 description: Create a tarball from a package
5 +github_repo: npm/cli
6 +github_branch: v8
7 +github_path: docs/content/commands/npm-pack.md
8 redirect_from:
6 - - /cli/pack
7 - - /cli/pack.html
8 - - /cli/commands/pack
9 + - /cli-commands/npm-pack
10 - /cli-commands/pack
11 - /cli-commands/pack.html
11 - - /cli-commands/npm-pack
12 -github_repo: npm/cli
13 -github_branch: latest
14 -github_path: docs/content/commands/npm-pack.md
12 + - /cli/commands/pack
13 + - /cli/pack
14 + - /cli/pack.html
15 ---
16
17 ### Synopsis
content/cli/v8/commands/npm-ping.md
+7 -7
@@ -2,16 +2,16 @@
2 title: npm-ping
3 section: 1
4 description: Ping npm registry
5 +github_repo: npm/cli
6 +github_branch: v8
7 +github_path: docs/content/commands/npm-ping.md
8 redirect_from:
6 - - /cli/ping
7 - - /cli/ping.html
8 - - /cli/commands/ping
9 + - /cli-commands/npm-ping
10 - /cli-commands/ping
11 - /cli-commands/ping.html
11 - - /cli-commands/npm-ping
12 -github_repo: npm/cli
13 -github_branch: latest
14 -github_path: docs/content/commands/npm-ping.md
12 + - /cli/commands/ping
13 + - /cli/ping
14 + - /cli/ping.html
15 ---
16
17 ### Synopsis
content/cli/v8/commands/npm-pkg.md
+7 -7
@@ -2,16 +2,16 @@
2 title: npm-pkg
3 section: 1
4 description: Manages your package.json
5 +github_repo: npm/cli
6 +github_branch: v8
7 +github_path: docs/content/commands/npm-pkg.md
8 redirect_from:
6 - - /cli/pkg
7 - - /cli/pkg.html
8 - - /cli/commands/pkg
9 + - /cli-commands/npm-pkg
10 - /cli-commands/pkg
11 - /cli-commands/pkg.html
11 - - /cli-commands/npm-pkg
12 -github_repo: npm/cli
13 -github_branch: latest
14 -github_path: docs/content/commands/npm-pkg.md
12 + - /cli/commands/pkg
13 + - /cli/pkg
14 + - /cli/pkg.html
15 ---
16
17 ### Synopsis
content/cli/v8/commands/npm-prefix.md
+7 -7
@@ -2,16 +2,16 @@
2 title: npm-prefix
3 section: 1
4 description: Display prefix
5 +github_repo: npm/cli
6 +github_branch: v8
7 +github_path: docs/content/commands/npm-prefix.md
8 redirect_from:
6 - - /cli/prefix
7 - - /cli/prefix.html
8 - - /cli/commands/prefix
9 + - /cli-commands/npm-prefix
10 - /cli-commands/prefix
11 - /cli-commands/prefix.html
11 - - /cli-commands/npm-prefix
12 -github_repo: npm/cli
13 -github_branch: latest
14 -github_path: docs/content/commands/npm-prefix.md
12 + - /cli/commands/prefix
13 + - /cli/prefix
14 + - /cli/prefix.html
15 ---
16
17 ### Synopsis
content/cli/v8/commands/npm-profile.md
+7 -7
@@ -2,16 +2,16 @@
2 title: npm-profile
3 section: 1
4 description: Change settings on your registry profile
5 +github_repo: npm/cli
6 +github_branch: v8
7 +github_path: docs/content/commands/npm-profile.md
8 redirect_from:
6 - - /cli/profile
7 - - /cli/profile.html
8 - - /cli/commands/profile
9 + - /cli-commands/npm-profile
10 - /cli-commands/profile
11 - /cli-commands/profile.html
11 - - /cli-commands/npm-profile
12 -github_repo: npm/cli
13 -github_branch: latest
14 -github_path: docs/content/commands/npm-profile.md
12 + - /cli/commands/profile
13 + - /cli/profile
14 + - /cli/profile.html
15 ---
16
17 ### Synopsis
content/cli/v8/commands/npm-prune.md
+7 -7
@@ -2,16 +2,16 @@
2 title: npm-prune
3 section: 1
4 description: Remove extraneous packages
5 +github_repo: npm/cli
6 +github_branch: v8
7 +github_path: docs/content/commands/npm-prune.md
8 redirect_from:
6 - - /cli/prune
7 - - /cli/prune.html
8 - - /cli/commands/prune
9 + - /cli-commands/npm-prune
10 - /cli-commands/prune
11 - /cli-commands/prune.html
11 - - /cli-commands/npm-prune
12 -github_repo: npm/cli
13 -github_branch: latest
14 -github_path: docs/content/commands/npm-prune.md
12 + - /cli/commands/prune
13 + - /cli/prune
14 + - /cli/prune.html
15 ---
16
17 ### Synopsis
content/cli/v8/commands/npm-publish.md
+7 -7
@@ -2,16 +2,16 @@
2 title: npm-publish
3 section: 1
4 description: Publish a package
5 +github_repo: npm/cli
6 +github_branch: v8
7 +github_path: docs/content/commands/npm-publish.md
8 redirect_from:
6 - - /cli/publish
7 - - /cli/publish.html
8 - - /cli/commands/publish
9 + - /cli-commands/npm-publish
10 - /cli-commands/publish
11 - /cli-commands/publish.html
11 - - /cli-commands/npm-publish
12 -github_repo: npm/cli
13 -github_branch: latest
14 -github_path: docs/content/commands/npm-publish.md
12 + - /cli/commands/publish
13 + - /cli/publish
14 + - /cli/publish.html
15 ---
16
17 ### Synopsis
content/cli/v8/commands/npm-query.md
+7 -7
@@ -2,16 +2,16 @@
2 title: npm-query
3 section: 1
4 description: Dependency selector query
5 +github_repo: npm/cli
6 +github_branch: v8
7 +github_path: docs/content/commands/npm-query.md
8 redirect_from:
6 - - /cli/query
7 - - /cli/query.html
8 - - /cli/commands/query
9 + - /cli-commands/npm-query
10 - /cli-commands/query
11 - /cli-commands/query.html
11 - - /cli-commands/npm-query
12 -github_repo: npm/cli
13 -github_branch: latest
14 -github_path: docs/content/commands/npm-query.md
12 + - /cli/commands/query
13 + - /cli/query
14 + - /cli/query.html
15 ---
16
17 ### Synopsis
content/cli/v8/commands/npm-rebuild.md
+7 -7
@@ -2,16 +2,16 @@
2 title: npm-rebuild
3 section: 1
4 description: Rebuild a package
5 +github_repo: npm/cli
6 +github_branch: v8
7 +github_path: docs/content/commands/npm-rebuild.md
8 redirect_from:
6 - - /cli/rebuild
7 - - /cli/rebuild.html
8 - - /cli/commands/rebuild
9 + - /cli-commands/npm-rebuild
10 - /cli-commands/rebuild
11 - /cli-commands/rebuild.html
11 - - /cli-commands/npm-rebuild
12 -github_repo: npm/cli
13 -github_branch: latest
14 -github_path: docs/content/commands/npm-rebuild.md
12 + - /cli/commands/rebuild
13 + - /cli/rebuild
14 + - /cli/rebuild.html
15 ---
16
17 ### Synopsis
content/cli/v8/commands/npm-repo.md
+7 -7
@@ -2,16 +2,16 @@
2 title: npm-repo
3 section: 1
4 description: Open package repository page in the browser
5 +github_repo: npm/cli
6 +github_branch: v8
7 +github_path: docs/content/commands/npm-repo.md
8 redirect_from:
6 - - /cli/repo
7 - - /cli/repo.html
8 - - /cli/commands/repo
9 + - /cli-commands/npm-repo
10 - /cli-commands/repo
11 - /cli-commands/repo.html
11 - - /cli-commands/npm-repo
12 -github_repo: npm/cli
13 -github_branch: latest
14 -github_path: docs/content/commands/npm-repo.md
12 + - /cli/commands/repo
13 + - /cli/repo
14 + - /cli/repo.html
15 ---
16
17 ### Synopsis
content/cli/v8/commands/npm-restart.md
+7 -7
@@ -2,16 +2,16 @@
2 title: npm-restart
3 section: 1
4 description: Restart a package
5 +github_repo: npm/cli
6 +github_branch: v8
7 +github_path: docs/content/commands/npm-restart.md
8 redirect_from:
6 - - /cli/restart
7 - - /cli/restart.html
8 - - /cli/commands/restart
9 + - /cli-commands/npm-restart
10 - /cli-commands/restart
11 - /cli-commands/restart.html
11 - - /cli-commands/npm-restart
12 -github_repo: npm/cli
13 -github_branch: latest
14 -github_path: docs/content/commands/npm-restart.md
12 + - /cli/commands/restart
13 + - /cli/restart
14 + - /cli/restart.html
15 ---
16
17 ### Synopsis
content/cli/v8/commands/npm-root.md
+7 -7
@@ -2,16 +2,16 @@
2 title: npm-root
3 section: 1
4 description: Display npm root
5 +github_repo: npm/cli
6 +github_branch: v8
7 +github_path: docs/content/commands/npm-root.md
8 redirect_from:
6 - - /cli/root
7 - - /cli/root.html
8 - - /cli/commands/root
9 + - /cli-commands/npm-root
10 - /cli-commands/root
11 - /cli-commands/root.html
11 - - /cli-commands/npm-root
12 -github_repo: npm/cli
13 -github_branch: latest
14 -github_path: docs/content/commands/npm-root.md
12 + - /cli/commands/root
13 + - /cli/root
14 + - /cli/root.html
15 ---
16
17 ### Synopsis
content/cli/v8/commands/npm-run-script.md
+7 -7
@@ -2,16 +2,16 @@
2 title: npm-run-script
3 section: 1
4 description: Run arbitrary package scripts
5 +github_repo: npm/cli
6 +github_branch: v8
7 +github_path: docs/content/commands/npm-run-script.md
8 redirect_from:
6 - - /cli/run-script
7 - - /cli/run-script.html
8 - - /cli/commands/run-script
9 + - /cli-commands/npm-run-script
10 - /cli-commands/run-script
11 - /cli-commands/run-script.html
11 - - /cli-commands/npm-run-script
12 -github_repo: npm/cli
13 -github_branch: latest
14 -github_path: docs/content/commands/npm-run-script.md
12 + - /cli/commands/run-script
13 + - /cli/run-script
14 + - /cli/run-script.html
15 ---
16
17 ### Synopsis
content/cli/v8/commands/npm-search.md
+7 -7
@@ -2,16 +2,16 @@
2 title: npm-search
3 section: 1
4 description: Search for packages
5 +github_repo: npm/cli
6 +github_branch: v8
7 +github_path: docs/content/commands/npm-search.md
8 redirect_from:
6 - - /cli/search
7 - - /cli/search.html
8 - - /cli/commands/search
9 + - /cli-commands/npm-search
10 - /cli-commands/search
11 - /cli-commands/search.html
11 - - /cli-commands/npm-search
12 -github_repo: npm/cli
13 -github_branch: latest
14 -github_path: docs/content/commands/npm-search.md
12 + - /cli/commands/search
13 + - /cli/search
14 + - /cli/search.html
15 ---
16
17 ### Synopsis
content/cli/v8/commands/npm-set-script.md
+7 -7
@@ -2,16 +2,16 @@
2 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
7 +github_path: docs/content/commands/npm-set-script.md
8 redirect_from:
6 - - /cli/set-script
7 - - /cli/set-script.html
8 - - /cli/commands/set-script
9 + - /cli-commands/npm-set-script
10 - /cli-commands/set-script
11 - /cli-commands/set-script.html
11 - - /cli-commands/npm-set-script
12 -github_repo: npm/cli
13 -github_branch: latest
14 -github_path: docs/content/commands/npm-set-script.md
12 + - /cli/commands/set-script
13 + - /cli/set-script
14 + - /cli/set-script.html
15 ---
16
17 ### Synopsis
content/cli/v8/commands/npm-shrinkwrap.md
+7 -7
@@ -2,16 +2,16 @@
2 title: npm-shrinkwrap
3 section: 1
4 description: Lock down dependency versions for publication
5 +github_repo: npm/cli
6 +github_branch: v8
7 +github_path: docs/content/commands/npm-shrinkwrap.md
8 redirect_from:
6 - - /cli/shrinkwrap
7 - - /cli/shrinkwrap.html
8 - - /cli/commands/shrinkwrap
9 + - /cli-commands/npm-shrinkwrap
10 - /cli-commands/shrinkwrap
11 - /cli-commands/shrinkwrap.html
11 - - /cli-commands/npm-shrinkwrap
12 -github_repo: npm/cli
13 -github_branch: latest
14 -github_path: docs/content/commands/npm-shrinkwrap.md
12 + - /cli/commands/shrinkwrap
13 + - /cli/shrinkwrap
14 + - /cli/shrinkwrap.html
15 ---
16
17 ### Synopsis
content/cli/v8/commands/npm-star.md
+7 -7
@@ -2,16 +2,16 @@
2 title: npm-star
3 section: 1
4 description: Mark your favorite packages
5 +github_repo: npm/cli
6 +github_branch: v8
7 +github_path: docs/content/commands/npm-star.md
8 redirect_from:
6 - - /cli/star
7 - - /cli/star.html
8 - - /cli/commands/star
9 + - /cli-commands/npm-star
10 - /cli-commands/star
11 - /cli-commands/star.html
11 - - /cli-commands/npm-star
12 -github_repo: npm/cli
13 -github_branch: latest
14 -github_path: docs/content/commands/npm-star.md
12 + - /cli/commands/star
13 + - /cli/star
14 + - /cli/star.html
15 ---
16
17 ### Synopsis
content/cli/v8/commands/npm-stars.md
+7 -7
@@ -2,16 +2,16 @@
2 title: npm-stars
3 section: 1
4 description: View packages marked as favorites
5 +github_repo: npm/cli
6 +github_branch: v8
7 +github_path: docs/content/commands/npm-stars.md
8 redirect_from:
6 - - /cli/stars
7 - - /cli/stars.html
8 - - /cli/commands/stars
9 + - /cli-commands/npm-stars
10 - /cli-commands/stars
11 - /cli-commands/stars.html
11 - - /cli-commands/npm-stars
12 -github_repo: npm/cli
13 -github_branch: latest
14 -github_path: docs/content/commands/npm-stars.md
12 + - /cli/commands/stars
13 + - /cli/stars
14 + - /cli/stars.html
15 ---
16
17 ### Synopsis
content/cli/v8/commands/npm-start.md
+7 -7
@@ -2,16 +2,16 @@
2 title: npm-start
3 section: 1
4 description: Start a package
5 +github_repo: npm/cli
6 +github_branch: v8
7 +github_path: docs/content/commands/npm-start.md
8 redirect_from:
6 - - /cli/start
7 - - /cli/start.html
8 - - /cli/commands/start
9 + - /cli-commands/npm-start
10 - /cli-commands/start
11 - /cli-commands/start.html
11 - - /cli-commands/npm-start
12 -github_repo: npm/cli
13 -github_branch: latest
14 -github_path: docs/content/commands/npm-start.md
12 + - /cli/commands/start
13 + - /cli/start
14 + - /cli/start.html
15 ---
16
17 ### Synopsis
content/cli/v8/commands/npm-stop.md
+7 -7
@@ -2,16 +2,16 @@
2 title: npm-stop
3 section: 1
4 description: Stop a package
5 +github_repo: npm/cli
6 +github_branch: v8
7 +github_path: docs/content/commands/npm-stop.md
8 redirect_from:
6 - - /cli/stop
7 - - /cli/stop.html
8 - - /cli/commands/stop
9 + - /cli-commands/npm-stop
10 - /cli-commands/stop
11 - /cli-commands/stop.html
11 - - /cli-commands/npm-stop
12 -github_repo: npm/cli
13 -github_branch: latest
14 -github_path: docs/content/commands/npm-stop.md
12 + - /cli/commands/stop
13 + - /cli/stop
14 + - /cli/stop.html
15 ---
16
17 ### Synopsis
content/cli/v8/commands/npm-team.md
+7 -7
@@ -2,16 +2,16 @@
2 title: npm-team
3 section: 1
4 description: Manage organization teams and team memberships
5 +github_repo: npm/cli
6 +github_branch: v8
7 +github_path: docs/content/commands/npm-team.md
8 redirect_from:
6 - - /cli/team
7 - - /cli/team.html
8 - - /cli/commands/team
9 + - /cli-commands/npm-team
10 - /cli-commands/team
11 - /cli-commands/team.html
11 - - /cli-commands/npm-team
12 -github_repo: npm/cli
13 -github_branch: latest
14 -github_path: docs/content/commands/npm-team.md
12 + - /cli/commands/team
13 + - /cli/team
14 + - /cli/team.html
15 ---
16
17 ### Synopsis
content/cli/v8/commands/npm-test.md
+7 -7
@@ -2,16 +2,16 @@
2 title: npm-test
3 section: 1
4 description: Test a package
5 +github_repo: npm/cli
6 +github_branch: v8
7 +github_path: docs/content/commands/npm-test.md
8 redirect_from:
6 - - /cli/test
7 - - /cli/test.html
8 - - /cli/commands/test
9 + - /cli-commands/npm-test
10 - /cli-commands/test
11 - /cli-commands/test.html
11 - - /cli-commands/npm-test
12 -github_repo: npm/cli
13 -github_branch: latest
14 -github_path: docs/content/commands/npm-test.md
12 + - /cli/commands/test
13 + - /cli/test
14 + - /cli/test.html
15 ---
16
17 ### Synopsis
content/cli/v8/commands/npm-token.md
+7 -7
@@ -2,16 +2,16 @@
2 title: npm-token
3 section: 1
4 description: Manage your authentication tokens
5 +github_repo: npm/cli
6 +github_branch: v8
7 +github_path: docs/content/commands/npm-token.md
8 redirect_from:
6 - - /cli/token
7 - - /cli/token.html
8 - - /cli/commands/token
9 + - /cli-commands/npm-token
10 - /cli-commands/token
11 - /cli-commands/token.html
11 - - /cli-commands/npm-token
12 -github_repo: npm/cli
13 -github_branch: latest
14 -github_path: docs/content/commands/npm-token.md
12 + - /cli/commands/token
13 + - /cli/token
14 + - /cli/token.html
15 ---
16
17 ### Synopsis
content/cli/v8/commands/npm-uninstall.md
+7 -7
@@ -2,16 +2,16 @@
2 title: npm-uninstall
3 section: 1
4 description: Remove a package
5 +github_repo: npm/cli
6 +github_branch: v8
7 +github_path: docs/content/commands/npm-uninstall.md
8 redirect_from:
6 - - /cli/uninstall
7 - - /cli/uninstall.html
8 - - /cli/commands/uninstall
9 + - /cli-commands/npm-uninstall
10 - /cli-commands/uninstall
11 - /cli-commands/uninstall.html
11 - - /cli-commands/npm-uninstall
12 -github_repo: npm/cli
13 -github_branch: latest
14 -github_path: docs/content/commands/npm-uninstall.md
12 + - /cli/commands/uninstall
13 + - /cli/uninstall
14 + - /cli/uninstall.html
15 ---
16
17 ### Synopsis
content/cli/v8/commands/npm-unpublish.md
+7 -7
@@ -2,16 +2,16 @@
2 title: npm-unpublish
3 section: 1
4 description: Remove a package from the registry
5 +github_repo: npm/cli
6 +github_branch: v8
7 +github_path: docs/content/commands/npm-unpublish.md
8 redirect_from:
6 - - /cli/unpublish
7 - - /cli/unpublish.html
8 - - /cli/commands/unpublish
9 + - /cli-commands/npm-unpublish
10 - /cli-commands/unpublish
11 - /cli-commands/unpublish.html
11 - - /cli-commands/npm-unpublish
12 -github_repo: npm/cli
13 -github_branch: latest
14 -github_path: docs/content/commands/npm-unpublish.md
12 + - /cli/commands/unpublish
13 + - /cli/unpublish
14 + - /cli/unpublish.html
15 ---
16
17 ### Synopsis
content/cli/v8/commands/npm-unstar.md
+7 -7
@@ -2,16 +2,16 @@
2 title: npm-unstar
3 section: 1
4 description: Remove an item from your favorite packages
5 +github_repo: npm/cli
6 +github_branch: v8
7 +github_path: docs/content/commands/npm-unstar.md
8 redirect_from:
6 - - /cli/unstar
7 - - /cli/unstar.html
8 - - /cli/commands/unstar
9 + - /cli-commands/npm-unstar
10 - /cli-commands/unstar
11 - /cli-commands/unstar.html
11 - - /cli-commands/npm-unstar
12 -github_repo: npm/cli
13 -github_branch: latest
14 -github_path: docs/content/commands/npm-unstar.md
12 + - /cli/commands/unstar
13 + - /cli/unstar
14 + - /cli/unstar.html
15 ---
16
17 ### Synopsis
content/cli/v8/commands/npm-update.md
+7 -7
@@ -2,16 +2,16 @@
2 title: npm-update
3 section: 1
4 description: Update packages
5 +github_repo: npm/cli
6 +github_branch: v8
7 +github_path: docs/content/commands/npm-update.md
8 redirect_from:
6 - - /cli/update
7 - - /cli/update.html
8 - - /cli/commands/update
9 + - /cli-commands/npm-update
10 - /cli-commands/update
11 - /cli-commands/update.html
11 - - /cli-commands/npm-update
12 -github_repo: npm/cli
13 -github_branch: latest
14 -github_path: docs/content/commands/npm-update.md
12 + - /cli/commands/update
13 + - /cli/update
14 + - /cli/update.html
15 ---
16
17 ### Synopsis
content/cli/v8/commands/npm-version.md
+7 -7
@@ -2,16 +2,16 @@
2 title: npm-version
3 section: 1
4 description: Bump a package version
5 +github_repo: npm/cli
6 +github_branch: v8
7 +github_path: docs/content/commands/npm-version.md
8 redirect_from:
6 - - /cli/version
7 - - /cli/version.html
8 - - /cli/commands/version
9 + - /cli-commands/npm-version
10 - /cli-commands/version
11 - /cli-commands/version.html
11 - - /cli-commands/npm-version
12 -github_repo: npm/cli
13 -github_branch: latest
14 -github_path: docs/content/commands/npm-version.md
12 + - /cli/commands/version
13 + - /cli/version
14 + - /cli/version.html
15 ---
16
17 ### Synopsis
content/cli/v8/commands/npm-view.md
+7 -7
@@ -2,16 +2,16 @@
2 title: npm-view
3 section: 1
4 description: View registry info
5 +github_repo: npm/cli
6 +github_branch: v8
7 +github_path: docs/content/commands/npm-view.md
8 redirect_from:
6 - - /cli/view
7 - - /cli/view.html
8 - - /cli/commands/view
9 + - /cli-commands/npm-view
10 - /cli-commands/view
11 - /cli-commands/view.html
11 - - /cli-commands/npm-view
12 -github_repo: npm/cli
13 -github_branch: latest
14 -github_path: docs/content/commands/npm-view.md
12 + - /cli/commands/view
13 + - /cli/view
14 + - /cli/view.html
15 ---
16
17 ### Synopsis
content/cli/v8/commands/npm-whoami.md
+7 -7
@@ -2,16 +2,16 @@
2 title: npm-whoami
3 section: 1
4 description: Display npm username
5 +github_repo: npm/cli
6 +github_branch: v8
7 +github_path: docs/content/commands/npm-whoami.md
8 redirect_from:
6 - - /cli/whoami
7 - - /cli/whoami.html
8 - - /cli/commands/whoami
9 + - /cli-commands/npm-whoami
10 - /cli-commands/whoami
11 - /cli-commands/whoami.html
11 - - /cli-commands/npm-whoami
12 -github_repo: npm/cli
13 -github_branch: latest
14 -github_path: docs/content/commands/npm-whoami.md
12 + - /cli/commands/whoami
13 + - /cli/whoami
14 + - /cli/whoami.html
15 ---
16
17 ### Synopsis
content/cli/v8/commands/npm.md
+7 -7
@@ -2,15 +2,15 @@
2 title: npm
3 section: 1
4 description: javascript package manager
5 +github_repo: npm/cli
6 +github_branch: v8
7 +github_path: docs/content/commands/npm.md
8 redirect_from:
6 - - /cli/npm
7 - - /cli/npm.html
8 - - /cli/commands/npm
9 - /cli-commands/npm
10 - /cli-commands/npm.html
11 -github_repo: npm/cli
12 -github_branch: latest
13 -github_path: docs/content/commands/npm.md
11 + - /cli/commands/npm
12 + - /cli/npm
13 + - /cli/npm.html
14 ---
15
16 ### Synopsis
@@ -20,7 +20,7 @@ github_path: docs/content/commands/npm.md
20
21 ### Version
22
23 -8.19.1
23 +8.19.2
24
25 ### Description
26
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: latest
6 +github_branch: v8
7 github_path: docs/content/commands/npx.md
8 ---
9
content/cli/v8/configuring-npm/folders.md
+3 -3
@@ -2,14 +2,14 @@
2 title: folders
3 section: 5
4 description: Folder Structures Used by npm
5 +github_repo: npm/cli
6 +github_branch: v8
7 +github_path: docs/content/configuring-npm/folders.md
8 redirect_from:
9 - /configuring-npm/folders
10 - /configuring-npm/folders.html
11 - /files/folders
12 - /files/folders.html
10 -github_repo: npm/cli
11 -github_branch: latest
12 -github_path: docs/content/configuring-npm/folders.md
13 ---
14
15 ### Description
content/cli/v8/configuring-npm/index.mdx
+6 -6
@@ -1,13 +1,13 @@
1 ---
2 +title: Configuring npm
3 +github_repo: npm/cli
4 +github_branch: v8
5 +github_path: docs/nav.yml
6 redirect_from:
3 - - configuring-npm
4 - - /cli/configuring-npm
7 - /cli-documentation/configuring-npm
8 - /cli-documentation/files
7 -github_repo: npm/cli
8 -github_branch: latest
9 -github_path: docs/nav.yml
10 -title: Configuring npm
9 + - /cli/configuring-npm
10 + - /configuring-npm
11 ---
12
13 <Index depth="1" />
content/cli/v8/configuring-npm/install.md
+3 -3
@@ -2,12 +2,12 @@
2 title: install
3 section: 5
4 description: Download and install node and npm
5 +github_repo: npm/cli
6 +github_branch: v8
7 +github_path: docs/content/configuring-npm/install.md
8 redirect_from:
9 - /configuring-npm/install
10 - /configuring-npm/install.html
8 -github_repo: npm/cli
9 -github_branch: latest
10 -github_path: docs/content/configuring-npm/install.md
11 ---
12
13 ### Description
content/cli/v8/configuring-npm/npm-shrinkwrap-json.md
+3 -3
@@ -2,12 +2,12 @@
2 title: npm-shrinkwrap.json
3 section: 5
4 description: A publishable lockfile
5 +github_repo: npm/cli
6 +github_branch: v8
7 +github_path: docs/content/configuring-npm/npm-shrinkwrap-json.md
8 redirect_from:
9 - /configuring-npm/npm-shrinkwrap-json
10 - /configuring-npm/npm-shrinkwrap-json.html
8 -github_repo: npm/cli
9 -github_branch: latest
10 -github_path: docs/content/configuring-npm/npm-shrinkwrap-json.md
11 ---
12
13 ### Description
content/cli/v8/configuring-npm/npmrc.md
+4 -4
@@ -2,15 +2,15 @@
2 title: npmrc
3 section: 5
4 description: The npm config files
5 +github_repo: npm/cli
6 +github_branch: v8
7 +github_path: docs/content/configuring-npm/npmrc.md
8 redirect_from:
9 + - /cli-documentation/files/npmrc
10 - /configuring-npm/npmrc
11 - /configuring-npm/npmrc.html
8 - - /cli-documentation/files/npmrc
12 - /files/npmrc
13 - /files/npmrc.html
11 -github_repo: npm/cli
12 -github_branch: latest
13 -github_path: docs/content/configuring-npm/npmrc.md
14 ---
15
16 ### Description
content/cli/v8/configuring-npm/package-json.md
+3 -3
@@ -2,6 +2,9 @@
2 title: package.json
3 section: 5
4 description: Specifics of npm's package.json handling
5 +github_repo: npm/cli
6 +github_branch: v8
7 +github_path: docs/content/configuring-npm/package-json.md
8 redirect_from:
9 - /configuring-npm/package-json
10 - /configuring-npm/package-json.html
@@ -9,9 +12,6 @@ redirect_from:
12 - /creating-a-packge-json-file
13 - /files/package.json
14 - /files/package.json.html
12 -github_repo: npm/cli
13 -github_branch: latest
14 -github_path: docs/content/configuring-npm/package-json.md
15 ---
16
17 ### Description
content/cli/v8/configuring-npm/package-lock-json.md
+3 -3
@@ -2,14 +2,14 @@
2 title: package-lock.json
3 section: 5
4 description: A manifestation of the manifest
5 +github_repo: npm/cli
6 +github_branch: v8
7 +github_path: docs/content/configuring-npm/package-lock-json.md
8 redirect_from:
9 - /configuring-npm/package-lock-json
10 - /configuring-npm/package-lock-json.html
11 - /files/package-lock.json
12 - /files/package-lock.json.html
10 -github_repo: npm/cli
11 -github_branch: latest
12 -github_path: docs/content/configuring-npm/package-lock-json.md
13 ---
14
15 ### Description
content/cli/v8/index.mdx
+4 -4
@@ -1,11 +1,11 @@
1 ---
2 +title: npm CLI
3 +github_repo: npm/cli
4 +github_branch: v8
5 +github_path: docs/nav.yml
6 redirect_from:
7 - /cli
8 - /cli-documentation
5 -github_repo: npm/cli
6 -github_branch: latest
7 -github_path: docs/nav.yml
8 -title: npm CLI
9 ---
10
11 <Index depth="1" />
content/cli/v8/using-npm/config.md
+5 -5
@@ -2,14 +2,14 @@
2 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
7 +github_path: docs/content/using-npm/config.md
8 redirect_from:
6 - - /using-npm/config
7 - - /using-npm/config.html
9 - /misc/config
10 - /misc/config.html
10 -github_repo: npm/cli
11 -github_branch: latest
12 -github_path: docs/content/using-npm/config.md
11 + - /using-npm/config
12 + - /using-npm/config.html
13 ---
14
15 ### Description
content/cli/v8/using-npm/dependency-selectors.md
+5 -5
@@ -2,14 +2,14 @@
2 title: Dependency Selector Syntax & Querying
3 section: 7
4 description: Dependency Selector Syntax & Querying
5 +github_repo: npm/cli
6 +github_branch: v8
7 +github_path: docs/content/using-npm/dependency-selectors.md
8 redirect_from:
6 - - /using-npm/dependency-selectors
7 - - /using-npm/dependency-selectors.html
9 - /misc/dependency-selectors
10 - /misc/dependency-selectors.html
10 -github_repo: npm/cli
11 -github_branch: latest
12 -github_path: docs/content/using-npm/dependency-selectors.md
11 + - /using-npm/dependency-selectors
12 + - /using-npm/dependency-selectors.html
13 ---
14
15 ### Description
content/cli/v8/using-npm/developers.md
+5 -5
@@ -2,14 +2,14 @@
2 title: developers
3 section: 7
4 description: Developer Guide
5 +github_repo: npm/cli
6 +github_branch: v8
7 +github_path: docs/content/using-npm/developers.md
8 redirect_from:
6 - - /using-npm/developers
7 - - /using-npm/developers.html
9 - /misc/developers
10 - /misc/developers.html
10 -github_repo: npm/cli
11 -github_branch: latest
12 -github_path: docs/content/using-npm/developers.md
11 + - /using-npm/developers
12 + - /using-npm/developers.html
13 ---
14
15 ### Description
content/cli/v8/using-npm/index.mdx
+6 -6
@@ -1,14 +1,14 @@
1 ---
2 +title: Using npm
3 +github_repo: npm/cli
4 +github_branch: v8
5 +github_path: docs/nav.yml
6 redirect_from:
3 - - using-npm
4 - - /cli/using-npm
7 - /cli-documentation/misc
8 - /cli-documentation/using-npm
9 + - /cli/using-npm
10 - /misc/index.html
8 -github_repo: npm/cli
9 -github_branch: latest
10 -github_path: docs/nav.yml
11 -title: Using npm
11 + - /using-npm
12 ---
13
14 <Index depth="1" />
content/cli/v8/using-npm/logging.md
+5 -5
@@ -2,14 +2,14 @@
2 title: Logging
3 section: 7
4 description: Why, What & How We Log
5 +github_repo: npm/cli
6 +github_branch: v8
7 +github_path: docs/content/using-npm/logging.md
8 redirect_from:
6 - - /using-npm/logging
7 - - /using-npm/logging.html
9 - /misc/logging
10 - /misc/logging.html
10 -github_repo: npm/cli
11 -github_branch: latest
12 -github_path: docs/content/using-npm/logging.md
11 + - /using-npm/logging
12 + - /using-npm/logging.html
13 ---
14
15 ### Description
content/cli/v8/using-npm/orgs.md
+5 -5
@@ -2,14 +2,14 @@
2 title: orgs
3 section: 7
4 description: Working with Teams & Orgs
5 +github_repo: npm/cli
6 +github_branch: v8
7 +github_path: docs/content/using-npm/orgs.md
8 redirect_from:
6 - - /using-npm/orgs
7 - - /using-npm/orgs.html
9 - /misc/orgs
10 - /misc/orgs.html
10 -github_repo: npm/cli
11 -github_branch: latest
12 -github_path: docs/content/using-npm/orgs.md
11 + - /using-npm/orgs
12 + - /using-npm/orgs.html
13 ---
14
15 ### Description
content/cli/v8/using-npm/package-spec.md
+5 -5
@@ -2,14 +2,14 @@
2 title: package-spec
3 section: 7
4 description: Package name specifier
5 +github_repo: npm/cli
6 +github_branch: v8
7 +github_path: docs/content/using-npm/package-spec.md
8 redirect_from:
6 - - /using-npm/package-spec
7 - - /using-npm/package-spec.html
9 - /misc/package-spec
10 - /misc/package-spec.html
10 -github_repo: npm/cli
11 -github_branch: latest
12 -github_path: docs/content/using-npm/package-spec.md
11 + - /using-npm/package-spec
12 + - /using-npm/package-spec.html
13 ---
14
15
content/cli/v8/using-npm/registry.md
+5 -5
@@ -2,14 +2,14 @@
2 title: registry
3 section: 7
4 description: The JavaScript Package Registry
5 +github_repo: npm/cli
6 +github_branch: v8
7 +github_path: docs/content/using-npm/registry.md
8 redirect_from:
6 - - /using-npm/registry
7 - - /using-npm/registry.html
9 - /misc/registry
10 - /misc/registry.html
10 -github_repo: npm/cli
11 -github_branch: latest
12 -github_path: docs/content/using-npm/registry.md
11 + - /using-npm/registry
12 + - /using-npm/registry.html
13 ---
14
15 ### Description
content/cli/v8/using-npm/removal.md
+5 -5
@@ -2,16 +2,16 @@
2 title: removal
3 section: 7
4 description: Cleaning the Slate
5 +github_repo: npm/cli
6 +github_branch: v8
7 +github_path: docs/content/using-npm/removal.md
8 redirect_from:
6 - - /using-npm/removal
7 - - /using-npm/removal.html
9 - /misc/removal
10 - /misc/removal.html
11 - /misc/removing-npm
12 - /misc/removing-npm.html
12 -github_repo: npm/cli
13 -github_branch: latest
14 -github_path: docs/content/using-npm/removal.md
13 + - /using-npm/removal
14 + - /using-npm/removal.html
15 ---
16
17 ### Synopsis
content/cli/v8/using-npm/scope.md
+5 -5
@@ -2,15 +2,15 @@
2 title: scope
3 section: 7
4 description: Scoped packages
5 +github_repo: npm/cli
6 +github_branch: v8
7 +github_path: docs/content/using-npm/scope.md
8 redirect_from:
6 - - /using-npm/scope
7 - - /using-npm/scope.html
9 - /misc/scope
10 - /misc/scope.html
11 - /using-npm/npm-scope
11 -github_repo: npm/cli
12 -github_branch: latest
13 -github_path: docs/content/using-npm/scope.md
12 + - /using-npm/scope
13 + - /using-npm/scope.html
14 ---
15
16 ### Description
content/cli/v8/using-npm/scripts.md
+5 -5
@@ -2,14 +2,14 @@
2 title: scripts
3 section: 7
4 description: How npm handles the "scripts" field
5 +github_repo: npm/cli
6 +github_branch: v8
7 +github_path: docs/content/using-npm/scripts.md
8 redirect_from:
6 - - /using-npm/scripts
7 - - /using-npm/scripts.html
9 - /misc/scripts
10 - /misc/scripts.html
10 -github_repo: npm/cli
11 -github_branch: latest
12 -github_path: docs/content/using-npm/scripts.md
11 + - /using-npm/scripts
12 + - /using-npm/scripts.html
13 ---
14
15 ### Description
content/cli/v8/using-npm/workspaces.md
+5 -5
@@ -2,14 +2,14 @@
2 title: workspaces
3 section: 7
4 description: Working with workspaces
5 +github_repo: npm/cli
6 +github_branch: v8
7 +github_path: docs/content/using-npm/workspaces.md
8 redirect_from:
6 - - /using-npm/workspaces
7 - - /using-npm/workspaces.html
9 - /misc/workspaces
10 - /misc/workspaces.html
10 -github_repo: npm/cli
11 -github_branch: latest
12 -github_path: docs/content/using-npm/workspaces.md
11 + - /using-npm/workspaces
12 + - /using-npm/workspaces.html
13 ---
14
15 ### Description