Skip to content

Commit Helpers

Utility functions for working with commit operations.

Function Description
analyzeCommits Analyses a list of commits to suggest a semantic version bump.
buildConventionalCommitRegex Builds a regular expression matching the **subject line** of a Conventional Commits message.
isConventionalCommit Checks whether a commit message’s subject line follows the Conventional Commits format constrained by the given options.
parseConventionalCommit Parses a Conventional Commits message into a structured object.