@commitlint/cli
Advanced tools
Comparing version 4.2.0 to 4.2.1
@@ -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) |
@@ -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']], |
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", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
70838
22
1028
17
1
Updated@commitlint/core@^4.2.1