Skip to content

Releases: oxc-project/sort-package-json

v0.0.12

09 Mar 06:32
Immutable release. Only release title and notes can be modified.
ec9e506

Choose a tag to compare

Fixed

  • preserve exports and imports key order (#69)

v0.0.11

04 Mar 09:17
Immutable release. Only release title and notes can be modified.
eda24dd

Choose a tag to compare

Added

  • support vite-staged and stage-tool key ordering (#63)

Other

  • reduce allocations in sorting pipeline (#65)

v0.0.10

23 Jan 04:48
Immutable release. Only release title and notes can be modified.
44af9b7

Choose a tag to compare

Fixed

  • preserve files array order for negation patterns (#43)

v0.0.9

20 Jan 05:48
Immutable release. Only release title and notes can be modified.
0c54c69

Choose a tag to compare

Other

  • Add UTF-8 BOM support for package.json files (#39)

v0.0.8

07 Jan 00:41
Immutable release. Only release title and notes can be modified.
a6abc58

Choose a tag to compare

Other

  • Fix size-limit field being emptied during package.json sorting (#29)

Fixed

  • Fix size-limit field being emptied when sorting - the field now preserves its array of configuration objects instead of filtering them out

v0.0.7

29 Dec 10:40
Immutable release. Only release title and notes can be modified.
07e58c1

Choose a tag to compare

Added

  • add sort_scripts option to sort scripts field alphabetically (#22)

v0.0.6

26 Dec 09:15
Immutable release. Only release title and notes can be modified.
648783f

Choose a tag to compare

Fixed

  • do not sort contributors nor maintainers because they can prioritized

Other

  • rewrite integration tests with comprehensive fixture
  • Replace field ordering list with annotated JSONC example
  • Update README with library API usage and example runner
  • Add explicit compatibility note to README (#17)
  • Condense 'Why Not simd-json?' section to bullet points

v0.0.5

17 Dec 13:56
Immutable release. Only release title and notes can be modified.
25958f1

Choose a tag to compare

Other

  • Optimize more functions with in-place mutations
  • Optimize array sorting with in-place operations (#14)
  • Use unstable sort for better performance (#13)
  • Sort files field with natural path sorting (#10)

v0.0.4

17 Dec 09:26
Immutable release. Only release title and notes can be modified.
df42e80

Choose a tag to compare

Fixed

  • Keep exports paths order (#5)

Other

  • Add 12 commonly-used fields from npm ecosystem analysis (#8)
  • Improve field grouping with clearer logical organization (#7)

v0.0.3

10 Dec 06:06
Immutable release. Only release title and notes can be modified.
bd41e4c

Choose a tag to compare

Other

  • Move main.rs to examples and make ignore a dev dependency
  • Replace cloning with ownership and mutation
  • fmt