Product
Introducing SSO
Streamline your login process and enhance security by enabling Single Sign-On (SSO) on the Socket platform, now available for all customers on the Enterprise plan, supporting 20+ identity providers.
@toptal/commit-analyzer
Advanced tools
Readme
commit-analyzer
A semantic-release plugin that determines the release type by analyzing the commits.
Include @toptal/commit-analyzer
as a semantic-release plugin
{
"plugins": [
"@toptal/commit-analyzer",
"@semantic-release/release-notes-generator",
"@semantic-release/npm",
"@semantic-release/git"
]
}
Under the hood @toptal/commit-analyzer
uses semantic-release/commit-analyzer
, but instead of determining the type of release based on the commit subject, it passes the commit body.
This means that if you want to specify in your commit what the release type should be, you can do that, in the second line of your commit, using the conventional commits format. If you don't specify it will default to a patch
release.
λ git log
commit 92aba8c113361733fc48f3828294c0b96beaedcc (HEAD -> master)
Author: Toptal
Date: Tue Nov 3 08:42:02 2020 +0100
[FX-123] Remove jobs module // Toptal commit format in the subject (first line)
feat: [FX-123] Remove jobs module // Conventional commit title (second line)
BREAKING CHANGE: the entire jobs module is deleted and imported as an external dependency // Conventional commit format in the body (third line)
FAQs
semantic-release plugin to analyze commits
The npm package @toptal/commit-analyzer receives a total of 102 weekly downloads. As such, @toptal/commit-analyzer popularity was classified as not popular.
We found that @toptal/commit-analyzer demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Streamline your login process and enhance security by enabling Single Sign-On (SSO) on the Socket platform, now available for all customers on the Enterprise plan, supporting 20+ identity providers.
Security News
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.