diff --git a/.changeset/bold-words-give.md b/.changeset/bold-words-give.md new file mode 100644 index 0000000000..561d9e5329 --- /dev/null +++ b/.changeset/bold-words-give.md @@ -0,0 +1,8 @@ +--- +"@pnpm/plugin-commands-installation": patch +"@pnpm/plugin-commands-deploy": patch +pnpm: patch +--- + +When the [`enableGlobalVirtualStore`](https://pnpm.io/settings#enableglobalvirtualstore) option is set, the `pnpm deploy` command would incorrectly create symlinks to the global virtual store. To keep the deploy directory self-contained, `pnpm deploy` now ignores this setting and always creates a localized virtual store within the deploy directory. + diff --git a/pkg-manager/plugin-commands-installation/src/install.ts b/pkg-manager/plugin-commands-installation/src/install.ts index 6688b37732..3a7ac2889d 100644 --- a/pkg-manager/plugin-commands-installation/src/install.ts +++ b/pkg-manager/plugin-commands-installation/src/install.ts @@ -285,6 +285,7 @@ export type InstallCommandOptions = Pick