Skip to content

Commit

Permalink
fix: don't fail when removing a dep from a workspace that has patches
Browse files Browse the repository at this point in the history
  • Loading branch information
zkochan committed Jul 2, 2022
1 parent f5621a4 commit ff70619
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions .changeset/pink-moons-return.md
@@ -0,0 +1,6 @@
---
"@pnpm/core": patch
"pnpm": patch
---

`pnpm remove <pkg>` should not fail in a workspace that has patches [#4954](https://github.com/pnpm/pnpm/issues/4954#issuecomment-1172858634)
2 changes: 1 addition & 1 deletion packages/core/src/install/extendInstallOptions.ts
Expand Up @@ -149,7 +149,7 @@ const defaults = async (opts: InstallOptions) => {
preferFrozenLockfile: true,
preferWorkspacePackages: false,
preserveWorkspaceProtocol: true,
pruneLockfileImporters: true,
pruneLockfileImporters: false,
pruneStore: false,
rawConfig: {},
registries: DEFAULT_REGISTRIES,
Expand Down

0 comments on commit ff70619

Please sign in to comment.