Skip to content

Commit

Permalink
fix(package): update conventional-changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
pvdlg committed May 29, 2018
1 parent a005353 commit 853392e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 20 deletions.
16 changes: 8 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@
"Gregor Martynus (https://twitter.com/gr2m)"
],
"dependencies": {
"conventional-changelog-angular": "^3.0.6",
"conventional-changelog-writer": "^3.0.9",
"conventional-commits-parser": "^2.1.7",
"conventional-changelog-angular": "^4.0.0",
"conventional-changelog-writer": "^4.0.0",
"conventional-commits-parser": "^3.0.0",
"debug": "^3.1.0",
"get-stream": "^3.0.0",
"git-url-parse": "^9.0.0",
Expand All @@ -30,11 +30,11 @@
"ava": "^0.25.0",
"codecov": "^3.0.0",
"commitizen": "^2.9.6",
"conventional-changelog-atom": "^0.2.8",
"conventional-changelog-ember": "^0.3.11",
"conventional-changelog-eslint": "^1.0.9",
"conventional-changelog-express": "^0.3.6",
"conventional-changelog-jshint": "^0.3.8",
"conventional-changelog-atom": "^1.0.0",
"conventional-changelog-ember": "^1.0.0",
"conventional-changelog-eslint": "^2.0.0",
"conventional-changelog-express": "^1.0.0",
"conventional-changelog-jshint": "^1.0.0",
"cz-conventional-changelog": "^2.0.0",
"escape-string-regexp": "^1.0.5",
"nyc": "^11.1.0",
Expand Down
12 changes: 0 additions & 12 deletions test/integration.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ test('Use "conventional-changelog-angular" by default', async t => {
];
const changelog = await releaseNotesGenerator({}, {options: {repositoryUrl}, lastRelease, nextRelease, commits});

t.regex(changelog, new RegExp(escape('<a name="2.0.0"></a>')));
t.regex(changelog, new RegExp(escape('(https://github.com/owner/repo/compare/v1.0.0...v2.0.0)')));
t.regex(changelog, /### Bug Fixes/);
t.regex(changelog, new RegExp(escape('* **scope1:** First fix ([111](https://github.com/owner/repo/commit/111))')));
Expand All @@ -35,7 +34,6 @@ test('Accept a "preset" option', async t => {
{options: {repositoryUrl}, lastRelease, nextRelease, commits}
);

t.regex(changelog, new RegExp(escape('<a name="2.0.0"></a>')));
t.regex(changelog, new RegExp(escape('(https://github.com/owner/repo/compare/v1.0.0...v2.0.0)')));
t.regex(changelog, /### Fix/);
t.regex(
Expand Down Expand Up @@ -67,7 +65,6 @@ test('Accept a "config" option', async t => {
{options: {repositoryUrl}, lastRelease, nextRelease, commits}
);

t.regex(changelog, new RegExp(escape('<a name="2.0.0"></a>')));
t.regex(changelog, new RegExp(escape('(https://github.com/owner/repo/compare/v1.0.0...v2.0.0)')));
t.regex(changelog, /### Fix/);
t.regex(
Expand Down Expand Up @@ -107,7 +104,6 @@ test('Accept a "parseOpts" and "writerOpts" objects as option', async t => {
{options: {repositoryUrl}, lastRelease, nextRelease, commits}
);

t.regex(changelog, new RegExp(escape('<a name="2.0.0"></a>')));
t.regex(changelog, new RegExp(escape('(https://github.com/owner/repo/compare/v1.0.0...v2.0.0)')));
t.regex(changelog, /### Fix/);
t.regex(
Expand Down Expand Up @@ -143,7 +139,6 @@ test('Accept a partial "parseOpts" and "writerOpts" objects as option', async t
{options: {repositoryUrl}, lastRelease, nextRelease, commits}
);

t.regex(changelog, new RegExp(escape('<a name="2.0.0"></a>')));
t.regex(changelog, new RegExp(escape('(https://github.com/owner/repo/compare/v1.0.0...v2.0.0)')));
t.regex(changelog, /### Bug Fixes/);
t.regex(changelog, /\* \*\*scope2:\*\* 1 Second fix[\S\s]*\* \*\*scope1:\*\* 2 First fix/);
Expand All @@ -159,7 +154,6 @@ test('Use "gitHead" from "lastRelease" and "nextRelease" if "gitTag" is not defi
{options: {repositoryUrl}, lastRelease: {gitHead: 'abc'}, nextRelease: {gitHead: 'def', version: '2.0.0'}, commits}
);

t.regex(changelog, new RegExp(escape('<a name="2.0.0"></a>')));
t.regex(changelog, new RegExp(escape('(https://github.com/owner/repo/compare/abc...def)')));
t.regex(changelog, /### Bug Fixes/);
t.regex(changelog, new RegExp(escape('* **scope1:** First fix ([111](https://github.com/owner/repo/commit/111))')));
Expand All @@ -180,7 +174,6 @@ test('Accept a custom repository URL', async t => {
{options: {repositoryUrl: 'http://domain.com:90/owner/repo'}, lastRelease, nextRelease, commits}
);

t.regex(changelog, new RegExp(escape('<a name="2.0.0"></a>')));
t.regex(changelog, new RegExp(escape('(http://domain.com:90/owner/repo/compare/v1.0.0...v2.0.0)')));
t.regex(changelog, /### Bug Fixes/);
t.regex(changelog, new RegExp(escape('* **scope1:** First fix ([111](http://domain.com:90/owner/repo/commit/111))')));
Expand All @@ -201,7 +194,6 @@ test('Accept a custom repository URL with git format', async t => {
{options: {repositoryUrl: 'git@domain.com:owner/repo.git'}, lastRelease, nextRelease, commits}
);

t.regex(changelog, new RegExp(escape('<a name="2.0.0"></a>')));
t.regex(changelog, new RegExp(escape('(https://domain.com/owner/repo/compare/v1.0.0...v2.0.0)')));
t.regex(changelog, /### Bug Fixes/);
t.regex(changelog, new RegExp(escape('* **scope1:** First fix ([111](https://domain.com/owner/repo/commit/111))')));
Expand All @@ -222,7 +214,6 @@ test('Accept a custom repository URL with git+http format', async t => {
{options: {repositoryUrl: 'git+http://domain.com:90/owner/repo'}, lastRelease, nextRelease, commits}
);

t.regex(changelog, new RegExp(escape('<a name="2.0.0"></a>')));
t.regex(changelog, new RegExp(escape('(http://domain.com:90/owner/repo/compare/v1.0.0...v2.0.0)')));
t.regex(changelog, /### Bug Fixes/);
t.regex(changelog, new RegExp(escape('* **scope1:** First fix ([111](http://domain.com:90/owner/repo/commit/111))')));
Expand All @@ -243,7 +234,6 @@ test('Accept a custom repository URL with git+https format', async t => {
{options: {repositoryUrl: 'git+https://domain.com:90/owner/repo'}, lastRelease, nextRelease, commits}
);

t.regex(changelog, new RegExp(escape('<a name="2.0.0"></a>')));
t.regex(changelog, new RegExp(escape('(https://domain.com:90/owner/repo/compare/v1.0.0...v2.0.0)')));
t.regex(changelog, /### Bug Fixes/);
t.regex(
Expand Down Expand Up @@ -271,7 +261,6 @@ test('Accept a Bitbucket repository URL', async t => {
{options: {repositoryUrl: 'git+https://bitbucket.org/owner/repo'}, lastRelease, nextRelease, commits}
);

t.regex(changelog, new RegExp(escape('<a name="2.0.0"></a>')));
t.regex(changelog, new RegExp(escape('(https://bitbucket.org/owner/repo/compare/v1.0.0...v2.0.0)')));
t.regex(changelog, /### Bug Fixes/);
t.regex(
Expand Down Expand Up @@ -299,7 +288,6 @@ test('Accept a Gitlab repository URL', async t => {
{options: {repositoryUrl: 'git+https://gitlab.com/owner/repo'}, lastRelease, nextRelease, commits}
);

t.regex(changelog, new RegExp(escape('<a name="2.0.0"></a>')));
t.regex(changelog, new RegExp(escape('(https://gitlab.com/owner/repo/compare/v1.0.0...v2.0.0)')));
t.regex(changelog, /### Bug Fixes/);
t.regex(
Expand Down

0 comments on commit 853392e

Please sign in to comment.