diff options
author | Rebecca Turner <me@re-becca.org> | 2017-06-27 01:16:32 +0300 |
---|---|---|
committer | Rebecca Turner <me@re-becca.org> | 2017-06-27 01:23:43 +0300 |
commit | dbd9bffddf98af56924cff2f9130f26ff4c3e6d2 (patch) | |
tree | d48aa0e9948d7239d108ccfde6fe98c18cc2ba22 /scripts | |
parent | 265c2544c8ded10854909243482e6437ed03c261 (diff) |
scripts: Update dep update util scripts
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/dep-update | 2 | ||||
-rwxr-xr-x | scripts/dev-dep-update | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/scripts/dep-update b/scripts/dep-update index 7911d8a84..ec799b128 100755 --- a/scripts/dep-update +++ b/scripts/dep-update @@ -1,6 +1,6 @@ #!/bin/bash node . install --save $1@$2 &&\ -git add node_modules/$1/ package.json npm-shrinkwrap.json &&\ +git add node_modules/$1/ package.json package-lock.json &&\ git commit -m"$1@$2" &&\ node . repo $1 &&\ git commit --amend diff --git a/scripts/dev-dep-update b/scripts/dev-dep-update index b8b71f825..572f1c39c 100755 --- a/scripts/dev-dep-update +++ b/scripts/dev-dep-update @@ -1,6 +1,6 @@ #!/bin/bash node . install --save --save-dev $1@$2 &&\ -git add package.json npm-shrinkwrap.json &&\ +git add package.json package-lock.json &&\ git commit -m"$1@$2" &&\ node . repo $1 &&\ git commit --amend |