Skip to content

Commit

Permalink
docs(yarnrc): move compressionLevel 'mixed' enum value to the end (#5846
Browse files Browse the repository at this point in the history
)

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

Refs: #5843

**How did you fix it?**

Moves compressionLevel `mixed` enum value to the end as:
* `mixed` is no longer the default in [email protected]
* `mixed` is a variant of 9. Visually keeping it closer to 9 is more
intuitive.

**Checklist**
- [x] I have read the [Contributing
Guide](https://yarnpkg.com/advanced/contributing).
- [x] 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 24, 2023
1 parent 2ce0270 commit ffa193c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/docusaurus/static/configuration/yarnrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@
"type": ["number", "string"],
"title": "Compression level employed for zip archives",
"description": "Possible values go from `0` (\"no compression, faster\") to `9` (\"heavy compression, slower\"). The value `mixed` is a variant of `9` where files are stored uncompressed if the gzip overhead would exceed the size gain.\n\nThe default is `0`, which tends to be significantly faster to install. Projects using zero-installs are advised to keep it this way, as experiments showed that Git stores uncompressed package archives more efficiently than gzip-compressed ones.",
"enum": ["mixed", 0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
"enum": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, "mixed"],
"default": "mixed"
},
"constraintsPath": {
Expand Down

0 comments on commit ffa193c

Please sign in to comment.