Security News
Bun 1.2 Released with 90% Node.js Compatibility and Built-in S3 Object Support
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
happy-conventional-commit
Advanced tools
Happy Conventional Commit contains CLI scripts for working with Conventional Commits.
npm install --save-dev happy-conventional-commit
happy-current-version
happy-next-version
Basic Usage
happy-release-notes
Pipe to file
happy-release-notes > release-notes.md
Argument | Description | Default |
---|---|---|
--from={version} | The version to generate release notes from. | Latest version |
--to={version} | The version to generate release notes to. | |
--versionHeader | Set to show version header. Useful when generating release notes for multiple releases. | |
--author={githubUsername | nameAndEmail} | Set to show author for each entry. |
Basic Usage
happy-validate-commit-message --commitFile={commitFile}
With Husky
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"
node ./node_modules/.bin/happy-validate-commit-message --commitFile=$1
Argument | Description | Default |
---|---|---|
--commitFile={commitFile} | The file containing the commit message. |
Basic Usage
happy-lint-changed-files
With Husky
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"
node ./node_modules/.bin/happy-lint-changed
Configurations are defined in package.json
.
{
"happyLintChanged": {
"rules": [
{
"command": "eslint --ignore-path .lintignore --max-warnings 0 --fix",
"regex": "^[a-zA-Z0-9_].*\\.(cjs|mjs|js|jsx|ts|tsx|json)$"
}
]
}
}
The rules defaults to the same as in the example above.
FAQs
Tools for getting a happy conventional commit setup.
We found that happy-conventional-commit demonstrated a healthy version release cadence and project activity because the last version was released less than 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.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
Security News
Biden's executive order pushes for AI-driven cybersecurity, software supply chain transparency, and stronger protections for federal and open source systems.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.