TomFreudenberg / next-auth-mock

NextAuth.js mockup provider for jest, storybook and others.
MIT License
28 stars 1 forks source link

Automate release process #7

Open emiliosheinz opened 1 year ago

emiliosheinz commented 1 year ago

I was wondering if it wouldn't be good if we automate the release process (generate tags, releases, changelogs and publish to npm).

For example, the latest release published to npm has no release or tag in GitHub.

After some research I've found that the most used libraries for this kind of use case are:

All the options above would require the usage of Conventional Commits.

What do you think about it?

TomFreudenberg commented 1 year ago

For sure a good idea in general.

I just forgot to set the tag last time - my apologies.

It's done by now.

I will look into your suggestions and come back 👍🏻

And it's on the project map as well ;-)

TomFreudenberg commented 1 year ago

Do you have also any suggestions from your side about automated changelogs?

emiliosheinz commented 1 year ago

All the libraries that I mentioned above take care of everything but in a different way. Basically, they generate the changelogs based on the commits (that's why we would need to use conventional commits), bump the package version, generate a new tag, generate a new GitHub release, and publish it to npm.