Skip to content

v3.0.2

Choose a tag to compare

@tillig tillig released this 02 Aug 00:35
· 39 commits to main since this release
4fa5f00

What's Changed

  • Fixed installation as a pre-commit hook so it no longer requires npm config set install-links true. pre-commit installs Node hooks with npm install -g git+file://<clone>, and npm only materializes a git-sourced package into node_modules when the manifest declares one of build, prepare, prepack, install, preinstall, or postinstall. Our lint/test script was named build, which matched that list by name alone, so npm symlinked the package into a temporary git clone that it then deleted — leaving the json-sort executable dangling and the hook failing with Executable `json-sort` not found. The script is now named verify. If you added npm config set install-links true as a workaround, you can remove it.
  • Bump yargs from 18.0.0 to 18.1.0

Full Changelog: v3.0.1...v3.0.2