Skip to content

changeset version not bumping dependent packages #920

Answered by Andarist
vitorolivg asked this question in Q&A
Discussion options

You must be logged in to vote

Should we remove the caret from our packages or use the ___experimentalUnsafeOptions_WILL_CHANGE_IN_PATCH.updateInternalDependents = "always" to bypass this problem?

It kinda depends on your goals:

  • removing the caret would "force" a new release of the dependent package but could potentially lead to more copies of the same package when installing your packages, it also wouldn't allow newer versions of that dependency to be installed to leverage fixes in it. OTOH with that the dependant would always get a new release in such a case so a consumer could always bump that
  • updateInternalDependents: 'always' - this doesn't have mentioned drawbacks and it still creates releases for all dependan…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@vitorolivg
Comment options

Answer selected by vitorolivg
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants