qiwi / multi-semantic-release

Proof of concept that wraps semantic-release to work with monorepos.
BSD Zero Clause License
86 stars 34 forks source link

External changes to trigger release #15

Closed yyynnn closed 3 years ago

yyynnn commented 4 years ago

Hi there! Great library/fork!)

Is there a way to collect a list of extrnal deps to trigger release/bump versions of all or some packages via config?

For example: edits in global babel config -> new build artifacts -> minor version bump for all packages

antongolub commented 4 years ago

Hey, @yyynnn,

We have nothing like that out of box. ¯\_(ツ)_/¯ But you may try to create a tech/infra package and put the babel config in it, and then refer through

{
    "extends": "./packages/infra/.babelrc"
}

Other @scope/packages should have @scope/infra-package as their dev/optional dep, for example. So perf(infra): tune up babel config commit that changes files in ./packages/infra will also trigger release of the all chained packages.