refactor(monorepo): update plugin dependencies (#17837)

* refactor(monorepo): use local dependencies in packages.json

* add prettier ignore

* update commit message

* fix release workflow

* refine release script
This commit is contained in:
Yongjie Zhao
2021-12-22 16:26:12 +08:00
committed by GitHub
parent ec48dd5c40
commit 9840fbf49b
6 changed files with 77 additions and 88 deletions

View File

@@ -53,11 +53,7 @@ fi
# Get the current tag version
tag=v$(node -e "process.stdout.write(require('./lerna.json').version)");
message="chore: publish $tag"
# Update the lock file here
rm "$rootDir/package-lock.json"
npm i --package-lock-only
message="chore(plugins): publish $tag"
if [[ $? -ne 0 ]]; then
echo '[ERROR] Can not update package-lock.json'