offline-github-changelog
Advanced tools
Comparing version 3.0.1 to 3.0.2
@@ -0,4 +1,15 @@ | ||
### v3.0.2 (2024-01-24) | ||
- [#102](https://github.com/sunesimonsen/offline-github-changelog/pull/102) Fix duplicated authors ([Sune Simonsen](mailto:sune@we-knowhow.dk)) | ||
- [#100](https://github.com/sunesimonsen/offline-github-changelog/pull/100) Bump prettier from 3.1.1 to 3.2.2 ([dependabot[bot]](mailto:49699333+dependabot[bot]@users.noreply.github.com)) | ||
- [#99](https://github.com/sunesimonsen/offline-github-changelog/pull/99) Bump prettier from 3.0.3 to 3.1.0 ([dependabot[bot]](mailto:49699333+dependabot[bot]@users.noreply.github.com)) | ||
- [#98](https://github.com/sunesimonsen/offline-github-changelog/pull/98) Bump sinon from 16.1.3 to 17.0.1 ([dependabot[bot]](mailto:49699333+dependabot[bot]@users.noreply.github.com)) | ||
- [#96](https://github.com/sunesimonsen/offline-github-changelog/pull/96) Bump sinon from 15.2.0 to 16.0.0 ([dependabot[bot]](mailto:49699333+dependabot[bot]@users.noreply.github.com)) | ||
- [#95](https://github.com/sunesimonsen/offline-github-changelog/pull/95) Bump eslint-config-prettier from 8.10.0 to 9.0.0 ([dependabot[bot]](mailto:49699333+dependabot[bot]@users.noreply.github.com)) | ||
- [#93](https://github.com/sunesimonsen/offline-github-changelog/pull/93) Bump eslint-plugin-n from 15.7.0 to 16.0.1 ([dependabot[bot]](mailto:49699333+dependabot[bot]@users.noreply.github.com)) | ||
- [#94](https://github.com/sunesimonsen/offline-github-changelog/pull/94) Bump prettier from 2.8.8 to 3.0.0 ([Andreas Lind](mailto:andreaslindpetersen@gmail.com), [dependabot[bot]](mailto:49699333+dependabot[bot]@users.noreply.github.com)) | ||
### v3.0.1 (2022-12-06) | ||
- [#91](https://github.com/sunesimonsen/offline-github-changelog/pull/91) Upgrade transformation ([Sune Simonsen](mailto:sune@we-knowhow.dk), [Sune Simonsen](mailto:sune@we-knowhow.dk)) | ||
- [#91](https://github.com/sunesimonsen/offline-github-changelog/pull/91) Upgrade transformation ([Sune Simonsen](mailto:sune@we-knowhow.dk)) | ||
- [#90](https://github.com/sunesimonsen/offline-github-changelog/pull/90) Bump sinon from 14.0.2 to 15.0.0 ([dependabot[bot]](mailto:49699333+dependabot[bot]@users.noreply.github.com)) | ||
@@ -15,3 +26,3 @@ - [#89](https://github.com/sunesimonsen/offline-github-changelog/pull/89) Bump prettier from 2.7.1 to 2.8.0 ([dependabot[bot]](mailto:49699333+dependabot[bot]@users.noreply.github.com)) | ||
- [#85](https://github.com/sunesimonsen/offline-github-changelog/pull/85) Bump meow from 9.0.0 to 11.0.0 ([dependabot[bot]](mailto:49699333+dependabot[bot]@users.noreply.github.com)) | ||
- [#86](https://github.com/sunesimonsen/offline-github-changelog/pull/86) Bump mocha from 9.2.2 to 10.1.0 ([Andreas Lind](mailto:andreaslindpetersen@gmail.com), [Andreas Lind](mailto:andreaslindpetersen@gmail.com), [Andreas Lind](mailto:andreaslindpetersen@gmail.com), [dependabot[bot]](mailto:49699333+dependabot[bot]@users.noreply.github.com)) | ||
- [#86](https://github.com/sunesimonsen/offline-github-changelog/pull/86) Bump mocha from 9.2.2 to 10.1.0 ([Andreas Lind](mailto:andreaslindpetersen@gmail.com), [dependabot[bot]](mailto:49699333+dependabot[bot]@users.noreply.github.com)) | ||
- [#80](https://github.com/sunesimonsen/offline-github-changelog/pull/80) Bump @transformation\/ejs from 5.1.1 to 6.0.0 ([dependabot[bot]](mailto:49699333+dependabot[bot]@users.noreply.github.com)) | ||
@@ -27,3 +38,3 @@ | ||
- [#78](https://github.com/sunesimonsen/offline-github-changelog/pull/78) Upgrade transformation ([Sune Simonsen](mailto:sune@we-knowhow.dk), [Sune Simonsen](mailto:sune@we-knowhow.dk), [Sune Simonsen](mailto:sune@we-knowhow.dk), [Sune Simonsen](mailto:sune@we-knowhow.dk)) | ||
- [#78](https://github.com/sunesimonsen/offline-github-changelog/pull/78) Upgrade transformation ([Sune Simonsen](mailto:sune@we-knowhow.dk)) | ||
- [#74](https://github.com/sunesimonsen/offline-github-changelog/pull/74) Bump sinon from 13.0.2 to 14.0.0 ([dependabot[bot]](mailto:49699333+dependabot[bot]@users.noreply.github.com)) | ||
@@ -91,4 +102,4 @@ - [#70](https://github.com/sunesimonsen/offline-github-changelog/pull/70) Bump prettier from 2.5.1 to 2.6.2 ([dependabot[bot]](mailto:49699333+dependabot[bot]@users.noreply.github.com)) | ||
- [#13](https://github.com/sunesimonsen/offline-github-changelog/pull/13) Use the transformation library \(Major\) ([Sune Simonsen](mailto:sune@we-knowhow.dk), [Sune Simonsen](mailto:sune@we-knowhow.dk)) | ||
- [#12](https://github.com/sunesimonsen/offline-github-changelog/pull/12) Update prettier to ~2.0.5 ([Andreas Lind](mailto:andreaslindpetersen@gmail.com), [Andreas Lind](mailto:andreaslindpetersen@gmail.com), [Andreas Lind](mailto:andreaslindpetersen@gmail.com), [Andreas Lind](mailto:andreaslindpetersen@gmail.com)) | ||
- [#13](https://github.com/sunesimonsen/offline-github-changelog/pull/13) Use the transformation library \(Major\) ([Sune Simonsen](mailto:sune@we-knowhow.dk)) | ||
- [#12](https://github.com/sunesimonsen/offline-github-changelog/pull/12) Update prettier to ~2.0.5 ([Andreas Lind](mailto:andreaslindpetersen@gmail.com)) | ||
@@ -99,3 +110,3 @@ ### v1.7.0 (2020-07-22) | ||
- [#9](https://github.com/sunesimonsen/offline-github-changelog/pull/9) Add tests ([Andreas Lind](mailto:andreas.lind@peakon.com), [Andreas Lind](mailto:andreas.lind@peakon.com), [Andreas Lind](mailto:andreaslindpetersen@gmail.com), [Andreas Lind](mailto:andreaslindpetersen@gmail.com), [Andreas Lind](mailto:andreaslindpetersen@gmail.com), [Andreas Lind](mailto:andreaslindpetersen@gmail.com), [Andreas Lind](mailto:andreaslindpetersen@gmail.com), [Andreas Lind](mailto:andreaslindpetersen@gmail.com), [Andreas Lind](mailto:andreaslindpetersen@gmail.com), [Andreas Lind](mailto:andreaslindpetersen@gmail.com), [Andreas Lind](mailto:andreaslindpetersen@gmail.com), [Andreas Lind](mailto:andreaslindpetersen@gmail.com), [Andreas Lind](mailto:andreaslindpetersen@gmail.com), [Andreas Lind](mailto:andreaslindpetersen@gmail.com), [Andreas Lind](mailto:andreaslindpetersen@gmail.com), [Andreas Lind](mailto:andreaslindpetersen@gmail.com), [Andreas Lind](mailto:andreaslindpetersen@gmail.com), [Andreas Lind](mailto:andreaslindpetersen@gmail.com), [Andreas Lind](mailto:andreaslindpetersen@gmail.com), [Andreas Lind](mailto:andreaslindpetersen@gmail.com), [Andreas Lind](mailto:andreaslindpetersen@gmail.com), [Andreas Lind](mailto:andreaslindpetersen@gmail.com), [Sune Simonsen](mailto:sune@we-knowhow.dk)) | ||
- [#9](https://github.com/sunesimonsen/offline-github-changelog/pull/9) Add tests ([Andreas Lind](mailto:andreas.lind@peakon.com), [Andreas Lind](mailto:andreaslindpetersen@gmail.com), [Sune Simonsen](mailto:sune@we-knowhow.dk)) | ||
@@ -110,3 +121,3 @@ #### Commits to master | ||
- [#8](https://github.com/sunesimonsen/offline-github-changelog/pull/8) Fix support for old tags\/refs where %\(ref\) comes out empty for some reason ([Andreas Lind](mailto:andreaslindpetersen@gmail.com), [Andreas Lind](mailto:andreaslindpetersen@gmail.com)) | ||
- [#8](https://github.com/sunesimonsen/offline-github-changelog/pull/8) Fix support for old tags\/refs where %\(ref\) comes out empty for some reason ([Andreas Lind](mailto:andreaslindpetersen@gmail.com)) | ||
@@ -116,20 +127,20 @@ ### v1.6.0 (2019-03-31) | ||
- [#7](https://github.com/sunesimonsen/offline-github-changelog/pull/7) Implement --next switch ([Andreas Lind](mailto:andreaslindpetersen@gmail.com)) | ||
- [#6](https://github.com/sunesimonsen/offline-github-changelog/pull/6) Add prettier, eslint, and Travis config ([Andreas Lind](mailto:andreaslindpetersen@gmail.com), [Andreas Lind](mailto:andreaslindpetersen@gmail.com), [Andreas Lind](mailto:andreaslindpetersen@gmail.com), [Andreas Lind](mailto:andreaslindpetersen@gmail.com), [Andreas Lind](mailto:andreaslindpetersen@gmail.com)) | ||
- [#6](https://github.com/sunesimonsen/offline-github-changelog/pull/6) Add prettier, eslint, and Travis config ([Andreas Lind](mailto:andreaslindpetersen@gmail.com)) | ||
### v1.5.0 (2019-03-12) | ||
- [#5](https://github.com/sunesimonsen/offline-github-changelog/pull/5) Also include regular commits \(not via PRs\) in the changelog to avoid gaps ([Andreas Lind](mailto:andreaslindpetersen@gmail.com), [Andreas Lind](mailto:andreaslindpetersen@gmail.com), [Andreas Lind](mailto:andreaslindpetersen@gmail.com), [Andreas Lind](mailto:andreaslindpetersen@gmail.com), [Sune Simonsen](mailto:sune@we-knowhow.dk), [Sune Simonsen](mailto:sune@we-knowhow.dk)) | ||
- [#5](https://github.com/sunesimonsen/offline-github-changelog/pull/5) Also include regular commits \(not via PRs\) in the changelog to avoid gaps ([Andreas Lind](mailto:andreaslindpetersen@gmail.com), [Sune Simonsen](mailto:sune@we-knowhow.dk)) | ||
### v1.4.0 (2019-01-07) | ||
- [#3](https://github.com/sunesimonsen/offline-github-changelog/pull/3) Add a remote cli argument ([Andrea D](mailto:nkjoep@gmail.com), [Andrea D](mailto:nkjoep@gmail.com)) | ||
- [#3](https://github.com/sunesimonsen/offline-github-changelog/pull/3) Add a remote cli argument ([Andrea D](mailto:nkjoep@gmail.com)) | ||
### v1.3.0 (2019-01-06) | ||
- [#4](https://github.com/sunesimonsen/offline-github-changelog/pull/4) Escape markdown special characters in PR titles ([Andreas Lind](mailto:andreaslindpetersen@gmail.com), [Andreas Lind](mailto:andreaslindpetersen@gmail.com)) | ||
- [#4](https://github.com/sunesimonsen/offline-github-changelog/pull/4) Escape markdown special characters in PR titles ([Andreas Lind](mailto:andreaslindpetersen@gmail.com)) | ||
### v1.1.3 (2019-01-05) | ||
- [#4](https://github.com/sunesimonsen/offline-github-changelog/pull/4) Escape markdown special characters in PR titles ([Andreas Lind](mailto:andreaslindpetersen@gmail.com), [Andreas Lind](mailto:andreaslindpetersen@gmail.com)) | ||
- [#2](https://github.com/sunesimonsen/offline-github-changelog/pull/2) Credit authors ([Sune Simonsen](mailto:sune@we-knowhow.dk), [Sune Simonsen](mailto:sune@we-knowhow.dk), [Sune Simonsen](mailto:sune@we-knowhow.dk)) | ||
- [#4](https://github.com/sunesimonsen/offline-github-changelog/pull/4) Escape markdown special characters in PR titles ([Andreas Lind](mailto:andreaslindpetersen@gmail.com)) | ||
- [#2](https://github.com/sunesimonsen/offline-github-changelog/pull/2) Credit authors ([Sune Simonsen](mailto:sune@we-knowhow.dk)) | ||
@@ -136,0 +147,0 @@ ### v1.1.2 (2017-10-05) |
@@ -28,5 +28,5 @@ const { | ||
regularCommits: regularCommits(), | ||
}) | ||
}), | ||
), | ||
addCommitSummary() | ||
addCommitSummary(), | ||
); | ||
@@ -42,3 +42,3 @@ | ||
tagToMarkdown({ currentBranch }), | ||
join('\n\n') | ||
join('\n\n'), | ||
); | ||
@@ -58,3 +58,3 @@ | ||
interleave(''), | ||
tap() | ||
tap(), | ||
); | ||
@@ -61,0 +61,0 @@ }; |
@@ -28,3 +28,3 @@ const { | ||
(line && line.startsWith('Merge pull request')) || | ||
/ \(#\d+\)/.test(line) | ||
/ \(#\d+\)/.test(line), | ||
), | ||
@@ -53,3 +53,3 @@ (line) => | ||
pullRequestNumber: pullRequest.match( | ||
/Merge pull request #(\d+) from/ | ||
/Merge pull request #(\d+) from/, | ||
)[1], | ||
@@ -79,11 +79,11 @@ from, | ||
sort(), | ||
toArray() | ||
toArray(), | ||
), | ||
}), | ||
transform({ | ||
authors: (authors) => Array.from(new Set(authors)), | ||
authors: map((authors) => Array.from(new Set(authors))), | ||
}), | ||
toArray() | ||
toArray(), | ||
); | ||
module.exports = merges; |
@@ -23,5 +23,5 @@ const { filter, pipeline, toArray } = require('@transformation/core'); | ||
}), | ||
toArray() | ||
toArray(), | ||
); | ||
module.exports = regularCommits; |
@@ -11,5 +11,5 @@ const { pipeline } = require('@transformation/core'); | ||
(url) => url.replace(/^git@github.com:/, 'https://github.com/'), | ||
(url) => url.replace(/.git$/, '') | ||
(url) => url.replace(/.git$/, ''), | ||
); | ||
module.exports = repositoryUrl; |
@@ -39,3 +39,3 @@ const semver = require('semver'); | ||
sort(({ tag: a }, { tag: b }) => | ||
semver.lt(a, b) ? -1 : semver.gt(a, b) ? 1 : 0 | ||
semver.lt(a, b) ? -1 : semver.gt(a, b) ? 1 : 0, | ||
), | ||
@@ -50,7 +50,7 @@ accumulate( | ||
}), | ||
{} | ||
{}, | ||
), | ||
reverse() | ||
reverse(), | ||
); | ||
module.exports = tags; |
@@ -15,5 +15,5 @@ const markdownEscape = require('markdown-escape'); | ||
(markdown) => markdown.trim(), | ||
filter(Boolean) | ||
filter(Boolean), | ||
); | ||
module.exports = tagToMarkdown; |
{ | ||
"name": "offline-github-changelog", | ||
"version": "3.0.1", | ||
"version": "3.0.2", | ||
"description": "A changelog generator for Github projects that only uses the Git history", | ||
@@ -38,12 +38,12 @@ "main": "./lib/index.js", | ||
"eslint": "^8.25.0", | ||
"eslint-config-prettier": "^8.5.0", | ||
"eslint-config-prettier": "^9.0.0", | ||
"eslint-config-standard": "^17.0.0", | ||
"eslint-plugin-import": "^2.26.0", | ||
"eslint-plugin-mocha": "^10.1.0", | ||
"eslint-plugin-n": "^15.3.0", | ||
"eslint-plugin-n": "^16.0.1", | ||
"eslint-plugin-promise": "^6.1.1", | ||
"mocha": "^10.1.0", | ||
"prettier": "~2.8.0", | ||
"prettier": "~3.2.2", | ||
"semver": "^7.3.8", | ||
"sinon": "^15.0.0", | ||
"sinon": "^17.0.1", | ||
"unexpected": "^13.0.1", | ||
@@ -50,0 +50,0 @@ "unexpected-snapshot": "^2.1.0" |
@@ -57,3 +57,3 @@ const { markdownChangelogString } = require('../'); | ||
- [Release 1.0.0](https://github.com/papandreou/offline-github-changelog-test1/commit/e1fe60089ad08d31929707a1713d711e9a49b58c) ([Andreas Lind](mailto:andreaslindpetersen@gmail.com)) | ||
- [Commit to master before first release](https://github.com/papandreou/offline-github-changelog-test1/commit/36851b522fc40ada3bb85d52d77183db23285143) ([Andreas Lind](mailto:andreaslindpetersen@gmail.com))` | ||
- [Commit to master before first release](https://github.com/papandreou/offline-github-changelog-test1/commit/36851b522fc40ada3bb85d52d77183db23285143) ([Andreas Lind](mailto:andreaslindpetersen@gmail.com))`, | ||
); | ||
@@ -107,3 +107,3 @@ }); | ||
- [Release 1.0.0](https://github.com/papandreou/offline-github-changelog-test1/commit/e1fe60089ad08d31929707a1713d711e9a49b58c) ([Andreas Lind](mailto:andreaslindpetersen@gmail.com)) | ||
- [Commit to master before first release](https://github.com/papandreou/offline-github-changelog-test1/commit/36851b522fc40ada3bb85d52d77183db23285143) ([Andreas Lind](mailto:andreaslindpetersen@gmail.com))` | ||
- [Commit to master before first release](https://github.com/papandreou/offline-github-changelog-test1/commit/36851b522fc40ada3bb85d52d77183db23285143) ([Andreas Lind](mailto:andreaslindpetersen@gmail.com))`, | ||
); | ||
@@ -110,0 +110,0 @@ }); |
Sorry, the diff of this file is not supported yet
35974
24