fix(scripts/bump-pkg): fix npm *Cannot set properties of null (setting 'parent')* error

This commit is contained in:
Julien Fontanet 2023-03-06 17:23:59 +01:00
parent d83f41d0ff
commit 1942e55f76

View File

@ -23,7 +23,7 @@ esac
if [ $# -ge 2 ]
then
npm version "$2"
npm --save=false --workspaces=false version "$2"
git checkout HEAD :/yarn.lock
fi
# if version is not passed, simply update other packages