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

@commitlint/cli

Package Overview
Dependencies
Maintainers
1
Versions
141
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@commitlint/cli - npm Package Compare versions

Comparing version 4.2.0 to 4.2.1

fixtures/husky/package.json

12

CHANGELOG.md

@@ -6,2 +6,14 @@ # Change Log

<a name="4.2.1"></a>
## [4.2.1](https://github.com/marionebl/commitlint/compare/v4.2.0...v4.2.1) (2017-10-18)
### Bug Fixes
* nicer error messages ([#93](https://github.com/marionebl/commitlint/issues/93)) ([dcfad61](https://github.com/marionebl/commitlint/commit/dcfad61))
* **core:** consider config outside of current git repo ([f7234b6](https://github.com/marionebl/commitlint/commit/f7234b6))
<a name="4.2.0"></a>

@@ -8,0 +20,0 @@ # [4.2.0](https://github.com/marionebl/commitlint/compare/v4.1.1...v4.2.0) (2017-10-14)

7

fixtures/husky/integration/package.json

@@ -1,1 +0,6 @@

{"scripts":{"commitmsg":"commitlint -e"}}
{
"scripts": {},
"devDependencies": {
"husky": "0.14.3"
}
}
module.exports = {
parserOpts: {
parserPreset: './parser-preset'
},
rules: {

@@ -3,0 +6,0 @@ 'type-enum': [2, 'always', ['type']],

4

fixtures/parser-preset/parser-preset.js
module.exports = {
parserOpts: {
headerPattern: /^(\w*)\((\w*)\)-(\w*)\s(.*)$/,
headerCorrespondence: ['type', 'scope', 'ticket', 'subject']
headerPattern: /^----(\w*)\((\w*)\):\s(.*)$/,
headerCorrespondence: ['type', 'scope', 'subject']
}
};
{
"name": "@commitlint/cli",
"version": "4.2.0",
"version": "4.2.1",
"description": "Lint your commit messages",
"bin": {
"commitlint": "cli.js"
"commitlint": "./lib/cli.js"
},
"scripts": {
"build": "exit 0",
"clean": "exit 0",
"prepublish": "npm test",
"pretest": "dep-check",
"start": "ava --watch --verbose",
"test": "ava $AVA_VERBOSE"
"build": "npx cross-env NODE_ENV=production npx babel src --out-dir lib --source-maps",
"clean": "npx rimraf lib",
"prestart": "dep-check && npx yarn run build",
"pretest": "dep-check && npx yarn run build",
"start": "npx concurrently \"npx ava -c 4 --verbose --watch\" \"npx yarn run watch\"",
"test": "npx ava -c 4 --verbose",
"watch": "npx babel src --out-dir lib --watch --source-maps"
},
"ava": {
"files": [
"cli.test.js"
"lib/**/*.test.js"
],
"source": [
"lib/**/*.js"
]
},
"babel": {
"presets": [
"babel-preset-commitlint"
]
},
"xo": false,

@@ -44,4 +53,10 @@ "engines": {

"devDependencies": {
"@commitlint/utils": "^4.2.0",
"@commitlint/test": "^4.2.1",
"@commitlint/utils": "^4.2.1",
"ava": "^0.18.2",
"babel-cli": "^6.26.0",
"babel-preset-commitlint": "^4.2.1",
"babel-register": "^6.26.0",
"concurrently": "^3.5.0",
"cross-env": "^5.0.5",
"dependency-check": "^2.9.1",

@@ -51,3 +66,3 @@ "execa": "^0.7.0",

"resolve-bin": "^0.4.0",
"rimraf": "^2.6.1",
"rimraf": "^2.6.2",
"sander": "^0.6.0",

@@ -59,3 +74,3 @@ "string-to-stream": "^1.1.0",

"dependencies": {
"@commitlint/core": "^4.2.0",
"@commitlint/core": "^4.2.1",
"babel-polyfill": "^6.23.0",

@@ -62,0 +77,0 @@ "chalk": "^2.0.1",

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