Skip to content

Commit

Permalink
fix(build): properly update peer dependencies (#19639)
Browse files Browse the repository at this point in the history
  • Loading branch information
elylucas committed Oct 11, 2019
1 parent 7f4b77d commit b552daa
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .scripts/common.js
Expand Up @@ -278,6 +278,9 @@ function updateDependency(pkg, dependency, version) {
if (pkg.devDependencies && pkg.devDependencies[dependency]) {
pkg.devDependencies[dependency] = version;
}
if (pkg.peerDependencies && pkg.peerDependencies[dependency]) {
pkg.peerDependencies[dependency] = version;
}
}

function isVersionGreater(oldVersion, newVersion) {
Expand Down

0 comments on commit b552daa

Please sign in to comment.