Contributing changes to @s-group/react-usercentrics is almost fully automated through Git branches and GitHub Actions.
- Create a new Git branch for your change
- Commit changes to the branch following the Conventional Commits specification
- The commit messages you use will determine the type of new version bump that will be created. See the complete list of release types in the
@semantic-release/commit-analyzerdefault configuration featcommit types will create a minor0.1.0bumpfixandRevertcommit types will create a patch0.0.1bump- Writing
BREAKING CHANGE:as a prefix in the commit message body, or adding an exclamation mark after any commit type (for examplefeat!) will create a major1.0.0bump
- The commit messages you use will determine the type of new version bump that will be created. See the complete list of release types in the
- Push your branch to the GitHub origin, and open a new Pull Request
- GitHub Actions will automatically run checks against your changes
- You can also see a preview of the upcoming version bump in the checks
- After the checks have successfully passed, you can merge your Pull Request to the default branch
- GitHub Actions will automatically create a new version commit, attach a Git tag to it (for example
v3.0.4), create a GitHub release, and publish the new npm package to the npmjs.com official registry!