Skip to content

Commit

Permalink
fix: sync versions again (#297)
Browse files Browse the repository at this point in the history
Explicitly update dependency versions since --workspaces-update doesn't seem to work as advertised
  • Loading branch information
connor4312 committed Jun 5, 2023
1 parent ff3afd7 commit 9c591bc
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 6 deletions.
2 changes: 1 addition & 1 deletion adapter/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
},
"typings": "./lib/main",
"dependencies": {
"@vscode/debugprotocol": "1.60.0"
"@vscode/debugprotocol": "1.61.0"
},
"devDependencies": {
"@types/mocha": "^9.1.0",
Expand Down
4 changes: 4 additions & 0 deletions bump-version.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
npm version --workspaces "$@" --workspaces-update

VERSION=v$(cat adapter/package.json | jq -r .version)
npm --workspace adapter pkg set "dependencies.@vscode/debugprotocol=$VERSION"
npm --workspace testSupport pkg set "dependencies.@vscode/debugprotocol=$VERSION"
npm i

git checkout -b release/$VERSION

git add .
Expand Down
8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion testSupport/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"main": "./lib/main.js",
"typings": "./lib/main",
"dependencies": {
"@vscode/debugprotocol": "1.60.0"
"@vscode/debugprotocol": "1.61.0"
},
"devDependencies": {
"@types/node": "14.x",
Expand Down

0 comments on commit 9c591bc

Please sign in to comment.