Files
pnpm/packages/core/src
Kam Figy 88289a42c9 fix(core): prevent duplication of peerDependencyRules in the lockfile (#4576)
If a workspace has a global peerDependencyRule that is applied by more
than one package, the lockfile could contain duplicate copies
of the patched range. For example react-dom might have
`peerDependencies: 17.0.2 | 17 | 17 | 17 | 17` in the lockfile.

This causes merge conflicts as package updates seem to regularly change
the number of duplicates, causing lockfile conflicts.

The fix checks if the same widened range has already been appended,
and ignores subsequent duplicates if they exist.
2022-04-15 20:06:11 +03:00
..
2021-10-17 02:43:29 +03:00
2021-10-17 02:43:29 +03:00
2021-10-17 02:43:29 +03:00
2022-02-05 13:23:58 +02:00
2021-10-17 02:43:29 +03:00
2021-10-17 02:43:29 +03:00