From 0a9653096d9b831fddb44c61b12ea75638a76839 Mon Sep 17 00:00:00 2001 From: Kurt von Laven Date: Mon, 4 Sep 2023 16:39:01 -0700 Subject: [PATCH] docs(Yarn): Document need for darwin architecture The Yarn licenses plugin requires that all dependencies are installed. --- .yarnrc.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.yarnrc.yml b/.yarnrc.yml index 3b5d427b..193c8263 100644 --- a/.yarnrc.yml +++ b/.yarnrc.yml @@ -9,9 +9,11 @@ plugins: spec: "https://raw.githubusercontent.com/mhassan1/yarn-plugin-licenses/v0.12.0/bundles/@yarnpkg/plugin-licenses.js" supportedArchitectures: + # The Yarn licenses plugin needs all dependencies installed in order to list + # their licenses without crashing. os: - current - - darwin + - darwin # for fsevents, a MacOS-only transitive dependency of Jest # Keep in sync with package.json. yarnPath: .yarn/releases/yarn-3.6.3.cjs