Skip to content

Commit

Permalink
chore(frontend): fix dependencies & simplify release workflow (#100)
Browse files Browse the repository at this point in the history
* chore(frontend): remove lerna version bumping in favor of CLI

* chore(frontend): update internal dependency version to be correct

* chore(frontend): replace package updating script with bash commands
  • Loading branch information
Lodin authored Sep 8, 2021
1 parent 165a37c commit c3f5d14
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 56 deletions.
2 changes: 1 addition & 1 deletion frontend/packages/fusion-frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
"access": "public"
},
"dependencies": {
"@vaadin/common-frontend": "^22.0.0-alpha1",
"@vaadin/common-frontend": "^0.0.10",
"lit": "^2.0.0-rc.2"
},
"devDependencies": {
Expand Down
5 changes: 4 additions & 1 deletion frontend/scripts/bump/exec.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,10 @@ alias ghr="curl https://api.github.com/repos/$REPO/branches/$branch/protection \
-H 'Authorization: token $GIT_RELEASE_TOKEN' \
-s"

node "$dir"/update-package-versions.js "$VERSION_TAG"
# Updating the registration version for all packages
find "$PWD"/packages/*/src/index.ts -exec sed -i "s/version:.\+\$/version: \/* updated-by-script *\/ \'$VERSION_TAG\',/m" {} +

npx lerna version "$VERSION_TAG" --no-git-tag-version --no-push --yes

git add --all

Expand Down
54 changes: 0 additions & 54 deletions frontend/scripts/bump/update-package-versions.js

This file was deleted.

0 comments on commit c3f5d14

Please sign in to comment.