Skip to content

Releases: keithamus/sort-package-json

v1.23.1

07 Nov 10:49
Compare
Choose a tag to compare

1.23.1 (2019-11-07)

Bug Fixes

  • package: update detect-indent to version 6.0.0 (daab31d)

v1.23.0

07 Nov 10:46
Compare
Choose a tag to compare

1.23.0 (2019-11-07)

Features

  • Cross-platform support for glob paths (#74) (a940e93)

v1.22.1

26 Mar 15:37
Compare
Choose a tag to compare

1.22.1 (2019-03-26)

Bug Fixes

  • publish TypeScript typings in "files" attribute and reference them in package.json "typings" attribute (#60) (89820d2)

v1.22.0

25 Mar 14:02
Compare
Choose a tag to compare

1.22.0 (2019-03-25)

Features

  • add index.d.ts typings for TypeScript (#59) (00c348f)

v1.21.0

03 Mar 20:51
Compare
Choose a tag to compare

1.21.0 (2019-03-03)

Features

  • Retain Windows newlines after sorting package.json strings (#58) (7a953c7)

v1.20.0

01 Mar 17:29
Compare
Choose a tag to compare

1.20.0 (2019-03-01)

Features

  • add several bundle entries (umd:main, unpkg, source), and flat for yarn (#57) (262ef2d)

v1.19.0

04 Feb 09:02
Compare
Choose a tag to compare

1.19.0 (2019-02-04)

Features

  • allow custom ordering of package.json properties (#55) (28e5558)

v1.18.0

24 Jan 15:32
Compare
Choose a tag to compare

1.18.0 (2019-01-24)

Features

v1.17.1

17 Dec 12:39
Compare
Choose a tag to compare

1.17.1 (2018-12-17)

Bug Fixes

  • colocate browser field with other entrypoints (#51) (4c88174)

v1.17.0

03 Dec 21:14
Compare
Choose a tag to compare
feat: Keep the "pre" when sorting certain scripts (#50)

* feat: Keep the "pre" when sorting certain scripts

Before, "prepare" was being sorted as if it was named "pare" and
"prettier" was being sorted as if it was named "ttier". These scripts
are now sorted as is. This is done via a blacklist, so other similar
scripts could be added later.

* feat: Only omit "pre" or "post" based on a whitelist

The whitelist contains the default scripts defined in
https://docs.npmjs.com/misc/scripts plus any scripts in the package.json
that appear as a suffix of another script in the same package.json.