Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add release-it #3342

Merged
merged 3 commits into from
Nov 13, 2023
Merged

Conversation

freeboub
Copy link
Collaborator

@freeboub freeboub commented Nov 8, 2023

Integrate release-it tool for new release management

Next version can be generated with:
npx release-it --preRelease=alpha

should address: #3333

@evoactivity
Copy link
Contributor

I've been thinking about adding changesets here, it works a lot better for community projects as you don't have to enforce every PR to follow conventional commits, it makes keeping a changelog very simple as peoples changesets get added automatically. It can be completely automated through github actions so anyone with merge access on the repo will be able to make a release. Releases can goto github and npm.

https://github.com/changesets/changesets

I have a repo using automated changesets here if you would like to see how I have it setup
https://github.com/ektotv/playlist

@KrzysztofMoch
Copy link
Member

@evoactivity Thanks for your feedback!
But I think that for us it will be much easier to use release-it with changelog plugin. To enforce that every PR follow conventional commits we can use github action. We (I and @freeboub) have already used release-it so it will be easier for us to configurate and use it

Copy link
Member

@KrzysztofMoch KrzysztofMoch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we need update package.json to exclude docs and examples and we are ready to go

@freeboub
Copy link
Collaborator Author

freeboub commented Nov 9, 2023

we need update package.json to exclude docs and examples and we are ready to go

I added, but I think this is not mandatory, all the !XXX are subfolders of included folders.

@freeboub
Copy link
Collaborator Author

freeboub commented Nov 9, 2023

I've been thinking about adding changesets here, it works a lot better for community projects as you don't have to enforce every PR to follow conventional commits, it makes keeping a changelog very simple as peoples changesets get added automatically. It can be completely automated through github actions so anyone with merge access on the repo will be able to make a release. Releases can goto github and npm.

https://github.com/changesets/changesets

I have a repo using automated changesets here if you would like to see how I have it setup https://github.com/ektotv/playlist

Thank you for the clue, I agree it would be interesting to have github integration, but I had this release-it integration under the hand, it was very easy.

Copy link
Member

@KrzysztofMoch KrzysztofMoch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

@freeboub freeboub merged commit da27089 into TheWidlarzGroup:master Nov 13, 2023
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants