
Product
Announcing Socket Fix 2.0
Socket Fix 2.0 brings targeted CVE remediation, smarter upgrade planning, and broader ecosystem support to help developers get to zero alerts.
@formidable/dogs
Advanced tools
Formidable Dogs
$ npm install @formidable/dogs
$ yarn add @formidable/dogs
This repository is configured using semantic-release which automates the whole package release workflow including: determining the next version number, generating the release notes and publishing the package.
What does this mean for contributors? It means we need a merge commit that follows the conventional commit format. There are lots of ways to do semantic-release
and commit vetting, but here's how we do it in this repo:
semantic-release
is a "Squash and merge" GitHub pull request merge. Our repository only allows this kind of merge. We aim to have the final commit meet the conventional commit format.
semantic release
. We use semantic-pull-requests(NO LONGER MAINTAINED) to make sure that our PRs have a title meet the eventual format needed. And no worries about changes along the way! You just need to get the PR title in appropriate shape by the time you want to merge.There are very precise rules over how git commit messages can be formatted. This leads to more readable messages that are easy to follow when looking through the project history. Also, the git commit messages are used to generate the AngularJS change log.
The semantic-pull-requests
bot goes for the minimal semantic-release
information to make doing versioning as easy as possible. For how we do it in this project, you just need to focus on the PR title (that must be preserved in the squash and merge commit).
The pull request title has a special format that should include a type, a scope and a subject:
<type>(<scope>): <subject>
The scope of the header is optional.
Type must be one of [build, chore, ci, docs, feat, fix, perf, refactor, revert, style, test]
.
build|ci|revert
are undocumented but exist in code.Commit Types | Description | Version Impact |
---|---|---|
chore | Changes to the build process | N/A |
docs | Changes to documentation | N/A |
feat | Changes that support a new feature | Patch |
fix | Changes that fix a bug | Minor |
perf | Changes that improve performance | Patch |
refactor | Changes that neither fixes a bug nor adds a feature | N/A |
style | Changes that do not affect the meaning of code | N/A |
test | Changes to the test process | N/A |
Major version bumps are considered breaking changes for semantic-release
and are triggered intentionally.
Breaking changes should start with a !
after the commit type. This changes a usual N/A version impact of something like refactor
or fix
to a breaking change with refactor!
or fix!
.
Any of the following PR titles should work for the appropriate release:
perf: removed pictures from published package
: Patchrefactor(utils): change internal file utils
: N/A. Add an ad-hoc scope.refactor: change internal function
: N/Arefactor!: remove dog .jpg files
: MajorActive: Formidable is actively working on this project, and we expect to continue for work for the foreseeable future. Bug reports, feature requests and pull requests are welcome.
FAQs
Formidable Dogs
We found that @formidable/dogs demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 18 open source maintainers 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
Socket Fix 2.0 brings targeted CVE remediation, smarter upgrade planning, and broader ecosystem support to help developers get to zero alerts.
Security News
Socket CEO Feross Aboukhadijeh joins Risky Business Weekly to unpack recent npm phishing attacks, their limited impact, and the risks if attackers get smarter.
Product
Socket’s new Tier 1 Reachability filters out up to 80% of irrelevant CVEs, so security teams can focus on the vulnerabilities that matter.