🚀 DAY 5 OF LAUNCH WEEK:Introducing Webhook Events for Alert Changes.Learn more →
Socket
Book a DemoInstallSign in
Socket

commsg

Package Overview
Dependencies
Maintainers
0
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

commsg

Prints git command to commit with a conventional commit message.

latest
Source
npmnpm
Version
1.0.0
Version published
Maintainers
0
Created
Source

commsg

Usage: commsg [options]
Description: Prints git command to commit with a conventional commit message.
Options:
    --*                        Any flag acts as a prefix for the commit message
    --breaking-change, -bc, -b Indicate a breaking change
    --preserve-quotes, -pq, -q Preserve quotes in the commit message
    --
npx conventional-commit --fix "removes 'npm hooks' command" -b "The 'npm hooks' command has been removed"

Simply prints:

git commit -m "fix\!: removes \`npm hooks\` command" -m "BREAKING CHANGE: The \`npm hooks\` command has been removed"

Features:

  • converts ' to backtick.
  • adds ! if it's breaking chagne even if it doesn't have breaking change text.

FAQs

Package last updated on 15 Oct 2024

Did you know?

Socket

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.

Install

Related posts