conventional-changelog-angular 3.0.6 → 5.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,86 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ <a name="5.0.0"></a>
7
+ # [5.0.0](https://github.com/conventional-changelog/conventional-changelog/compare/conventional-changelog-angular@4.0.1...conventional-changelog-angular@5.0.0) (2018-06-06)
8
+
9
+
10
+ ### Features
11
+
12
+ * 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)
13
+
14
+
15
+ ### BREAKING CHANGES
16
+
17
+ * Re-use parser options object between components of a preset. For some
18
+ presets this may change the behavior of `conventional-recommended-bump`
19
+ as the parser options object for the `conventional-recommended-bump` options
20
+ within a preset were different than the parser options object for the
21
+ `conventional-changelog` options within a preset.
22
+
23
+ If you are not using `conventional-recommended-bump`, then this is
24
+ **not** a breaking change for you.
25
+
26
+
27
+
28
+
29
+ <a name="4.0.1"></a>
30
+ ## [4.0.1](https://github.com/conventional-changelog/conventional-changelog/compare/conventional-changelog-angular@4.0.0...conventional-changelog-angular@4.0.1) (2018-06-02)
31
+
32
+
33
+ ### Bug Fixes
34
+
35
+ * Fix plurality of "are" vs. "is" ([#331](https://github.com/conventional-changelog/conventional-changelog/issues/331)) ([027e778](https://github.com/conventional-changelog/conventional-changelog/commit/027e778))
36
+
37
+
38
+
39
+
40
+ <a name="4.0.0"></a>
41
+ # [4.0.0](https://github.com/conventional-changelog/conventional-changelog/compare/conventional-changelog-angular@3.0.7...conventional-changelog-angular@4.0.0) (2018-05-29)
42
+
43
+
44
+ ### Chores
45
+
46
+ * **package:** set Node requirement to oldest supported LTS ([#329](https://github.com/conventional-changelog/conventional-changelog/issues/329)) ([cae2fe0](https://github.com/conventional-changelog/conventional-changelog/commit/cae2fe0))
47
+
48
+
49
+ ### Code Refactoring
50
+
51
+ * remove anchor from header templates ([#301](https://github.com/conventional-changelog/conventional-changelog/issues/301)) ([346f24f](https://github.com/conventional-changelog/conventional-changelog/commit/346f24f)), closes [#186](https://github.com/conventional-changelog/conventional-changelog/issues/186)
52
+
53
+
54
+ ### BREAKING CHANGES
55
+
56
+ * **package:** Set the package's minimum required Node version to be the oldest LTS
57
+ currently supported by the Node Release working group. At this time,
58
+ that is Node 6 (which is in its Maintenance LTS phase).
59
+ * Anchor tags are removed from the changelog header templates. The
60
+ rendered Markdown will no longer contain anchor tags proceeding the
61
+ version number header that constitutes the changelog header. This means
62
+ that consumers of rendered markdown will not be able to use a URL that
63
+ has been constructed to contain a version number anchor tag reference,
64
+ since the anchor tag won't exist in the rendered markdown.
65
+
66
+ It's stronly recomended consumers use the full URL path to the release
67
+ page for a given version, as that URL is a permalink to that verison,
68
+ contains all relavent release information, and does not, otherwise, rely
69
+ on the anchor tag being excessible from the current page view.
70
+
71
+ As an example, for version `2.0.0` of a GitHub project, the following
72
+ URL should be used:
73
+ - https://github.com/conventional-changelog/releaser-tools/releases/tag/v2.0.0
74
+
75
+
76
+
77
+
78
+ <a name="3.0.7"></a>
79
+ ## [3.0.7](https://github.com/conventional-changelog/conventional-changelog/compare/conventional-changelog-angular@3.0.6...conventional-changelog-angular@3.0.7) (2018-04-16)
80
+
81
+
82
+
83
+
84
+ **Note:** Version bump only for package conventional-changelog-angular
85
+
6
86
  <a name="3.0.6"></a>
7
87
  ## [3.0.6](https://github.com/conventional-changelog/conventional-changelog/compare/conventional-changelog-angular@3.0.5...conventional-changelog-angular@3.0.6) (2018-03-28)
8
88
 
@@ -1,6 +1,10 @@
1
1
  'use strict'
2
2
 
3
+ const parserOpts = require(`./parser-opts`)
4
+
3
5
  module.exports = {
6
+ parserOpts,
7
+
4
8
  whatBump: (commits) => {
5
9
  let level = 2
6
10
  let breakings = 0
@@ -21,20 +25,8 @@ module.exports = {
21
25
  return {
22
26
  level: level,
23
27
  reason: breakings === 1
24
- ? `There are ${breakings} BREAKING CHANGE and ${features} features`
28
+ ? `There is ${breakings} BREAKING CHANGE and ${features} features`
25
29
  : `There are ${breakings} BREAKING CHANGES and ${features} features`
26
30
  }
27
- },
28
-
29
- parserOpts: {
30
- headerPattern: /^(\w*)(?:\((.*)\))?: (.*)$/,
31
- headerCorrespondence: [
32
- `type`,
33
- `scope`,
34
- `subject`
35
- ],
36
- noteKeywords: `BREAKING CHANGE`,
37
- revertPattern: /^revert:\s([\s\S]*?)\s*This reverts commit (\w*)\./,
38
- revertCorrespondence: [`header`, `hash`]
39
31
  }
40
32
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "conventional-changelog-angular",
3
- "version": "3.0.6",
3
+ "version": "5.0.0",
4
4
  "description": "conventional-changelog angular preset",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -26,6 +26,9 @@
26
26
  "templates"
27
27
  ],
28
28
  "author": "Steve Mao",
29
+ "engines": {
30
+ "node": ">=6.9.0"
31
+ },
29
32
  "license": "ISC",
30
33
  "bugs": {
31
34
  "url": "https://github.com/conventional-changelog/conventional-changelog/issues"
@@ -33,7 +36,7 @@
33
36
  "homepage": "https://github.com/conventional-changelog/conventional-changelog/tree/master/packages/conventional-changelog-angular#readme",
34
37
  "devDependencies": {
35
38
  "better-than-before": "^1.0.0",
36
- "conventional-changelog-core": "^2.0.10",
39
+ "conventional-changelog-core": "^3.0.0",
37
40
  "git-dummy-commit": "^1.2.0",
38
41
  "shelljs": "^0.8.0",
39
42
  "through2": "^2.0.0"
@@ -1,4 +1,3 @@
1
- <a name="{{version}}"></a>
2
1
  {{#if isPatch~}}
3
2
  ##
4
3
  {{~else~}}