Skip to content

Tags: keithamus/sort-package-json

Tags

v3.0.0

Verified

This commit was signed with the committer’s verified signature.
keithamus Keith Cirkel
chore!: drop support for Node < 20

BREAKING CHANGE:

This drops support for Node v12.x - v18.x. The minimum supported
version is now v20.x. If you're using one of these versions please
consider upgrading your Node distribution, or continue to use
sort-package-json@2.15.1.

v2.15.1

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
fix: revert sort pre/post scripts with colon together (#332) (#333)

v2.15.0

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
feat: support yarn's `stableVersion` (#335)

* feat: support yarn's `stableVersion`

When using yarn to manage prereleases, yarn will add a `stableVersion`
key which represents the last stable version before the prerelease.
This change co-locates it with the `version` entry

* chore: mark stableVersion as yarn specific

---------

Co-authored-by: George Taveras <gtaveras@theknotww.com>

v2.14.0

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
feat: add support for vscode l10n (#331)

* feat: add support for vscode l10n

* test: update snapshot

v2.13.0

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
feat: sort pre/post scripts with colon together (#330)

* feat: sort pre/post scripts with colon together

* test: add test case

v2.12.0

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
feat: added support for ignore pattern to cli (#329)

* feat: added support for ignore pattern to cli

- defaults to node_modules

resolves #328

* feat: added support for ignore pattern to cli

- CR Fixes

resolves #328

* feat: added support for ignore pattern to cli

- Fix snapshots

resolves #328

* feat: added support for ignore pattern to cli

- Little fix for ordering of parameters

resolves #328

---------

Co-authored-by: Michał Grzegorzewski <michal@ria-develop.pl>

v2.11.0

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
feat: add dual CJS/ESM release support (#316)

* fix: expose `SortPackageJson` type

* feat: add cjs bundle

* chore: fix lint

* chore: sort .gitignore

v2.10.2

Partially verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
We cannot verify signatures from co-authors, and some of the co-authors attributed to this commit require their commits to be signed.
fix: use locale-independent comparison for sorting of overrides (#327)

* fix: use locale-independent comparison for sorting of overrides

* Update index.js

Co-authored-by: Keith Cirkel <keithamus@users.noreply.github.com>

---------

Co-authored-by: Jan Novotny <jan.novotny@oriflame.com>
Co-authored-by: Keith Cirkel <keithamus@users.noreply.github.com>

v2.10.1

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
chore: update release workflow, drop global npm install

v2.10.0

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
feat: improve pnpm sorting (#314)

* feat: improve sorting of pnpm.overrides

* fix: replace .at with .pop

* feat: handle parent/child overrides ('pkgA>pkgB')

* chore: simplify