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',