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

feat: allow to run prepare steps sequentially #47

Closed KillianHmyd closed 3 years ago

KillianHmyd commented 3 years ago

This can be useful in the case where we must build a whole package in the prepare step. In my specific case we use multi-semantic-release to publish some common types and a Docker image. In the prepare step we run a docker build in which we need to re-install the dependencies.

Because sometimes the prepare step is not over in the type package the build result in an error because the inlinePlugin started writing half of the package.json to update the dependencies version.

KillianHmyd commented 3 years ago

@antongolub Sorry for the package.json, it's reverted 👍 I've added the test and used the flag instead of the options property.

I've also added a check to be sure that no one use this option while having cyclic dependencies.

antongolub commented 3 years ago

@KillianHmyd,

It's on the way. Thanks for the contribution.

qiwibot commented 3 years ago

:tada: This PR is included in version 3.14.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket: