Skip to content

Commit

Permalink
Make interlink dependency auto bump logic configurable (#358)
Browse files Browse the repository at this point in the history
* Make interlink dependency auto bump logic configurable

* Fix failing tests

* Rename config option to updateInternalDependencies

* Add tests for config parsing of updateInternalDependencies

* Rename fixture

* Add cli changeset
  • Loading branch information
Blasz committed May 11, 2020
1 parent 09f62f9 commit 2b49d66
Show file tree
Hide file tree
Showing 13 changed files with 518 additions and 17 deletions.
7 changes: 7 additions & 0 deletions .changeset/heavy-bananas-jog.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
"@changesets/apply-release-plan": major
"@changesets/types": major
"@changesets/config": minor
---

Add new updateInternalDependencies config option to disable auto bumping of internal dependencies in the same release if the dependency was only patch bumped
5 changes: 5 additions & 0 deletions .changeset/pink-shoes-retire.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@changesets/cli": minor
---

Add new config option 'updateInternalDependencies' that can be set to 'minor' to only update internal dependencies in the same release if the dependency was minor released or above. Defaults to 'patch' which is the existing behaviour.
Loading

0 comments on commit 2b49d66

Please sign in to comment.