Skip to content

Commit

Permalink
docs: remove link to cache command (#5637)
Browse files Browse the repository at this point in the history
The cache command itself contains this config making it a circular reference
  • Loading branch information
wraithgar committed Oct 4, 2022
1 parent 8b072dc commit 97c32ed
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 9 deletions.
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
3 changes: 1 addition & 2 deletions tap-snapshots/test/lib/utils/config/definitions.js.test.cjs
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
3 changes: 1 addition & 2 deletions tap-snapshots/test/lib/utils/config/describe-all.js.test.cjs
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

0 comments on commit 97c32ed

Please sign in to comment.