We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
package-lock.json
1 parent 68c243d commit 83096a7Copy full SHA for 83096a7
pre-push.hook
@@ -50,7 +50,7 @@ git diff --quiet dist/ ||
50
die '`dist/` is dirty'
51
52
base="$(git rev-list HEAD -1 -- dist/)"
53
-if test 0 -lt $(git rev-list --count ${base+$base..}HEAD -- \*.ts)
+if test 0 -lt $(git rev-list --count ${base+$base..}HEAD -- \*.ts package-lock.json)
54
then
55
echo "Verifying that dist/ is up to date" >&2
56
npm run build &&
@@ -60,4 +60,4 @@ then
60
echo "Committing dist/ because it was not up to date" >&2
61
git commit -sm "npm run build && npm run package" dist/
62
fi
63
-fi
+fi
0 commit comments