husky
Advanced tools
Comparing version 0.14.0-0 to 0.14.0-1
@@ -0,0 +0,0 @@ 'use strict' |
@@ -0,0 +0,0 @@ 'use strict' |
@@ -0,0 +0,0 @@ 'use strict' |
@@ -0,0 +0,0 @@ # CHANGELOG |
@@ -0,0 +0,0 @@ # Hooks |
{ | ||
"name": "husky", | ||
"version": "0.14.0-0", | ||
"version": "0.14.0-1", | ||
"description": "Prevents bad commit or push (git hooks, pre-commit/precommit, pre-push/prepush, post-merge/postmerge and all that stuff...)", | ||
@@ -5,0 +5,0 @@ "engines": { |
@@ -0,0 +0,0 @@ # husky [![](http://img.shields.io/npm/dm/husky.svg?style=flat)](https://www.npmjs.org/package/husky) [![npm version](https://badge.fury.io/js/husky.svg)](https://www.npmjs.com/package/husky) [![Build Status](https://travis-ci.org/typicode/husky.svg?branch=master)](https://travis-ci.org/typicode/husky) |
@@ -0,0 +0,0 @@ [ |
@@ -0,0 +0,0 @@ 'use strict' |
@@ -0,0 +0,0 @@ 'use strict' |
@@ -0,0 +0,0 @@ 'use strict' |
@@ -0,0 +0,0 @@ 'use strict' |
@@ -49,3 +49,3 @@ 'use strict' | ||
return hookName === 'prepare-commit-msg' | ||
? `(cannot be bypassed with --no-verify due to Git specs)` | ||
? '(cannot be bypassed with --no-verify due to Git specs)' | ||
: '(add --no-verify to bypass)' | ||
@@ -71,3 +71,3 @@ } | ||
has_hook_script () { | ||
[ -f package.json ] && cat package.json | grep -q "\\"$1\\"[[:space:]]*:"' | ||
[ -f package.json ] && cat package.json | grep -q "\\"$1\\"[[:space:]]*:" | ||
} | ||
@@ -85,4 +85,4 @@ | ||
# Test if npm is in PATH | ||
command_exists npm || {, | ||
echo >&2 "> husky - Can't find npm in PATH. Skipping ${npmScriptName} script in package.json", | ||
command_exists npm || { | ||
echo >&2 "> husky - Can't find npm in PATH. Skipping ${npmScriptName} script in package.json" | ||
exit 0 | ||
@@ -97,3 +97,3 @@ } | ||
echo "> husky - npm run -s ${npmScriptName}" | ||
echo "> husky - node \`node -v\`"' | ||
echo "> husky - node \`node -v\`" | ||
echo | ||
@@ -100,0 +100,0 @@ npm run -s ${npmScriptName} || { |
@@ -0,0 +0,0 @@ 'use strict' |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
7
0
116943
18
405