- Check
/usr/local/bin/nodeif we cannot find the binaries in the PATH.
- Corrected the
hookfile so it doesn't attempt to run your index.js but ours instead.
- Create symlinks instead of a copying the hook file so we can depend on modules.
- More readable output messages.
- Lookup git and npm using
which. - Allow nodejs, node and iojs to call the the hook.
- Refactored the way options can be passed in to pre-commit, we're now allowing objects.
- The refactor made it possible to test most of the internals so we now have 90%+ coverage.
- And the list goes on.
- Added missing uninstall hook to remove and restore old scripts.
- Added support for installing custom commit templates using
pre-commit.commit-template
- Fixes regression introduced in 0.0.6
- Also silence
npmoutput when the silent flag has been given.
- Allow silencing of the pre-commit output by setting a
precommit.silent: truein yourpackage.json
- Added a better error message when you fucked up your
package.json. - Only run tests if there are changes.
- Improved output formatting.
- Added compatibility for Node.js 0.6 by falling back to path.existsSync.
- Fixed a typo in the output, see #1.
- Use
spawninstead ofexecand give custom file descriptors. This way we can output color and have more control over the process.
- Initial release.