Skip to content

Commit

Permalink
Revert removal of dev dependencies on upstream-protobuf; fix script t…
Browse files Browse the repository at this point in the history
…o retain them
  • Loading branch information
timostamm committed Oct 24, 2023
1 parent dd58030 commit ac69f08
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 3 deletions.
4 changes: 3 additions & 1 deletion packages/protobuf-conformance/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,7 @@
"dependencies": {
"@bufbuild/protobuf": "1.4.0"
},
"devDependencies": {}
"devDependencies": {
"upstream-protobuf": "*"
}
}
3 changes: 2 additions & 1 deletion packages/protobuf-test/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
"ts5_0_4": "npm:[email protected]"
},
"devDependencies": {
"@types/node": "~18.11.9"
"@types/node": "~18.11.9",
"upstream-protobuf": "*"
}
}
4 changes: 3 additions & 1 deletion packages/protobuf/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,9 @@
"import": "./dist/proxy/index.js"
}
},
"devDependencies": {},
"devDependencies": {
"upstream-protobuf": "*"
},
"files": [
"dist/**"
]
Expand Down
2 changes: 2 additions & 0 deletions scripts/set-workspace-version.js
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,8 @@ function syncDeps(packages) {
wantVersion = "~" + wantVersion;
} else if (version.startsWith("=")) {
wantVersion = "=" + wantVersion;
} else if (version === "*") {
wantVersion = "*";
}
if (wantVersion === version) {
continue;
Expand Down

0 comments on commit ac69f08

Please sign in to comment.