From 7e47ebfb7e119ac9a20ff32fcb215565e0b18f20 Mon Sep 17 00:00:00 2001 From: Zoltan Kochan Date: Tue, 21 Jul 2020 23:30:52 +0300 Subject: [PATCH] fix: --save-workspace-protocol --- .changeset/shaggy-frogs-carry.md | 5 +++++ packages/plugin-commands-installation/src/install.ts | 1 + packages/plugin-commands-installation/src/update/index.ts | 1 + 3 files changed, 7 insertions(+) create mode 100644 .changeset/shaggy-frogs-carry.md diff --git a/.changeset/shaggy-frogs-carry.md b/.changeset/shaggy-frogs-carry.md new file mode 100644 index 0000000000..44244baed9 --- /dev/null +++ b/.changeset/shaggy-frogs-carry.md @@ -0,0 +1,5 @@ +--- +"@pnpm/plugin-commands-installation": patch +--- + +Allow to use `--save-workspace-protocol` with the install/update commands. diff --git a/packages/plugin-commands-installation/src/install.ts b/packages/plugin-commands-installation/src/install.ts index c44862c30d..3c8500c32f 100644 --- a/packages/plugin-commands-installation/src/install.ts +++ b/packages/plugin-commands-installation/src/install.ts @@ -36,6 +36,7 @@ export function rcOptionsTypes () { 'public-hoist-pattern', 'registry', 'reporter', + 'save-workspace-protocol', 'shamefully-flatten', 'shamefully-hoist', 'shared-workspace-lockfile', diff --git a/packages/plugin-commands-installation/src/update/index.ts b/packages/plugin-commands-installation/src/update/index.ts index 2bbb8870e2..8a11a22f93 100644 --- a/packages/plugin-commands-installation/src/update/index.ts +++ b/packages/plugin-commands-installation/src/update/index.ts @@ -43,6 +43,7 @@ export function rcOptionsTypes () { 'reporter', 'save', 'save-exact', + 'save-workspace-protocol', 'shamefully-flatten', 'shamefully-hoist', 'shared-workspace-lockfile',