You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm interested in converting an existing polyrepo to a monorepo and I'm investigating how close Changesets is to our existing flow. One of the missing parts I noticed is the possibility to tolerate out-of-range dependencies and offer to update them.
Changesets will log an error and won't bump pkg-a to the upcoming pkg-b@11.0.0: Package "pkg-a" must depend on the current version of "pkg-b": "10.0.0" vs "2.0.0"
Expected behavior
Changesets will log a warn but still bump pkg-a to the upcoming pkg-b@11.0.0: Package "pkg-a" must depend on the current version of "pkg-b": "10.0.0" vs "2.0.0"
I noticed the already existing experimental setting "updateInternalDependents": "always" which seemed relevant, so I piggy-backed on it and implemented the feature. Is that going to the right direction so I can continue working on a formal PR (tests, docs, etc.)?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi,
I'm interested in converting an existing polyrepo to a monorepo and I'm investigating how close
Changesets
is to our existing flow. One of the missing parts I noticed is the possibility to tolerate out-of-range dependencies and offer to update them.i.e.
We update
pkg-b
to version11.0.0
.Current behavior
Changesets
will log an error and won't bumppkg-a
to the upcomingpkg-b@11.0.0
:Package "pkg-a" must depend on the current version of "pkg-b": "10.0.0" vs "2.0.0"
Expected behavior
Changesets
will log a warn but still bumppkg-a
to the upcomingpkg-b@11.0.0
:Package "pkg-a" must depend on the current version of "pkg-b": "10.0.0" vs "2.0.0"
I noticed the already existing experimental setting
"updateInternalDependents": "always"
which seemed relevant, so I piggy-backed on it and implemented the feature. Is that going to the right direction so I can continue working on a formal PR (tests, docs, etc.)?ktzouno/changesets@main...ktzouno:changesets:version-updateInternalDependents-always
Beta Was this translation helpful? Give feedback.
All reactions