From b9e78f2dae5df51a527f3cbbcd59ef9194e44c41 Mon Sep 17 00:00:00 2001 From: Raman Aktsisiuk Date: Mon, 3 Oct 2022 19:12:59 +0200 Subject: [PATCH] chore (docs): update note for pnpm (#7163) --- README.md | 2 ++ docs/index.md | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 6d0d261975..fc592d3ab4 100644 --- a/README.md +++ b/README.md @@ -92,6 +92,8 @@ public-hoist-pattern=* shamefully-hoist=true ``` +Note: Setting shamefully-hoist to true is the same as setting public-hoist-pattern to *. + ### Note for Yarn 3 Yarn 3 use PnP by default, but electron-builder still need node-modules(ref: [yarnpkg/berry#4804](https://github.com/yarnpkg/berry/issues/4804#issuecomment-1234407305)). Add configuration in the `.yarnrc.yaml` as follows: diff --git a/docs/index.md b/docs/index.md index 33a011d42f..a852818c48 100644 --- a/docs/index.md +++ b/docs/index.md @@ -47,6 +47,7 @@ public-hoist-pattern=* shamefully-hoist=true ``` +Note: Setting shamefully-hoist to true is the same as setting public-hoist-pattern to *. ## Boilerplates @@ -152,4 +153,4 @@ DEBUG=electron-builder ## Community -[electron-builder](https://electron-builder.zulipchat.com/) on Zulip. \ No newline at end of file +[electron-builder](https://electron-builder.zulipchat.com/) on Zulip.