Closed westrik closed 5 months ago
@samsternatretool what do you think?
@keithamus LGTM from me! @westrik is on my team at Retool and he noticed some subtlety when it comes to sorting pnpm
overrides after we merged my original change.
Some failing tests in Node 12 because of Array#at
. Will need to use an alternative or polyfill.
Some failing tests in Node 12 because of
Array#at
. Will need to use an alternative or polyfill.
updated with alternative
:tada: This PR is included in version 2.10.0 :tada:
The release is available on:
Your semantic-release bot :package::rocket:
https://github.com/keithamus/sort-package-json/pull/313 added the ability to deeply sort a
pnpm
object inpackage.json
. This PR improvespnpm
sorting in the following ways:pnpm.overrides
entries with the same package name using semver rather than alphabeticallyExample:
Before this change:
After this change: