From 253d50c5503a41809abf5d54e748e1a3345e3263 Mon Sep 17 00:00:00 2001 From: Zoltan Kochan Date: Sat, 13 Apr 2024 18:26:47 +0200 Subject: [PATCH] fix: optional peer dependencies should resolve to optional dependencies (#7918) --- .changeset/tall-bags-chew.md | 5 ++ __utils__/assert-project/package.json | 2 +- __utils__/assert-store/package.json | 2 +- exec/plugin-commands-rebuild/package.json | 2 +- .../package.json | 2 +- package.json | 2 +- .../plugin-commands-patching/package.json | 2 +- pkg-manager/core/package.json | 2 +- .../core/test/install/optionalDependencies.ts | 16 +++- pkg-manager/headless/package.json | 2 +- pkg-manager/package-requester/package.json | 2 +- .../plugin-commands-installation/package.json | 2 +- .../src/resolveDependencies.ts | 7 +- .../src/updateLockfile.ts | 2 +- pnpm-lock.yaml | 74 +++++++++---------- pnpm/package.json | 2 +- releasing/plugin-commands-deploy/package.json | 2 +- .../plugin-commands-publishing/package.json | 2 +- .../plugin-commands-licenses/package.json | 2 +- .../plugin-commands-listing/package.json | 2 +- .../plugin-commands-outdated/package.json | 2 +- store/plugin-commands-store/package.json | 2 +- 22 files changed, 77 insertions(+), 61 deletions(-) create mode 100644 .changeset/tall-bags-chew.md diff --git a/.changeset/tall-bags-chew.md b/.changeset/tall-bags-chew.md new file mode 100644 index 0000000000..24048de187 --- /dev/null +++ b/.changeset/tall-bags-chew.md @@ -0,0 +1,5 @@ +--- +"@pnpm/resolve-dependencies": patch +--- + +Optional peer dependencies should be resolved as optional dependencies [#7918](https://github.com/pnpm/pnpm/pull/7918). diff --git a/__utils__/assert-project/package.json b/__utils__/assert-project/package.json index 875a6b1a32..2f8bed9b58 100644 --- a/__utils__/assert-project/package.json +++ b/__utils__/assert-project/package.json @@ -44,7 +44,7 @@ "@pnpm/constants": "workspace:*", "@pnpm/lockfile-types": "workspace:*", "@pnpm/modules-yaml": "workspace:*", - "@pnpm/registry-mock": "3.29.0", + "@pnpm/registry-mock": "3.30.0", "@pnpm/types": "workspace:*", "is-windows": "^1.0.2", "isexe": "2.0.0", diff --git a/__utils__/assert-store/package.json b/__utils__/assert-store/package.json index 71fe051f6d..e0137cf050 100644 --- a/__utils__/assert-store/package.json +++ b/__utils__/assert-store/package.json @@ -40,7 +40,7 @@ "test": "pnpm pretest && pnpm run compile && jest" }, "dependencies": { - "@pnpm/registry-mock": "3.29.0", + "@pnpm/registry-mock": "3.30.0", "@pnpm/store.cafs": "workspace:*", "path-exists": "^4.0.0" }, diff --git a/exec/plugin-commands-rebuild/package.json b/exec/plugin-commands-rebuild/package.json index 17f8412934..cb53dcb0c2 100644 --- a/exec/plugin-commands-rebuild/package.json +++ b/exec/plugin-commands-rebuild/package.json @@ -35,7 +35,7 @@ "@pnpm/filter-workspace-packages": "workspace:*", "@pnpm/plugin-commands-rebuild": "workspace:*", "@pnpm/prepare": "workspace:*", - "@pnpm/registry-mock": "3.29.0", + "@pnpm/registry-mock": "3.30.0", "@pnpm/test-fixtures": "workspace:*", "@pnpm/test-ipc-server": "workspace:*", "@types/ramda": "0.29.12", diff --git a/exec/plugin-commands-script-runners/package.json b/exec/plugin-commands-script-runners/package.json index 156c3efa73..eb5947ed6c 100644 --- a/exec/plugin-commands-script-runners/package.json +++ b/exec/plugin-commands-script-runners/package.json @@ -34,7 +34,7 @@ "@pnpm/filter-workspace-packages": "workspace:*", "@pnpm/plugin-commands-script-runners": "workspace:*", "@pnpm/prepare": "workspace:*", - "@pnpm/registry-mock": "3.29.0", + "@pnpm/registry-mock": "3.30.0", "@pnpm/test-ipc-server": "workspace:*", "@types/is-windows": "^1.0.2", "@types/ramda": "0.29.12", diff --git a/package.json b/package.json index ec19d8df33..8e76d983bf 100644 --- a/package.json +++ b/package.json @@ -39,7 +39,7 @@ "@commitlint/prompt-cli": "^17.8.1", "@pnpm/eslint-config": "workspace:*", "@pnpm/meta-updater": "1.0.0", - "@pnpm/registry-mock": "3.29.0", + "@pnpm/registry-mock": "3.30.0", "@pnpm/tsconfig": "workspace:*", "@pnpm/worker": "workspace:*", "@types/jest": "^29.5.12", diff --git a/patching/plugin-commands-patching/package.json b/patching/plugin-commands-patching/package.json index 9d21fcf387..fcec67e6b1 100644 --- a/patching/plugin-commands-patching/package.json +++ b/patching/plugin-commands-patching/package.json @@ -34,7 +34,7 @@ "@pnpm/filter-workspace-packages": "workspace:*", "@pnpm/plugin-commands-patching": "workspace:*", "@pnpm/prepare": "workspace:*", - "@pnpm/registry-mock": "3.29.0", + "@pnpm/registry-mock": "3.30.0", "@pnpm/test-fixtures": "workspace:*", "@types/normalize-path": "^3.0.2", "@types/ramda": "0.29.12", diff --git a/pkg-manager/core/package.json b/pkg-manager/core/package.json index 4ac1d003b0..9f51b81c4b 100644 --- a/pkg-manager/core/package.json +++ b/pkg-manager/core/package.json @@ -83,7 +83,7 @@ "@pnpm/lockfile-types": "workspace:*", "@pnpm/package-store": "workspace:*", "@pnpm/prepare": "workspace:*", - "@pnpm/registry-mock": "3.29.0", + "@pnpm/registry-mock": "3.30.0", "@pnpm/store-path": "workspace:*", "@pnpm/store.cafs": "workspace:*", "@pnpm/test-fixtures": "workspace:*", diff --git a/pkg-manager/core/test/install/optionalDependencies.ts b/pkg-manager/core/test/install/optionalDependencies.ts index f62f64ce52..753f277b33 100644 --- a/pkg-manager/core/test/install/optionalDependencies.ts +++ b/pkg-manager/core/test/install/optionalDependencies.ts @@ -23,10 +23,20 @@ test('successfully install optional dependency with subdependencies', async () = test('skip failing optional dependencies', async () => { const project = prepareEmpty() - await addDependenciesToPackage({}, ['pkg-with-failing-optional-dependency@1.0.1'], testDefaults({ fastUnpack: false })) + await addDependenciesToPackage({}, ['@pnpm.e2e/pkg-with-failing-optional-dependency@1.0.0'], testDefaults({ fastUnpack: false })) - const m = project.requireModule('pkg-with-failing-optional-dependency') - expect(m(-1)).toBeTruthy() + project.has('@pnpm.e2e/pkg-with-failing-optional-dependency/package.json') +}) + +test('skip failing optional peer dependencies', async () => { + const project = prepareEmpty() + await addDependenciesToPackage({}, ['@pnpm.e2e/pkg-with-failing-optional-dependency@1.0.0', '@pnpm.e2e/pkg-with-failing-optional-peer@1.0.0'], testDefaults({ fastUnpack: false })) + + const lockfile = project.readLockfile() + expect(lockfile.snapshots['@pnpm.e2e/pkg-with-failing-optional-peer@1.0.0(@pnpm.e2e/pkg-with-failing-postinstall@1.0.0)'].optionalDependencies).toStrictEqual({ + '@pnpm.e2e/pkg-with-failing-postinstall': '1.0.0', + }) + expect(lockfile.snapshots['@pnpm.e2e/pkg-with-failing-postinstall@1.0.0'].optional).toBe(true) }) test('skip non-existing optional dependency', async () => { diff --git a/pkg-manager/headless/package.json b/pkg-manager/headless/package.json index 3ca182d45b..986fb9ecb2 100644 --- a/pkg-manager/headless/package.json +++ b/pkg-manager/headless/package.json @@ -23,7 +23,7 @@ "@pnpm/package-store": "workspace:*", "@pnpm/prepare": "workspace:*", "@pnpm/read-projects-context": "workspace:*", - "@pnpm/registry-mock": "3.29.0", + "@pnpm/registry-mock": "3.30.0", "@pnpm/store-path": "workspace:*", "@pnpm/store.cafs": "workspace:*", "@pnpm/test-fixtures": "workspace:*", diff --git a/pkg-manager/package-requester/package.json b/pkg-manager/package-requester/package.json index 05b847b8b3..a22122fca3 100644 --- a/pkg-manager/package-requester/package.json +++ b/pkg-manager/package-requester/package.json @@ -61,7 +61,7 @@ "@pnpm/client": "workspace:*", "@pnpm/create-cafs-store": "workspace:*", "@pnpm/package-requester": "workspace:*", - "@pnpm/registry-mock": "3.29.0", + "@pnpm/registry-mock": "3.30.0", "@pnpm/test-fixtures": "workspace:*", "@types/normalize-path": "^3.0.2", "@types/ramda": "0.29.12", diff --git a/pkg-manager/plugin-commands-installation/package.json b/pkg-manager/plugin-commands-installation/package.json index 3cf2edf984..959b478d29 100644 --- a/pkg-manager/plugin-commands-installation/package.json +++ b/pkg-manager/plugin-commands-installation/package.json @@ -34,7 +34,7 @@ "@pnpm/modules-yaml": "workspace:*", "@pnpm/plugin-commands-installation": "workspace:*", "@pnpm/prepare": "workspace:*", - "@pnpm/registry-mock": "3.29.0", + "@pnpm/registry-mock": "3.30.0", "@pnpm/test-fixtures": "workspace:*", "@pnpm/test-ipc-server": "workspace:*", "@types/proxyquire": "^1.3.31", diff --git a/pkg-manager/resolve-dependencies/src/resolveDependencies.ts b/pkg-manager/resolve-dependencies/src/resolveDependencies.ts index 27a3440931..bd59b9f8fd 100644 --- a/pkg-manager/resolve-dependencies/src/resolveDependencies.ts +++ b/pkg-manager/resolve-dependencies/src/resolveDependencies.ts @@ -346,16 +346,17 @@ export async function resolveRootDependencies ( } } const nextMissingOptionalPeers: string[] = [] + const optionalDependencies: Record = {} for (const missingOptionalPeerName of missingOptionalPeerNames) { if (ctx.allPreferredVersions![missingOptionalPeerName]) { - dependencies[missingOptionalPeerName] = Object.keys(ctx.allPreferredVersions![missingOptionalPeerName]).join(' || ') + optionalDependencies[missingOptionalPeerName] = Object.keys(ctx.allPreferredVersions![missingOptionalPeerName]).join(' || ') } else { nextMissingOptionalPeers.push(missingOptionalPeerName) } } prevMissingOptionalPeers = nextMissingOptionalPeers - if (!Object.keys(dependencies).length) break - const wantedDependencies = getNonDevWantedDependencies({ dependencies }) + if (!Object.keys(dependencies).length && !Object.keys(optionalDependencies).length) break + const wantedDependencies = getNonDevWantedDependencies({ dependencies, optionalDependencies }) // eslint-disable-next-line no-await-in-loop const resolveDependenciesResult = await resolveDependencies(ctx, preferredVersions, wantedDependencies, { diff --git a/pkg-manager/resolve-dependencies/src/updateLockfile.ts b/pkg-manager/resolve-dependencies/src/updateLockfile.ts index 5d0c9ed2f5..83f3d0be13 100644 --- a/pkg-manager/resolve-dependencies/src/updateLockfile.ts +++ b/pkg-manager/resolve-dependencies/src/updateLockfile.ts @@ -27,7 +27,7 @@ export function updateLockfile ( lockfile.packages = lockfile.packages ?? {} for (const [depPath, depNode] of Object.entries(dependenciesGraph)) { const [updatedOptionalDeps, updatedDeps] = partition( - (child) => depNode.optionalDependencies.has(child.alias), + (child) => depNode.optionalDependencies.has(child.alias) || depNode.peerDependencies[child.alias]?.optional === true, Object.entries(depNode.children).map(([alias, depPath]) => ({ alias, depPath })) ) lockfile.packages[depPath] = toLockfileDependency(depNode, { diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index a6bda23ef4..c2eb918e30 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -72,8 +72,8 @@ importers: specifier: 1.0.0 version: 1.0.0 '@pnpm/registry-mock': - specifier: 3.29.0 - version: 3.29.0(encoding@0.1.13)(typanion@3.14.0) + specifier: 3.30.0 + version: 3.30.0(encoding@0.1.13)(typanion@3.14.0) '@pnpm/tsconfig': specifier: workspace:* version: link:__utils__/tsconfig @@ -190,8 +190,8 @@ importers: specifier: workspace:* version: link:../../pkg-manager/modules-yaml '@pnpm/registry-mock': - specifier: 3.29.0 - version: 3.29.0(encoding@0.1.13)(typanion@3.14.0) + specifier: 3.30.0 + version: 3.30.0(encoding@0.1.13)(typanion@3.14.0) '@pnpm/types': specifier: workspace:* version: link:../../packages/types @@ -224,8 +224,8 @@ importers: __utils__/assert-store: dependencies: '@pnpm/registry-mock': - specifier: 3.29.0 - version: 3.29.0(encoding@0.1.13)(typanion@3.14.0) + specifier: 3.30.0 + version: 3.30.0(encoding@0.1.13)(typanion@3.14.0) '@pnpm/store.cafs': specifier: workspace:* version: link:../../store/cafs @@ -1334,8 +1334,8 @@ importers: specifier: workspace:* version: link:../../__utils__/prepare '@pnpm/registry-mock': - specifier: 3.29.0 - version: 3.29.0(encoding@0.1.13)(typanion@3.14.0) + specifier: 3.30.0 + version: 3.30.0(encoding@0.1.13)(typanion@3.14.0) '@pnpm/test-fixtures': specifier: workspace:* version: link:../../__utils__/test-fixtures @@ -1461,8 +1461,8 @@ importers: specifier: workspace:* version: link:../../__utils__/prepare '@pnpm/registry-mock': - specifier: 3.29.0 - version: 3.29.0(encoding@0.1.13)(typanion@3.14.0) + specifier: 3.30.0 + version: 3.30.0(encoding@0.1.13)(typanion@3.14.0) '@pnpm/test-ipc-server': specifier: workspace:* version: link:../../__utils__/test-ipc-server @@ -2982,8 +2982,8 @@ importers: specifier: workspace:* version: link:../../__utils__/prepare '@pnpm/registry-mock': - specifier: 3.29.0 - version: 3.29.0(encoding@0.1.13)(typanion@3.14.0) + specifier: 3.30.0 + version: 3.30.0(encoding@0.1.13)(typanion@3.14.0) '@pnpm/test-fixtures': specifier: workspace:* version: link:../../__utils__/test-fixtures @@ -3248,8 +3248,8 @@ importers: specifier: workspace:* version: link:../../__utils__/prepare '@pnpm/registry-mock': - specifier: 3.29.0 - version: 3.29.0(encoding@0.1.13)(typanion@3.14.0) + specifier: 3.30.0 + version: 3.30.0(encoding@0.1.13)(typanion@3.14.0) '@pnpm/store-path': specifier: workspace:* version: link:../../store/store-path @@ -3530,8 +3530,8 @@ importers: specifier: workspace:* version: link:../read-projects-context '@pnpm/registry-mock': - specifier: 3.29.0 - version: 3.29.0(encoding@0.1.13)(typanion@3.14.0) + specifier: 3.30.0 + version: 3.30.0(encoding@0.1.13)(typanion@3.14.0) '@pnpm/store-path': specifier: workspace:* version: link:../../store/store-path @@ -3887,8 +3887,8 @@ importers: specifier: workspace:* version: 'link:' '@pnpm/registry-mock': - specifier: 3.29.0 - version: 3.29.0(encoding@0.1.13)(typanion@3.14.0) + specifier: 3.30.0 + version: 3.30.0(encoding@0.1.13)(typanion@3.14.0) '@pnpm/test-fixtures': specifier: workspace:* version: link:../../__utils__/test-fixtures @@ -4080,8 +4080,8 @@ importers: specifier: workspace:* version: link:../../__utils__/prepare '@pnpm/registry-mock': - specifier: 3.29.0 - version: 3.29.0(encoding@0.1.13)(typanion@3.14.0) + specifier: 3.30.0 + version: 3.30.0(encoding@0.1.13)(typanion@3.14.0) '@pnpm/test-fixtures': specifier: workspace:* version: link:../../__utils__/test-fixtures @@ -4646,8 +4646,8 @@ importers: specifier: workspace:* version: link:../pkg-manifest/read-project-manifest '@pnpm/registry-mock': - specifier: 3.29.0 - version: 3.29.0(encoding@0.1.13)(typanion@3.14.0) + specifier: 3.30.0 + version: 3.30.0(encoding@0.1.13)(typanion@3.14.0) '@pnpm/run-npm': specifier: workspace:* version: link:../exec/run-npm @@ -4906,8 +4906,8 @@ importers: specifier: workspace:* version: link:../../__utils__/prepare '@pnpm/registry-mock': - specifier: 3.29.0 - version: 3.29.0(encoding@0.1.13)(typanion@3.14.0) + specifier: 3.30.0 + version: 3.30.0(encoding@0.1.13)(typanion@3.14.0) releasing/plugin-commands-publishing: dependencies: @@ -5006,8 +5006,8 @@ importers: specifier: workspace:* version: link:../../__utils__/prepare '@pnpm/registry-mock': - specifier: 3.29.0 - version: 3.29.0(encoding@0.1.13)(typanion@3.14.0) + specifier: 3.30.0 + version: 3.30.0(encoding@0.1.13)(typanion@3.14.0) '@pnpm/test-ipc-server': specifier: workspace:* version: link:../../__utils__/test-ipc-server @@ -5575,8 +5575,8 @@ importers: specifier: workspace:* version: link:../../pkg-manifest/read-package-json '@pnpm/registry-mock': - specifier: 3.29.0 - version: 3.29.0(encoding@0.1.13)(typanion@3.14.0) + specifier: 3.30.0 + version: 3.30.0(encoding@0.1.13)(typanion@3.14.0) '@pnpm/test-fixtures': specifier: workspace:* version: link:../../__utils__/test-fixtures @@ -5642,8 +5642,8 @@ importers: specifier: workspace:* version: link:../../__utils__/prepare '@pnpm/registry-mock': - specifier: 3.29.0 - version: 3.29.0(encoding@0.1.13)(typanion@3.14.0) + specifier: 3.30.0 + version: 3.30.0(encoding@0.1.13)(typanion@3.14.0) '@types/ramda': specifier: 0.29.12 version: 0.29.12 @@ -5736,8 +5736,8 @@ importers: specifier: workspace:* version: link:../../__utils__/prepare '@pnpm/registry-mock': - specifier: 3.29.0 - version: 3.29.0(encoding@0.1.13)(typanion@3.14.0) + specifier: 3.30.0 + version: 3.30.0(encoding@0.1.13)(typanion@3.14.0) '@pnpm/test-fixtures': specifier: workspace:* version: link:../../__utils__/test-fixtures @@ -6074,8 +6074,8 @@ importers: specifier: workspace:* version: link:../../__utils__/prepare '@pnpm/registry-mock': - specifier: 3.29.0 - version: 3.29.0(encoding@0.1.13)(typanion@3.14.0) + specifier: 3.30.0 + version: 3.30.0(encoding@0.1.13)(typanion@3.14.0) '@types/archy': specifier: 0.0.33 version: 0.0.33 @@ -7636,8 +7636,8 @@ packages: resolution: {integrity: sha512-MDXuQpYFbabSXzAnqP7VIQqBx5Z1fzOhzB/3YmIXJ+tE7Wue//IR3itMSYlWeaFLo1G5PCJklM2zBdvggRw1nw==} engines: {node: '>=16.14'} - '@pnpm/registry-mock@3.29.0': - resolution: {integrity: sha512-MAgpX6PmfD9OurBk32IsIzyNK965qMLk1T+9dYww8laK48sg67+2JETucutk9fjZsFcYWuOhrxonk4tUa8M9QQ==} + '@pnpm/registry-mock@3.30.0': + resolution: {integrity: sha512-uUyFwjY7SsnuJLp/LRGDV5A2ZZ4Sj4IyOifkY8XHqSqaJ1rrt3klDPmVVSt8fj4HNJmsaEFaUtxd0fpYr+cpTg==} engines: {node: '>=10.13'} hasBin: true @@ -14405,7 +14405,7 @@ snapshots: sort-keys: 4.2.0 strip-bom: 4.0.0 - '@pnpm/registry-mock@3.29.0(encoding@0.1.13)(typanion@3.14.0)': + '@pnpm/registry-mock@3.30.0(encoding@0.1.13)(typanion@3.14.0)': dependencies: anonymous-npm-registry-client: 0.2.0 execa: 5.1.1 diff --git a/pnpm/package.json b/pnpm/package.json index a7752d51f5..675d90b39e 100644 --- a/pnpm/package.json +++ b/pnpm/package.json @@ -65,7 +65,7 @@ "@pnpm/prepare": "workspace:*", "@pnpm/read-package-json": "workspace:*", "@pnpm/read-project-manifest": "workspace:*", - "@pnpm/registry-mock": "3.29.0", + "@pnpm/registry-mock": "3.30.0", "@pnpm/run-npm": "workspace:*", "@pnpm/tabtab": "^0.5.2", "@pnpm/test-fixtures": "workspace:*", diff --git a/releasing/plugin-commands-deploy/package.json b/releasing/plugin-commands-deploy/package.json index ccf6d4c00c..0646b17780 100644 --- a/releasing/plugin-commands-deploy/package.json +++ b/releasing/plugin-commands-deploy/package.json @@ -39,7 +39,7 @@ "@pnpm/lockfile-types": "workspace:*", "@pnpm/plugin-commands-deploy": "workspace:*", "@pnpm/prepare": "workspace:*", - "@pnpm/registry-mock": "3.29.0" + "@pnpm/registry-mock": "3.30.0" }, "dependencies": { "@pnpm/cli-utils": "workspace:*", diff --git a/releasing/plugin-commands-publishing/package.json b/releasing/plugin-commands-publishing/package.json index f4bd1be9cd..b3fd2f96d6 100644 --- a/releasing/plugin-commands-publishing/package.json +++ b/releasing/plugin-commands-publishing/package.json @@ -35,7 +35,7 @@ "@pnpm/filter-workspace-packages": "workspace:*", "@pnpm/plugin-commands-publishing": "workspace:*", "@pnpm/prepare": "workspace:*", - "@pnpm/registry-mock": "3.29.0", + "@pnpm/registry-mock": "3.30.0", "@pnpm/test-ipc-server": "workspace:*", "@types/cross-spawn": "^6.0.6", "@types/is-windows": "^1.0.2", diff --git a/reviewing/plugin-commands-licenses/package.json b/reviewing/plugin-commands-licenses/package.json index 524b92a962..3bf7f66894 100644 --- a/reviewing/plugin-commands-licenses/package.json +++ b/reviewing/plugin-commands-licenses/package.json @@ -36,7 +36,7 @@ "@pnpm/plugin-commands-licenses": "workspace:*", "@pnpm/prepare": "workspace:*", "@pnpm/read-package-json": "workspace:*", - "@pnpm/registry-mock": "3.29.0", + "@pnpm/registry-mock": "3.30.0", "@pnpm/test-fixtures": "workspace:*", "@types/ramda": "0.29.12", "@types/semver": "7.5.3", diff --git a/reviewing/plugin-commands-listing/package.json b/reviewing/plugin-commands-listing/package.json index 82457e5a2c..2e92863623 100644 --- a/reviewing/plugin-commands-listing/package.json +++ b/reviewing/plugin-commands-listing/package.json @@ -34,7 +34,7 @@ "@pnpm/plugin-commands-installation": "workspace:*", "@pnpm/plugin-commands-listing": "workspace:*", "@pnpm/prepare": "workspace:*", - "@pnpm/registry-mock": "3.29.0", + "@pnpm/registry-mock": "3.30.0", "@types/ramda": "0.29.12", "execa": "npm:safe-execa@0.1.2", "strip-ansi": "^6.0.1", diff --git a/reviewing/plugin-commands-outdated/package.json b/reviewing/plugin-commands-outdated/package.json index 3855b8061c..bf63f15528 100644 --- a/reviewing/plugin-commands-outdated/package.json +++ b/reviewing/plugin-commands-outdated/package.json @@ -35,7 +35,7 @@ "@pnpm/plugin-commands-installation": "workspace:*", "@pnpm/plugin-commands-outdated": "workspace:*", "@pnpm/prepare": "workspace:*", - "@pnpm/registry-mock": "3.29.0", + "@pnpm/registry-mock": "3.30.0", "@pnpm/test-fixtures": "workspace:*", "@types/ramda": "0.29.12", "@types/wrap-ansi": "8.0.2", diff --git a/store/plugin-commands-store/package.json b/store/plugin-commands-store/package.json index aea7a9e26b..15bc09338d 100644 --- a/store/plugin-commands-store/package.json +++ b/store/plugin-commands-store/package.json @@ -35,7 +35,7 @@ "@pnpm/lockfile-file": "workspace:*", "@pnpm/plugin-commands-store": "workspace:*", "@pnpm/prepare": "workspace:*", - "@pnpm/registry-mock": "3.29.0", + "@pnpm/registry-mock": "3.30.0", "@types/archy": "0.0.33", "@types/ramda": "0.29.12", "@types/ssri": "^7.1.5",