Changeset & Semantic-release in a Monorepo
Answered
Highlander posted this in #help-forum
HighlanderOP
Hello people. Recently I got introduced to
- What's the difference between the two.
- which one will work well in a mono-repo project
- What are the drawbacks
Thank you
changeset package while learning about monorepo. Today i just discovered semantic-release in a nextjs template. I'm currently planning to undertake a personal startup project and my questions are:- What's the difference between the two.
- which one will work well in a mono-repo project
- What are the drawbacks
Thank you
Answered by fuma
I'm currently using Changeset and get satisfied with it.
Normally, both of them work great for monorepo. Changeset and semantic release provide a CLI tool, with its eco-system to automate the release process.
What are the differences? I can't tell you every detail since I'm not familiar with semantic release, but as I see, they are very similar, the only thing I can say is that semantic release has more detailed documentation while Changeset is easier to use for me. Also, semantic release supports integrating with more CI.
Considering the example:
When you push a change or merge a PR on Github, you want to release the package with its linked packages by clicking a button. The tool will update their versions, generate changelogs and create a release on Github, everything can be done via Github Actions.
Changeset provides a bot, and a Github action to integrate with Github. Semantic Release also has an example for working with Github Actions.
I personally prefer Changeset since I'm using it oftenly.
Normally, both of them work great for monorepo. Changeset and semantic release provide a CLI tool, with its eco-system to automate the release process.
What are the differences? I can't tell you every detail since I'm not familiar with semantic release, but as I see, they are very similar, the only thing I can say is that semantic release has more detailed documentation while Changeset is easier to use for me. Also, semantic release supports integrating with more CI.
Considering the example:
When you push a change or merge a PR on Github, you want to release the package with its linked packages by clicking a button. The tool will update their versions, generate changelogs and create a release on Github, everything can be done via Github Actions.
Changeset provides a bot, and a Github action to integrate with Github. Semantic Release also has an example for working with Github Actions.
I personally prefer Changeset since I'm using it oftenly.
2 Replies
I'm currently using Changeset and get satisfied with it.
Normally, both of them work great for monorepo. Changeset and semantic release provide a CLI tool, with its eco-system to automate the release process.
What are the differences? I can't tell you every detail since I'm not familiar with semantic release, but as I see, they are very similar, the only thing I can say is that semantic release has more detailed documentation while Changeset is easier to use for me. Also, semantic release supports integrating with more CI.
Considering the example:
When you push a change or merge a PR on Github, you want to release the package with its linked packages by clicking a button. The tool will update their versions, generate changelogs and create a release on Github, everything can be done via Github Actions.
Changeset provides a bot, and a Github action to integrate with Github. Semantic Release also has an example for working with Github Actions.
I personally prefer Changeset since I'm using it oftenly.
Normally, both of them work great for monorepo. Changeset and semantic release provide a CLI tool, with its eco-system to automate the release process.
What are the differences? I can't tell you every detail since I'm not familiar with semantic release, but as I see, they are very similar, the only thing I can say is that semantic release has more detailed documentation while Changeset is easier to use for me. Also, semantic release supports integrating with more CI.
Considering the example:
When you push a change or merge a PR on Github, you want to release the package with its linked packages by clicking a button. The tool will update their versions, generate changelogs and create a release on Github, everything can be done via Github Actions.
Changeset provides a bot, and a Github action to integrate with Github. Semantic Release also has an example for working with Github Actions.
I personally prefer Changeset since I'm using it oftenly.
Answer
HighlanderOP
Then, its Changeset for me. Thank you very much