v3.0.2
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 withnpm install -g git+file://<clone>, and npm only materializes a git-sourced package intonode_moduleswhen the manifest declares one ofbuild,prepare,prepack,install,preinstall, orpostinstall. Our lint/test script was namedbuild, which matched that list by name alone, so npm symlinked the package into a temporary git clone that it then deleted — leaving thejson-sortexecutable dangling and the hook failing withExecutable `json-sort` not found. The script is now namedverify. If you addednpm config set install-links trueas a workaround, you can remove it. - Bump yargs from 18.0.0 to 18.1.0
Full Changelog: v3.0.1...v3.0.2