+
Skip to content

Tags: ghooks-org/ghooks

Tags

v1.3.2

Toggle v1.3.2's commit message
fix(hook): windows path escapes (#115)

v1.3.1

Toggle v1.3.1's commit message
fix(hook): handle node module path os agnostically (#114)

* fix(hook): detemine hook name path separator agnostically

Former `hook` name determination was a simple regex using *nix style path separator `/`, using `path.basename`, the required last part gets returned, independent of an os specific path separator.

* fix(hook): correctly escape rendered `node_modules_path` string

v1.3.0

Toggle v1.3.0's commit message
feat(hook): Support setups with CWD below Git project root (#112)

* add node_modules_path variable to template

* surround template variable in quotes

* testing

* pass node_modules path instead of __dirname, change hook() to use regex

* test(hook): Modify package name resolution to fit.

* fix(hook): try to resolve simple `ghooks` first

The former default way to resolve the package (default project setup: cwd === project dir), fixes own `npm install` after cloneing the repo.

* test(hook): test default and cwd !== project dir setups

* docs(readme): advise to not install globally

Fixes #108

v1.2.4

Toggle v1.2.4's commit message
fix(install): fail gracefully on occasional npm@2.15 hickups (#109)

* fix(install): fail gracefully on occasional npm@2.15 hickups

* docs(install): use `npm explore` to rerun install script

... as well as mention the original issue on GitHub.

v1.2.3

Toggle v1.2.3's commit message
fix(deps): update path-exists to previous version

Closes #107

v1.2.2

Toggle v1.2.2's commit message
fix(install): instruct to use npm explore in non-git repo warning (#105)

v1.2.1

Toggle v1.2.1's commit message
fix(hook): Don't exit with non-zero code on error (#80)

v1.2.0

Toggle v1.2.0's commit message
feat(hook): Use applying git config to take submodules and worktrees …

…into account

* feat(hook): Use applying git config to take submodules and worktrees into account

Closes #66 & closes #46

* test(coverage): Take lib/hook.template.raw into account for code coverage

* test(install): Ensure code coverage for 100% of all branches

Even in the improbable case, that a .git entry on the filesystem is present, but neither a
directory, nor a file.

* refactor(hook): Remove unnecessary IIFE & normalize return value

v1.1.1

Toggle v1.1.1's commit message
Merge pull request #64 from gtramontina/fix-build

Build package prior to installing

v1.1.0

Toggle v1.1.0's commit message

Unverified

This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
Merge pull request #62 from ta2edchimp/follow-up/julien-f-patch-1

Follow up to #50: Exit with error if ghooks is not found
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载