New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

commitme

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

commitme

Simple git commit CLi

  • 1.0.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
2
decreased by-60%
Maintainers
1
Weekly downloads
 
Created
Source

commitme

Based on this gist by @gustavopch

Installation

You can install this on your package using npm i -D commitme or run it once using npx commitme

Configuration

Create a .commitrc on the root of your project to customize the choices.

VSCode Support

Add this to your VSCode config file in order to get autocomplete for the config file:

"files.associations": {
    ".commitrc": "jsonc"
  },
  "json.schemas": [
    {
      "fileMatch": [".commitrc"],
      "url": "https://raw.githubusercontent.com/roziscoding/commit-me/main/config-schema.json"
    }
  ]

Options

  • choices:

    • The list of commit types
    • Type: Array of inquirer choices for the list prompt type The name must be the commit type description, and the value must be an emoji
  • replaceDefaultChoices:

    • If true, the default choices will not be used
    • Type: boolean

Command line

  • -a: Runs git add --all before commiting

  • --print: Prints the commit message, instead of caling git (will ignore the -a flag)

Contributor

Keywords

FAQs

Package last updated on 30 May 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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc