New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

commitlive

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

commitlive

write conventional commits livly

latest
Source
npmnpm
Version
1.1.3
Version published
Maintainers
1
Created
Source

demo

commitlive: livly cli to make conventional commit

Probably the most elegant way to make a conventional commit on the command line

Features

  • tab completion, placeholders and livly prompt: this gives the user enough hints to make a better commit, with the help of repll

  • find issues for you: when you start typing # with a number, we will search for issues on github, it's based on gh cli, make sure it's installed and configured

  • conventional commit lint: while you are typing, we lint it for you using the great commitlint(!NOTE: When linting, we won't prompt <body> & <footer> as an input, this avoids overwhelming output message)

  • focus more on typing rather than choosing: some other commit tools pop up prompts for the user to select, whereas in commitlive you just type something and press tab to complete, which I think is closer to the way we interact with command line

  • very close to git commit command: under the hood, commitlive just run git commit command for you with the flag and commit you provided, and flag is always same as git commit

Usage

NOTE! You must have NodeJS v13.5.0+(v12.16.0+) installed in order to get commitlive up and running

Install it globally or run it directly using npx

npm i -g commitlive
npx commitlive

Run commitlive to commit your staged changes:

commitlive -m

Or make them staged while committing:

commitlive -am

You may have noticed, it's same as git commit, quite easy to grasp its usage

Finally, be a good commitzen

Keywords

conventional-commits

FAQs

Package last updated on 07 Mar 2021

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