Some checks failed
Verify / Install node dependencies (push) Failing after 2s
Verify / Build packages (push) Has been skipped
Verify / Check linting & formatting (push) Has been skipped
Verify / Run unit tests (push) Has been skipped
Verify / Run e2e tests (shard 1/4) (push) Has been skipped
Verify / Run e2e tests (shard 2/4) (push) Has been skipped
Verify / Run e2e tests (shard 3/4) (push) Has been skipped
Verify / Run e2e tests (shard 4/4) (push) Has been skipped
Publish / Resolve publish config (push) Failing after 2s
Publish / Send notification to Slack (push) Has been skipped
Publish / Send failure notification to Slack (push) Failing after 8s
Verify / Merge e2e reports (push) Has been skipped
Publish / Build (push) Has been skipped
Publish / Bump Versions OR Release to Registry (push) Has been skipped
16 lines
806 B
Diff
16 lines
806 B
Diff
diff --git a/dist/changesets-assemble-release-plan.cjs.js b/dist/changesets-assemble-release-plan.cjs.js
|
|
index a91112a7ddf4b6f242965e0bf99ba2f60f988ede..6baddab89d4a41754c8f73d5d914604a54f248cb 100644
|
|
--- a/dist/changesets-assemble-release-plan.cjs.js
|
|
+++ b/dist/changesets-assemble-release-plan.cjs.js
|
|
@@ -336,6 +336,10 @@ function shouldBumpMajor({
|
|
preInfo,
|
|
onlyUpdatePeerDependentsWhenOutOfRange
|
|
}) {
|
|
+ if (depType === "peerDependencies") {
|
|
+ return false;
|
|
+ }
|
|
+
|
|
// we check if it is a peerDependency because if it is, our dependent bump type might need to be major.
|
|
return depType === "peerDependencies" && nextRelease.type !== "none" && nextRelease.type !== "patch" && (
|
|
// 1. If onlyUpdatePeerDependentsWhenOutOfRange set to true, bump major if the version is leaving the range.
|