From 2ce027000ac5b25e0f17ece27a5575d9af0f03db Mon Sep 17 00:00:00 2001 From: Trivikram Kamat <16024985+trivikr@users.noreply.github.com> Date: Tue, 24 Oct 2023 09:02:39 -0700 Subject: [PATCH] docs(yarnrc): set default compressionLevel to '0' (#5844) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit **What's the problem this PR addresses?** Closes: https://github.com/yarnpkg/berry/issues/5843 Refs: https://github.com/yarnpkg/berry/pull/5526 **How did you fix it?** Updated the default compressionLevel to '0' in documentation. **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. --------- Co-authored-by: Maƫl Nison --- packages/docusaurus/static/configuration/yarnrc.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/docusaurus/static/configuration/yarnrc.json b/packages/docusaurus/static/configuration/yarnrc.json index 2e61080cb9b8..7c0e38d0bf3d 100644 --- a/packages/docusaurus/static/configuration/yarnrc.json +++ b/packages/docusaurus/static/configuration/yarnrc.json @@ -82,7 +82,7 @@ "_package": "@yarnpkg/core", "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 default is 'mixed', which is a variant of 9 where files may be stored uncompressed if the builtin libzip heuristic thinks it will lead to a more sensible result.", + "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], "default": "mixed" },