Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: remove link to cache command #5637

Merged
merged 1 commit into from
Oct 4, 2022
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
2 changes: 1 addition & 1 deletion docs/content/commands/npm-cache.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ verify`.
* Default: Windows: `%LocalAppData%\npm-cache`, Posix: `~/.npm`
* Type: Path

The location of npm's cache directory.
The location of npm's cache directory.

<!-- automatically generated, do not edit manually -->
<!-- see lib/utils/config/definitions.js -->
Expand Down
3 changes: 1 addition & 2 deletions docs/content/using-npm/config.md
Original file line number Diff line number Diff line change
Expand Up @@ -307,8 +307,7 @@ See also the `strict-ssl` config.
* Default: Windows: `%LocalAppData%\npm-cache`, Posix: `~/.npm`
* Type: Path

The location of npm's cache directory. See [`npm
cache`](/commands/npm-cache)
The location of npm's cache directory.

<!-- automatically generated, do not edit manually -->
<!-- see lib/utils/config/definitions.js -->
Expand Down
3 changes: 1 addition & 2 deletions lib/utils/config/definitions.js
Original file line number Diff line number Diff line change
Expand Up @@ -326,8 +326,7 @@ define('cache', {
`,
type: path,
description: `
The location of npm's cache directory. See [\`npm
cache\`](/commands/npm-cache)
The location of npm's cache directory.
`,
flatten (key, obj, flatOptions) {
flatOptions.cache = join(obj.cache, '_cacache')
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -336,8 +336,7 @@ exports[`test/lib/utils/config/definitions.js TAP > config description for cache
* Default: Windows: \`%LocalAppData%\\npm-cache\`, Posix: \`~/.npm\`
* Type: Path

The location of npm's cache directory. See [\`npm
cache\`](/commands/npm-cache)
The location of npm's cache directory.
`

exports[`test/lib/utils/config/definitions.js TAP > config description for cache-max 1`] = `
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -180,8 +180,7 @@ See also the \`strict-ssl\` config.
* Default: Windows: \`%LocalAppData%\\npm-cache\`, Posix: \`~/.npm\`
* Type: Path

The location of npm's cache directory. See [\`npm
cache\`](/commands/npm-cache)
The location of npm's cache directory.

<!-- automatically generated, do not edit manually -->
<!-- see lib/utils/config/definitions.js -->
Expand Down