diff --git a/.scripts/bump.sh b/.scripts/bump.sh index c717593..fb71a4c 100755 --- a/.scripts/bump.sh +++ b/.scripts/bump.sh @@ -7,7 +7,7 @@ next_version=$(echo "${version}" | awk -F. -v OFS=. '{$NF += 1 ; print}') echo "bumping client" cd "${git_root}/client" -npm version "${next_version}" +npm version "${next_version}" && npm i git add package-lock.json git add package.json diff --git a/.scripts/update.sh b/.scripts/update.sh index 4214e9f..91e03ae 100755 --- a/.scripts/update.sh +++ b/.scripts/update.sh @@ -5,7 +5,7 @@ updated=false echo "updating client" cd "${git_root}/client" -npm update --save +npm update --save && npm i if ! git diff --exit-code package.json package-lock.json; then git add package-lock.json git add package.json