diff --git a/scripts/create-release-branch.sh b/scripts/create-release-branch.sh index b1cffcf..b661d25 100755 --- a/scripts/create-release-branch.sh +++ b/scripts/create-release-branch.sh @@ -119,6 +119,7 @@ function update_package_version() { } function update_dependencies_version() { + rm -rf node_modules npm ci npm run check-updates -- -u } diff --git a/scripts/rebuild.sh b/scripts/rebuild.sh index 8301938..b2c853a 100755 --- a/scripts/rebuild.sh +++ b/scripts/rebuild.sh @@ -7,5 +7,6 @@ npm i npm run build npm run verify +rm -rf node_modules npm ci --only=production git add node_modules package-lock.json lib diff --git a/scripts/update-dependencies.sh b/scripts/update-dependencies.sh index afdd77e..1463fdb 100755 --- a/scripts/update-dependencies.sh +++ b/scripts/update-dependencies.sh @@ -25,6 +25,7 @@ npm run build npm run verify # commit +rm -rf node_modules npm ci --only=production git add package.json package-lock.json node_modules git commit -m "update dependencies"