Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions cli-cache.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"v11": "f7da341322c2f860156e8144b208583596504479",
"v8": "aa8fff11cdab94fff1a2160ee5241f5f4632e96b",
"v9": "64763a341e7aa5b456e696f956759bf9b3440dc1",
"v10": "a3041941586b6fb8ed7403fe3c24d81138a96005",
"v8": "aa8fff11cdab94fff1a2160ee5241f5f4632e96b"
"v11": "f7da341322c2f860156e8144b208583596504479"
}
11 changes: 11 additions & 0 deletions cli/lib/cache.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,17 @@ class CacheVersionSha {
}

async save() {
const sortedCache = {}
Object.keys(this.cache)
.sort((a, b) => {
const numA = parseInt(a.replace('v', ''), 10)
const numB = parseInt(b.replace('v', ''), 10)
return numA - numB
})
.forEach(key => {
sortedCache[key] = this.cache[key]
})
this.cache = sortedCache
await fs.writeFile(this.path, JSON.stringify(this.cache, null, 2))
return this
}
Expand Down
13 changes: 0 additions & 13 deletions content/cli/v10/commands/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -5,26 +5,13 @@ github_repo: npm/cli
github_branch: release/v10
github_path: docs/lib/content/nav.yml
redirect_from:
- /cli-commands
- /cli-commands/index
- /cli-documentation/cli
- /cli-documentation/cli-commands
- /cli-documentation/cli-commands/index
- /cli-documentation/commands
- /cli-documentation/commands/index
- /cli-documentation/v10/cli-commands
- /cli-documentation/v10/cli-commands/index
- /cli-documentation/v10/commands
- /cli-documentation/v10/commands/index
- /cli/cli-commands
- /cli/cli-commands/index
- /cli/commands
- /cli/commands/index
- /cli/v10/cli-commands
- /cli/v10/cli-commands/index
- /cli/v10/commands/index
- /commands
- /commands/index
---

<Index depth="1" />
16 changes: 0 additions & 16 deletions content/cli/v10/commands/npm-access.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -6,33 +6,17 @@ github_repo: npm/cli
github_branch: release/v10
github_path: docs/lib/content/commands/npm-access.md
redirect_from:
- /cli-commands/access
- /cli-commands/npm-access
- /cli-documentation/access
- /cli-documentation/cli-commands/access
- /cli-documentation/cli-commands/npm-access
- /cli-documentation/commands/access
- /cli-documentation/commands/npm-access
- /cli-documentation/npm-access
- /cli-documentation/v10/access
- /cli-documentation/v10/cli-commands/access
- /cli-documentation/v10/cli-commands/npm-access
- /cli-documentation/v10/commands/access
- /cli-documentation/v10/commands/npm-access
- /cli-documentation/v10/npm-access
- /cli/access
- /cli/cli-commands/access
- /cli/cli-commands/npm-access
- /cli/commands/access
- /cli/commands/npm-access
- /cli/npm-access
- /cli/v10/access
- /cli/v10/cli-commands/access
- /cli/v10/cli-commands/npm-access
- /cli/v10/commands/access
- /cli/v10/npm-access
- /commands/access
- /commands/npm-access
---

### Synopsis
Expand Down
16 changes: 0 additions & 16 deletions content/cli/v10/commands/npm-adduser.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -6,33 +6,17 @@ github_repo: npm/cli
github_branch: release/v10
github_path: docs/lib/content/commands/npm-adduser.md
redirect_from:
- /cli-commands/adduser
- /cli-commands/npm-adduser
- /cli-documentation/adduser
- /cli-documentation/cli-commands/adduser
- /cli-documentation/cli-commands/npm-adduser
- /cli-documentation/commands/adduser
- /cli-documentation/commands/npm-adduser
- /cli-documentation/npm-adduser
- /cli-documentation/v10/adduser
- /cli-documentation/v10/cli-commands/adduser
- /cli-documentation/v10/cli-commands/npm-adduser
- /cli-documentation/v10/commands/adduser
- /cli-documentation/v10/commands/npm-adduser
- /cli-documentation/v10/npm-adduser
- /cli/adduser
- /cli/cli-commands/adduser
- /cli/cli-commands/npm-adduser
- /cli/commands/adduser
- /cli/commands/npm-adduser
- /cli/npm-adduser
- /cli/v10/adduser
- /cli/v10/cli-commands/adduser
- /cli/v10/cli-commands/npm-adduser
- /cli/v10/commands/adduser
- /cli/v10/npm-adduser
- /commands/adduser
- /commands/npm-adduser
---

### Synopsis
Expand Down
16 changes: 0 additions & 16 deletions content/cli/v10/commands/npm-audit.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -6,33 +6,17 @@ github_repo: npm/cli
github_branch: release/v10
github_path: docs/lib/content/commands/npm-audit.md
redirect_from:
- /cli-commands/audit
- /cli-commands/npm-audit
- /cli-documentation/audit
- /cli-documentation/cli-commands/audit
- /cli-documentation/cli-commands/npm-audit
- /cli-documentation/commands/audit
- /cli-documentation/commands/npm-audit
- /cli-documentation/npm-audit
- /cli-documentation/v10/audit
- /cli-documentation/v10/cli-commands/audit
- /cli-documentation/v10/cli-commands/npm-audit
- /cli-documentation/v10/commands/audit
- /cli-documentation/v10/commands/npm-audit
- /cli-documentation/v10/npm-audit
- /cli/audit
- /cli/cli-commands/audit
- /cli/cli-commands/npm-audit
- /cli/commands/audit
- /cli/commands/npm-audit
- /cli/npm-audit
- /cli/v10/audit
- /cli/v10/cli-commands/audit
- /cli/v10/cli-commands/npm-audit
- /cli/v10/commands/audit
- /cli/v10/npm-audit
- /commands/audit
- /commands/npm-audit
---

### Synopsis
Expand Down
16 changes: 0 additions & 16 deletions content/cli/v10/commands/npm-bugs.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -6,33 +6,17 @@ github_repo: npm/cli
github_branch: release/v10
github_path: docs/lib/content/commands/npm-bugs.md
redirect_from:
- /cli-commands/bugs
- /cli-commands/npm-bugs
- /cli-documentation/bugs
- /cli-documentation/cli-commands/bugs
- /cli-documentation/cli-commands/npm-bugs
- /cli-documentation/commands/bugs
- /cli-documentation/commands/npm-bugs
- /cli-documentation/npm-bugs
- /cli-documentation/v10/bugs
- /cli-documentation/v10/cli-commands/bugs
- /cli-documentation/v10/cli-commands/npm-bugs
- /cli-documentation/v10/commands/bugs
- /cli-documentation/v10/commands/npm-bugs
- /cli-documentation/v10/npm-bugs
- /cli/bugs
- /cli/cli-commands/bugs
- /cli/cli-commands/npm-bugs
- /cli/commands/bugs
- /cli/commands/npm-bugs
- /cli/npm-bugs
- /cli/v10/bugs
- /cli/v10/cli-commands/bugs
- /cli/v10/cli-commands/npm-bugs
- /cli/v10/commands/bugs
- /cli/v10/npm-bugs
- /commands/bugs
- /commands/npm-bugs
---

### Synopsis
Expand Down
16 changes: 0 additions & 16 deletions content/cli/v10/commands/npm-cache.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -6,33 +6,17 @@ github_repo: npm/cli
github_branch: release/v10
github_path: docs/lib/content/commands/npm-cache.md
redirect_from:
- /cli-commands/cache
- /cli-commands/npm-cache
- /cli-documentation/cache
- /cli-documentation/cli-commands/cache
- /cli-documentation/cli-commands/npm-cache
- /cli-documentation/commands/cache
- /cli-documentation/commands/npm-cache
- /cli-documentation/npm-cache
- /cli-documentation/v10/cache
- /cli-documentation/v10/cli-commands/cache
- /cli-documentation/v10/cli-commands/npm-cache
- /cli-documentation/v10/commands/cache
- /cli-documentation/v10/commands/npm-cache
- /cli-documentation/v10/npm-cache
- /cli/cache
- /cli/cli-commands/cache
- /cli/cli-commands/npm-cache
- /cli/commands/cache
- /cli/commands/npm-cache
- /cli/npm-cache
- /cli/v10/cache
- /cli/v10/cli-commands/cache
- /cli/v10/cli-commands/npm-cache
- /cli/v10/commands/cache
- /cli/v10/npm-cache
- /commands/cache
- /commands/npm-cache
---

### Synopsis
Expand Down
16 changes: 0 additions & 16 deletions content/cli/v10/commands/npm-ci.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -6,33 +6,17 @@ github_repo: npm/cli
github_branch: release/v10
github_path: docs/lib/content/commands/npm-ci.md
redirect_from:
- /cli-commands/ci
- /cli-commands/npm-ci
- /cli-documentation/ci
- /cli-documentation/cli-commands/ci
- /cli-documentation/cli-commands/npm-ci
- /cli-documentation/commands/ci
- /cli-documentation/commands/npm-ci
- /cli-documentation/npm-ci
- /cli-documentation/v10/ci
- /cli-documentation/v10/cli-commands/ci
- /cli-documentation/v10/cli-commands/npm-ci
- /cli-documentation/v10/commands/ci
- /cli-documentation/v10/commands/npm-ci
- /cli-documentation/v10/npm-ci
- /cli/ci
- /cli/cli-commands/ci
- /cli/cli-commands/npm-ci
- /cli/commands/ci
- /cli/commands/npm-ci
- /cli/npm-ci
- /cli/v10/ci
- /cli/v10/cli-commands/ci
- /cli/v10/cli-commands/npm-ci
- /cli/v10/commands/ci
- /cli/v10/npm-ci
- /commands/ci
- /commands/npm-ci
---

### Synopsis
Expand Down
16 changes: 0 additions & 16 deletions content/cli/v10/commands/npm-completion.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -6,33 +6,17 @@ github_repo: npm/cli
github_branch: release/v10
github_path: docs/lib/content/commands/npm-completion.md
redirect_from:
- /cli-commands/completion
- /cli-commands/npm-completion
- /cli-documentation/cli-commands/completion
- /cli-documentation/cli-commands/npm-completion
- /cli-documentation/commands/completion
- /cli-documentation/commands/npm-completion
- /cli-documentation/completion
- /cli-documentation/npm-completion
- /cli-documentation/v10/cli-commands/completion
- /cli-documentation/v10/cli-commands/npm-completion
- /cli-documentation/v10/commands/completion
- /cli-documentation/v10/commands/npm-completion
- /cli-documentation/v10/completion
- /cli-documentation/v10/npm-completion
- /cli/cli-commands/completion
- /cli/cli-commands/npm-completion
- /cli/commands/completion
- /cli/commands/npm-completion
- /cli/completion
- /cli/npm-completion
- /cli/v10/cli-commands/completion
- /cli/v10/cli-commands/npm-completion
- /cli/v10/commands/completion
- /cli/v10/completion
- /cli/v10/npm-completion
- /commands/completion
- /commands/npm-completion
---

### Synopsis
Expand Down
16 changes: 0 additions & 16 deletions content/cli/v10/commands/npm-config.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -6,33 +6,17 @@ github_repo: npm/cli
github_branch: release/v10
github_path: docs/lib/content/commands/npm-config.md
redirect_from:
- /cli-commands/config
- /cli-commands/npm-config
- /cli-documentation/cli-commands/config
- /cli-documentation/cli-commands/npm-config
- /cli-documentation/commands/config
- /cli-documentation/commands/npm-config
- /cli-documentation/config
- /cli-documentation/npm-config
- /cli-documentation/v10/cli-commands/config
- /cli-documentation/v10/cli-commands/npm-config
- /cli-documentation/v10/commands/config
- /cli-documentation/v10/commands/npm-config
- /cli-documentation/v10/config
- /cli-documentation/v10/npm-config
- /cli/cli-commands/config
- /cli/cli-commands/npm-config
- /cli/commands/config
- /cli/commands/npm-config
- /cli/config
- /cli/npm-config
- /cli/v10/cli-commands/config
- /cli/v10/cli-commands/npm-config
- /cli/v10/commands/config
- /cli/v10/config
- /cli/v10/npm-config
- /commands/config
- /commands/npm-config
---

### Synopsis
Expand Down
16 changes: 0 additions & 16 deletions content/cli/v10/commands/npm-dedupe.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -6,33 +6,17 @@ github_repo: npm/cli
github_branch: release/v10
github_path: docs/lib/content/commands/npm-dedupe.md
redirect_from:
- /cli-commands/dedupe
- /cli-commands/npm-dedupe
- /cli-documentation/cli-commands/dedupe
- /cli-documentation/cli-commands/npm-dedupe
- /cli-documentation/commands/dedupe
- /cli-documentation/commands/npm-dedupe
- /cli-documentation/dedupe
- /cli-documentation/npm-dedupe
- /cli-documentation/v10/cli-commands/dedupe
- /cli-documentation/v10/cli-commands/npm-dedupe
- /cli-documentation/v10/commands/dedupe
- /cli-documentation/v10/commands/npm-dedupe
- /cli-documentation/v10/dedupe
- /cli-documentation/v10/npm-dedupe
- /cli/cli-commands/dedupe
- /cli/cli-commands/npm-dedupe
- /cli/commands/dedupe
- /cli/commands/npm-dedupe
- /cli/dedupe
- /cli/npm-dedupe
- /cli/v10/cli-commands/dedupe
- /cli/v10/cli-commands/npm-dedupe
- /cli/v10/commands/dedupe
- /cli/v10/dedupe
- /cli/v10/npm-dedupe
- /commands/dedupe
- /commands/npm-dedupe
---

### Synopsis
Expand Down
16 changes: 0 additions & 16 deletions content/cli/v10/commands/npm-deprecate.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -6,33 +6,17 @@ github_repo: npm/cli
github_branch: release/v10
github_path: docs/lib/content/commands/npm-deprecate.md
redirect_from:
- /cli-commands/deprecate
- /cli-commands/npm-deprecate
- /cli-documentation/cli-commands/deprecate
- /cli-documentation/cli-commands/npm-deprecate
- /cli-documentation/commands/deprecate
- /cli-documentation/commands/npm-deprecate
- /cli-documentation/deprecate
- /cli-documentation/npm-deprecate
- /cli-documentation/v10/cli-commands/deprecate
- /cli-documentation/v10/cli-commands/npm-deprecate
- /cli-documentation/v10/commands/deprecate
- /cli-documentation/v10/commands/npm-deprecate
- /cli-documentation/v10/deprecate
- /cli-documentation/v10/npm-deprecate
- /cli/cli-commands/deprecate
- /cli/cli-commands/npm-deprecate
- /cli/commands/deprecate
- /cli/commands/npm-deprecate
- /cli/deprecate
- /cli/npm-deprecate
- /cli/v10/cli-commands/deprecate
- /cli/v10/cli-commands/npm-deprecate
- /cli/v10/commands/deprecate
- /cli/v10/deprecate
- /cli/v10/npm-deprecate
- /commands/deprecate
- /commands/npm-deprecate
---

### Synopsis
Expand Down
Loading
Loading