Skip to content

Commit

Permalink
docs(yarnrc): remove invalid 'auto' option for cacheMigrationMode (#5857
Browse files Browse the repository at this point in the history
)

**What's the problem this PR addresses?**

Fixes: #5856

**How did you fix it?**

Removes invalid 'auto' option for cacheMigrationMode yarn config

**Checklist**
- [x] I have read the [Contributing
Guide](https://yarnpkg.com/advanced/contributing).
- [ ] I have set the packages that need to be released for my changes to
be effective.
- [x] I will check that all automated PR checks pass before the PR gets
reviewed.
  • Loading branch information
trivikr authored Oct 25, 2023
1 parent 8b22c34 commit dfe9eb4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/docusaurus/static/configuration/yarnrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@
"_package": "@yarnpkg/core",
"type": "string",
"title": "Behavior that Yarn should follow when it detects that a cache entry is outdated.",
"description": "Whether or not a cache entry is outdated depends on whether it has been built and checksumed by an earlier release of Yarn, or under a different compression settings. Possible behaviors are:\n\n- If `required-only`, it'll keep using the file as-is, unless the version that generated it was decidedly too old.\n- If `match-spec`, it'll also rebuild the file if the compression level has changed.\n- If `always`, it'll always regenerate the cache files so they use the current cache version.\n- If `auto` (the default), it'll act as either `required-only` or `always` depending on whether `enableGlobalCache` is enabled (with `always` being selected in that case).",
"enum": ["required-only", "match-spec", "always", "auto"],
"default": "auto"
"description": "Whether or not a cache entry is outdated depends on whether it has been built and checksumed by an earlier release of Yarn, or under a different compression settings. Possible behaviors are:\n\n- If `required-only`, it'll keep using the file as-is, unless the version that generated it was decidedly too old.\n- If `match-spec`, it'll also rebuild the file if the compression level has changed.\n- If `always` (the default), it'll always regenerate the cache files so they use the current cache version.",
"enum": ["required-only", "match-spec", "always"],
"default": "always"
},
"httpsCaFilePath": {
"_package": "@yarnpkg/core",
Expand Down

0 comments on commit dfe9eb4

Please sign in to comment.