Update release-tool
and define implicit deps for @babel/runtime
#12527
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
yarn release-tool
This is another step towards automation.
When publishing, we have an "implicit" dependency between
@babel/helpers
and the@babel/runtime-*
packages, butrelease-tool
doesn't detect changes to@babel/runtime
when@babel/helpers
is changed because it only affects thelib
folder (which is.gitignored
).For this reason, I almost never run
make new-version
, but I usually first runyarn release-tool version -f @babel/standalone
, check if@babel/helpers
will be published, and if it will be I abort and runyarn release-tool -f @babel/runtime -f @babel/runtime-corejs2 -f @babel/runtime-corejs3 -f @babel/standalone
.This PR includes nicolo-ribaudo/yarn-plugin-babel-release-tool@7985aaf: it now automatically publishes
@babel/runtime-*
when@babel/helpers
changes.