All Projects → conventional-changelog → conventional-commits-detector

conventional-changelog / conventional-commits-detector

Licence: MIT license
🔍 Detect what commit message convention your repository is using.

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to conventional-commits-detector

parse-commit-message
(!! moved to tunnckoCore/opensource !! try `parse-commit-message@canary`) Parse, stringify or validate a commit messages that follows Conventional Commits Specification
Stars: ✭ 31 (-59.21%)
Mutual labels:  commit-conventions, commit-message
services
Holder of multiple npm packages
Stars: ✭ 31 (-59.21%)
Mutual labels:  commit-message
Walkmod Core
walkmod: an open source tool to fix coding style issues
Stars: ✭ 153 (+101.32%)
Mutual labels:  conventions
commithelper
A tool to create and lint commit messages
Stars: ✭ 35 (-53.95%)
Mutual labels:  commit-message
Conventions
In-house conventions and styles
Stars: ✭ 177 (+132.89%)
Mutual labels:  conventions
auto-commit-msg
A VS Code extension to generate a smart commit message based on file changes
Stars: ✭ 61 (-19.74%)
Mutual labels:  commit-message
Powershellpracticeandstyle
The Unofficial PowerShell Best Practices and Style Guide
Stars: ✭ 1,589 (+1990.79%)
Mutual labels:  conventions
CSharpHandbook
The focus of this document is on providing a reference for writing C#. It includes naming, structural and formatting conventions as well as best practices for writing clean, safe and maintainable code. Many of the best practices and conventions apply equally well to other languages.
Stars: ✭ 25 (-67.11%)
Mutual labels:  conventions
microhomie
MicroPython implementation of the Homie MQTT convention for IoT.
Stars: ✭ 72 (-5.26%)
Mutual labels:  conventions
founder
Laravel starter application
Stars: ✭ 47 (-38.16%)
Mutual labels:  conventions
Devonfw4flutter
A guide aiming to bridge the gap between the absolute Flutter basics and clean, structured Flutter Development
Stars: ✭ 219 (+188.16%)
Mutual labels:  conventions
Java Code Conventions
Chinese translation of the Code Conventions for the Java Programming Language document.中文翻译《Java 编码规范》
Stars: ✭ 181 (+138.16%)
Mutual labels:  conventions
Apex-Code-Conventions
Apex conventions and best practices for Salesforce Developers
Stars: ✭ 28 (-63.16%)
Mutual labels:  conventions
Php Conventions
Рекомендации по написанию PHP кода
Stars: ✭ 156 (+105.26%)
Mutual labels:  conventions
conventions
∞ Priceloop Engineering Conventions for Scala, Python, Git Workflow etc
Stars: ✭ 100 (+31.58%)
Mutual labels:  conventions
Scrutor
Assembly scanning and decoration extensions for Microsoft.Extensions.DependencyInjection
Stars: ✭ 1,915 (+2419.74%)
Mutual labels:  conventions
Giotto
Theme manager for your app: apply styles to anything you want through a plist file
Stars: ✭ 18 (-76.32%)
Mutual labels:  conventions
Conventions
GraphQL Conventions Library for .NET
Stars: ✭ 198 (+160.53%)
Mutual labels:  conventions
defcon-for-n00bs
DEF CON for N00bs is an open guide for first time attendees to the convention.
Stars: ✭ 40 (-47.37%)
Mutual labels:  conventions
devon4flutter-non-bloc-arch
A guide aiming to bridge the gap between the absolute Flutter basics and clean, structured Flutter Development
Stars: ✭ 283 (+272.37%)
Mutual labels:  conventions

conventional-commits-detector

🔍 Detect what commit message convention your repository is using.

Table of Contents

Features

Detects the following commit conventions:

  • angular
  • atom
  • ember
  • eslint
  • jquery
  • jshint

Installation

To install the conventional-commits-detector tool please run the following command:

yarn [global] add [--dev] conventional-commits-detector

Usage

There are two ways to use conventional-commits-detector, either as a CLI tool, or programmatically.

Programmatically

const conventionalCommitsDetector = require(`conventional-commits-detector`);

conventionalCommitsDetector([
  `test(matchers): add support for toHaveClass in tests`,
  `refactor(WebWorker): Unify WebWorker naming\n\nCloses #3205`,
  `feat: upgrade ts2dart to 0.7.1`,
  `feat: export a proper promise type`,
]);

// angular

CLI Tool

After you've installed conventional-commits-detector, you can call the tool based on whether you installed it globally or locally:

Globally

conventional-commits-detector

Locally

$(yarn bin)/conventional-commits-detector
$ conventional-commits-detector

angular

You can also specify how many commit messages to fetch for the git repository in the current working directory:

$ conventional-commits-detector 10

angular

Debugging

To assist users of conventional-commits-detector with debugging the behavior of this module we use the debug utility package to print information about the publish process to the console. To enable debug message printing, the environment variable DEBUG, which is the variable used by the debug package, must be set to a value configured by the package containing the debug messages to be printed.

To print debug messages on a unix system set the environment variable DEBUG with the name of this package prior to executing conventional-commits-detector:

DEBUG=conventional-commits-detector conventional-commits-detector

On the Windows command line you may do:

set DEBUG=conventional-commits-detector
conventional-commits-detector

Node Support Policy

We only support Long-Term Support versions of Node.

We specifically limit our support to LTS versions of Node, not because this package won't work on other versions, but because we have a limited amount of time, and supporting LTS offers the greatest return on that investment.

It's possible this package will work correctly on newer versions of Node. It may even be possible to use this package on older versions of Node, though that's more unlikely as we'll make every effort to take advantage of features available in the oldest LTS version we support.

As each Node LTS version reaches its end-of-life we will remove that version from the node engines property of our package's package.json file. Removing a Node version is considered a breaking change and will entail the publishing of a new major version of this package. We will not accept any requests to support an end-of-life version of Node. Any merge requests or issues supporting an end-of-life version of Node will be closed.

We will accept code that allows this package to run on newer, non-LTS, versions of Node. Furthermore, we will attempt to ensure our own changes work on the latest version of Node. To help in that commitment, our continuous integration setup runs against all LTS versions of Node in addition the most recent Node release; called current.

JavaScript package managers should allow you to install this package with any version of Node, with, at most, a warning if your version of Node does not fall within the range specified by our node engines property. If you encounter issues installing this package, please report the issue to your package manager.

Contributing

Please read our contributing guide on how you can help improve this project.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].