Fix workspace version bumping script to also bump peerDependencies
Summary: Fixed bumping of local peer dependencies and manually bumped the version which was not bumped automatically during the latest release. Reviewed By: passy Differential Revision: D21308701 fbshipit-source-id: 936a04b432ad3c9313644c1bf96966c52e022d7e
This commit is contained in:
committed by
Facebook GitHub Bot
parent
b0a0b0f355
commit
fc18bafb71
@@ -115,6 +115,11 @@ async function bumpWorkspaceVersions(
|
||||
) {
|
||||
changed = true;
|
||||
}
|
||||
if (
|
||||
updateDependencies(json.peerDependencies, localPackageNames, newVersion)
|
||||
) {
|
||||
changed = true;
|
||||
}
|
||||
if (changed) {
|
||||
await savePackageJson(pkg);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user