Skip to content

Commit

Permalink
npx lerna
Browse files Browse the repository at this point in the history
  • Loading branch information
Pessimistress committed Apr 24, 2024
1 parent df47f2a commit e5c4216
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions modules/dev-tools/scripts/publish.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ bumpVersion() {
fi

if [ -d "modules" ]; then
(set -x; lerna version $versionType --force-publish --exact --no-commit-hooks)
(set -x; npx lerna version $versionType --force-publish --exact --no-commit-hooks)
else
# -f includes any changes in the version commit
(set -x; npm version $versionType --force)
Expand All @@ -34,9 +34,9 @@ publishToNPM() {
if [ -d "modules" ]; then
if [ -z $tag ]; then
# use default tag ('latest' or publishConfig.tag in package.json)
(set -x; lerna publish from-git --force-publish --no-commit-hooks)
(set -x; npx lerna publish from-git --force-publish --no-commit-hooks)
else
(set -x; lerna publish from-git --force-publish --dist-tag $tag --no-commit-hooks)
(set -x; npx lerna publish from-git --force-publish --dist-tag $tag --no-commit-hooks)
fi
else
if [ -z $tag ]; then
Expand Down

0 comments on commit e5c4216

Please sign in to comment.