Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: keithamus/sort-package-json
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v3.0.0
Choose a base ref
...
head repository: keithamus/sort-package-json
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v3.1.0
Choose a head ref
  • 9 commits
  • 14 files changed
  • 4 contributors

Commits on Mar 4, 2025

  1. Configuration menu
    Copy the full SHA
    0acfb7d View commit details
    Browse the repository at this point in the history
  2. refactor(cli): use util.parseArgs to parse arguments (#283)

    * feat: use util.parseArgs
    
    * refactor: destrucure argument in parseCLIArguments
    
    This moved argument destructuring to the parseCliArguments function, renames values to options,
    renames positionals to patterns, and moves the try catch to the run function
    
    * refactor: move default pattern to parseCliArgument
    
    * fix: typo isQuiet->shouldBeQuiet
    
    * fix: show help on illegal option value
    
    * test: added tests for illegal argument usage
    
    * feat: add support for --no-check and --no-quiet
    
    * Revert "feat: add support for --no-check and --no-quiet"
    
    This reverts commit 10a6067.
    
    * test: add tests which throw for --no-* arguments
    
    * test: update tests
    
    * test: update snapshots
    
    * style: linting
    
    * refactor: use `Object.hasOwn`
    
    ---------
    
    Co-authored-by: fisker Cheung <lionkay@gmail.com>
    aarondill and fisker authored Mar 4, 2025
    Configuration menu
    Copy the full SHA
    553dfe1 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    26857d5 View commit details
    Browse the repository at this point in the history
  4. chore: update git-hooks-list to v4 (#339)

    * chore: update `git-hooks-list` to v4
    
    * build: fix build script
    fisker authored Mar 4, 2025
    Configuration menu
    Copy the full SHA
    c583a38 View commit details
    Browse the repository at this point in the history
  5. refactor: replace get-stdin with native alternative (#345)

    * refactor: replace `get-stdin` with native alternative
    
    * chore: fix eslint config
    
    * fix: remove `get-stdin`
    fisker authored Mar 4, 2025
    Configuration menu
    Copy the full SHA
    acd24cf View commit details
    Browse the repository at this point in the history
  6. test: switch nyc to c8 (#341)

    fisker authored Mar 4, 2025
    Configuration menu
    Copy the full SHA
    b3be166 View commit details
    Browse the repository at this point in the history
  7. refactor: make CLI async (#286)

    * refactor: make CLI async
    
    * refactor: async
    fisker authored Mar 4, 2025
    Configuration menu
    Copy the full SHA
    6e739b2 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    819cd97 View commit details
    Browse the repository at this point in the history

Commits on Apr 29, 2025

  1. feat: allow sort scripts without run-s (#277)

    * fix: allow sort for run-s
    
    * chore: fix remarks
    
    * Fix check logic
    
    * Update tests
    
    * One more test
    
    * Fix
    
    * Use string literal
    
    * Minor tweak
    
    * test: fix tests
    
    ---------
    
    Co-authored-by: Brody Dingel <bdingel@hy-vee.com>
    Co-authored-by: fisker <lionkay@gmail.com>
    3 people authored Apr 29, 2025
    Configuration menu
    Copy the full SHA
    9f1101b View commit details
    Browse the repository at this point in the history
Loading