Skip to content

Commit

Permalink
docs(Yarn): Document need for darwin architecture
Browse files Browse the repository at this point in the history
The Yarn licenses plugin requires that all dependencies are installed.
  • Loading branch information
Kurt-von-Laven committed Sep 5, 2023
1 parent 7fba534 commit 1174eb6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .yarnrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 1174eb6

Please sign in to comment.