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.
1 parent d9691ac commit 3049866Copy full SHA for 3049866
pre-push.hook
@@ -28,9 +28,18 @@ do
28
git grep -q "$regex" refs/tags/$tag -- package.json || {
29
sed "$substitute" <package.json >package.json.new &&
30
mv -f package.json.new package.json
31
+ sed "$substitute" <package-lock.json >package-lock.json.new &&
32
+ mv -f package-lock.json.new package-lock.json
33
die "package.json did not reflect $tag; It was adjusted."
34
exit 1
35
}
36
+
37
+ git grep -q "$regex" refs/tags/$tag -- package-lock.json || {
38
39
40
+ die "package-lock.json did not reflect $tag; It was adjusted."
41
+ exit 1
42
+ }
43
done
44
45
git diff --quiet dist/ ||
0 commit comments