Applying semver on mono-repo node js projects

Viewed 657

I have used npx semantic-release for tagging projects in GitHub. I am currently working on a project that uses a mono-repo layout, something like:

mono-repo

  • api
  • web
  • mobile

I'd like to generate tags/releases separated each per component. I am not quite sure about how the tagging mechanism should work in this case. I was thinking about addiing logic to identify which component has been updated and generate a tag prefixing the component name like mobile-1.0.1, api-1.2.1, etc... Does anybody have previous experience working on something similar?

I was also thinking about creating a separate repo, each per component and from there everything will be easier to manage, any advice is appreciated.

1 Answers
Related