json-sort-cli

Runs JSON stable sort on specified files via CLI or as a pre-commit hook.

OTHER License

Downloads
780
Stars
2

Bot releases are visible (Hide)

json-sort-cli - v2.0.1 Latest Release

Published by tillig about 2 months ago

What's Changed

  • Removed local .npmrc to allow pre-commit to restore packages based on user/system settings.
  • Bump eslint-plugin-jsdoc from 48.7.0 to 50.2.2.
  • Bump eslint-plugin-mocha from 10.4.3 to 10.5.0.
  • Bump mocha from 10.6.0 to 10.7.3.
  • Bump eslint from 9.7.0 to 9.9.1.

Full Changelog: https://github.com/tillig/json-sort-cli/compare/v2.0.0...v2.0.1

json-sort-cli - v2.0.0

Published by tillig 3 months ago

Breaking

Increased minimum Node engine to 20.

What's Changed

  • Bump eslint from 8.57.0 to 9.7.0.
  • Bump eslint-plugin-jsdoc from 48.2.1 to 48.7.0.
  • Bump eslint-plugin-mocha from 10.4.2 to 10.4.3.
  • Bump glob from 10.3.10 to 11.0.0

Full Changelog: https://github.com/tillig/json-sort-cli/compare/v1.1.1...v2.0.0

json-sort-cli - v1.1.1

Published by tillig 7 months ago

What's Changed

  • Fixed handling of --indent-size to correctly parse numeric inputs. (#39)
  • Bump json-stable-stringify from 1.0.2 to 1.1.1.
  • Bump diff from 5.1.0 to 5.2.0.

Full Changelog: https://github.com/tillig/json-sort-cli/compare/v1.1.0...v1.1.1

json-sort-cli -

Published by tillig 11 months ago

Add diff to determine if the sort changes are whitespace or structural. Console log messages will say what type of change is happening. This helps determine what is seen as "changed" if, visually, it's not obvious what happened.

json-sort-cli - First release!

Published by tillig about 1 year ago

First release! Check out the README for usage info.