Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@pixelygroup/commit-checker

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@pixelygroup/commit-checker

Bumps version in package.json and package-lock.json files based on passed argument

  • 1.0.8
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

commit-checker

Commit screenshot

This utility is primarily design to work with JIRA projects, nevertheless can be used in combination with clickup or other tools relying on ticket numbers (e.g. AB-100). The project prefix is customisable via command line tool. See the configuration section below.

Installation

In your project directory, run following command to install @pixelygroup/eslint-config-px and husky

npm i -D @pixelygroup/commit-checker husky

Configuration

Config screenshot

  1. To use the tool add the following to your package.json:
// package.json
...
"husky": {
  "hooks": {
    "commit-msg": "px-commit -- -E HUSKY_GIT_PARAMS"
  }
},
...
  1. Configure the project code by running the following code from your project folder.
npx px-commit --init

This will crate .pxcommitcheckrc file in the root folder of your project and generate allowed regex strings to match XX-000 some message and Release 1.1.1 commit messages.

Alternatively, you can create the file manually and add your own patterns

/^XX-\d+\s.*$/gm
/^Release \d\.\d\.\d(-.+)?/

More information

For more information about husky visit:

  • Husky

Do you enjoy this package? Help us keep it maintained!

Buy us a coffee or become a sponsor

Keywords

FAQs

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