From 35e6403067a8eb1d839919aaa969673425700d48 Mon Sep 17 00:00:00 2001 From: trev Date: Wed, 16 Apr 2025 03:38:46 -0400 Subject: [PATCH] fix: dumb npm cli bug --- .scripts/bump.sh | 2 +- .scripts/update.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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