From 4a6f9320efbe851646b21a0a10b4bed5cd1e6c60 Mon Sep 17 00:00:00 2001 From: Matthew Peveler Date: Wed, 27 Sep 2023 14:17:27 +0200 Subject: [PATCH] Add arm64 to example supported cpu values (#5756) **What's the problem this PR addresses?** PR adds `arm64` to the list of example architectures for the CPU for the `.yarnrc` config file. I added this given that it's probably one of the most popular things people might add to this field given the existence of the Apple M1/M2 machines, and that I originally stumbled onto this field about just that, and the clickthrough to the node docs was unnecessary if the docs just listed this field. There is precedent in having the `arm64` field listed in the example per the `manifest.json` file: https://github.com/yarnpkg/berry/blob/2634e6ca9c1c63a17b9c2f679ae77f9d852ff5d2/packages/docusaurus/static/configuration/manifest.json#L69-L77 **How did you fix it?** By adding `arm64` to the list of supported CPU architectures. **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. --------- Signed-off-by: Matthew Peveler --- 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 7c4398fcac1d..d97a35c7133e 100644 --- a/packages/docusaurus/static/configuration/yarnrc.json +++ b/packages/docusaurus/static/configuration/yarnrc.json @@ -764,7 +764,7 @@ "type": "string" }, "default": [], - "_exampleItems": ["current", "x64", "ia32"] + "_exampleItems": ["current", "x64", "ia32", "arm64"] }, "libc": { "title": "The list of standard C libraries to cover.",