conventional-changelog-codemirror
Advanced tools
Comparing version 1.0.0 to 2.0.0
@@ -6,2 +6,25 @@ # Change Log | ||
<a name="2.0.0"></a> | ||
# [2.0.0](https://github.com/conventional-changelog/conventional-changelog/compare/conventional-changelog-codemirror@1.0.0...conventional-changelog-codemirror@2.0.0) (2018-06-06) | ||
### Features | ||
* re-use parser options within each preset ([#335](https://github.com/conventional-changelog/conventional-changelog/issues/335)) ([d3eaacf](https://github.com/conventional-changelog/conventional-changelog/commit/d3eaacf)), closes [#241](https://github.com/conventional-changelog/conventional-changelog/issues/241) | ||
### BREAKING CHANGES | ||
* Re-use parser options object between components of a preset. For some | ||
presets this may change the behavior of `conventional-recommended-bump` | ||
as the parser options object for the `conventional-recommended-bump` options | ||
within a preset were different than the parser options object for the | ||
`conventional-changelog` options within a preset. | ||
If you are not using `conventional-recommended-bump`, then this is | ||
**not** a breaking change for you. | ||
<a name="1.0.0"></a> | ||
@@ -8,0 +31,0 @@ # [1.0.0](https://github.com/conventional-changelog/conventional-changelog/compare/conventional-changelog-codemirror@0.3.8...conventional-changelog-codemirror@1.0.0) (2018-05-29) |
'use strict' | ||
const parserOpts = require(`./parser-opts`) | ||
module.exports = { | ||
parserOpts, | ||
whatBump: (commits) => { | ||
@@ -25,14 +29,3 @@ let level = 2 | ||
} | ||
}, | ||
parserOpts: { | ||
headerPattern: /^(\w*)(?:\((.*)\))?: (.*)$/, | ||
headerCorrespondence: [ | ||
`type`, | ||
`scope`, | ||
`subject` | ||
], | ||
noteKeywords: `BREAKING CHANGE`, | ||
revertPattern: /^revert:\s([\s\S]*?)\s*This reverts commit (\w*)\./, | ||
revertCorrespondence: [`header`, `hash`] | ||
} | ||
} |
{ | ||
"name": "conventional-changelog-codemirror", | ||
"version": "1.0.0", | ||
"version": "2.0.0", | ||
"description": "conventional-changelog CodeMirror preset", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
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
12970
87
12