Skip to content

Commit e499b92

Browse files
committed
chore(changelog): fix conventional-changelog-angular changelog generation
1 parent 3cb2b11 commit e499b92

4 files changed

+32
-2
lines changed

CHANGELOG.md

+13
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,19 @@
11
## [3.0.1](https://github.com/ReactiveX/IxJS/compare/v3.0.0...v3.0.1) (2020-02-21)
22

33

4+
### chore
5+
6+
* **ESLint:** move from TSLint to ESLint ([#295](https://github.com/ReactiveX/IxJS/issues/295)) ([b0c90cb](https://github.com/ReactiveX/IxJS/commit/b0c90cb0798639b2fc878d4e9b5521bfb2bb63d8)), closes [#284](https://github.com/ReactiveX/IxJS/issues/284)
7+
* **lint:** Exorcise tslint from the project ([#296](https://github.com/ReactiveX/IxJS/issues/296)) ([#297](https://github.com/ReactiveX/IxJS/issues/297)) ([86e887d](https://github.com/ReactiveX/IxJS/commit/86e887dd3c2870461e2eb60c80e1403c5d879cf1))
8+
* **release:** 3.0.1 ([544eb4a](https://github.com/ReactiveX/IxJS/commit/544eb4a7dedfb246527fc999dbcec806cb0e2939))
9+
10+
11+
### Documentation
12+
13+
* **CHANGELOG:** 3.0.1 ([0ded8c9](https://github.com/ReactiveX/IxJS/commit/0ded8c9d8655a003f00ebc30755702a216cb11cf))
14+
* **readme:** Fix package name in readme ([#291](https://github.com/ReactiveX/IxJS/issues/291)) ([85ad6f3](https://github.com/ReactiveX/IxJS/commit/85ad6f3eecc06a9dc8fbcf0b592af9179974d5c9))
15+
16+
417

518
## [2.5.3](https://github.com/ReactiveX/IxJS/compare/v2.5.2...v2.5.3) (2019-03-27)
619

npm-release.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,12 @@ npx lerna version \
99

1010
cp package.json _package.json
1111
npm --no-git-tag-version version $bump &>/dev/null
12-
npx conventional-changelog -i CHANGELOG.md -s
12+
npx conventional-changelog -i CHANGELOG.md -s -p angular
1313
git add CHANGELOG.md lerna.json && version=$(npx json -f package.json version)
1414
git commit -m "docs(CHANGELOG): $version" -n
1515
mv -f _package.json package.json
1616
npm version $bump -m "chore(release): %s"
1717
git push --follow-tags
18-
npx conventional-github-releaser -p
18+
npx conventional-github-releaser -p angular
1919

2020
npx lerna exec --no-bail -- npm publish

package.json

+4
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
"lint": "run-p lint:*",
1515
"release": "./npm-release.sh",
1616
"doc": "shx rm -rf ./doc && typedoc --options typedoc.js",
17+
"postinstall": "patch-package --patch-dir ./patches",
1718
"commitmsg": "validate-commit-msg",
1819
"test:coverage": "gulp test -t src --coverage",
1920
"lint:src": "eslint --ext .ts --fix \"src/**/*.ts\"",
@@ -58,6 +59,7 @@
5859
"command-line-args": "5.1.1",
5960
"commitizen": "4.0.3",
6061
"conventional-changelog": "3.1.18",
62+
"conventional-changelog-angular": "5.0.6",
6163
"conventional-changelog-cli": "2.0.31",
6264
"conventional-github-releaser": "3.1.3",
6365
"coveralls": "3.0.9",
@@ -81,6 +83,8 @@
8183
"lint-staged": "10.0.7",
8284
"mkdirp": "1.0.3",
8385
"npm-run-all": "4.1.5",
86+
"patch-package": "6.2.0",
87+
"postinstall-postinstall": "2.0.0",
8488
"pre-git": "3.17.1",
8589
"prettier": "1.19.1",
8690
"rimraf": "3.0.2",
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
diff --git a/node_modules/conventional-changelog-angular/writer-opts.js b/node_modules/conventional-changelog-angular/writer-opts.js
2+
index d5de1a3..06b0c7b 100644
3+
--- a/node_modules/conventional-changelog-angular/writer-opts.js
4+
+++ b/node_modules/conventional-changelog-angular/writer-opts.js
5+
@@ -25,7 +25,7 @@ module.exports = Q.all([
6+
function getWriterOpts () {
7+
return {
8+
transform: (commit, context) => {
9+
- let discard = true
10+
+ let discard = false
11+
const issues = []
12+
13+
commit.notes.forEach(note => {

0 commit comments

Comments
 (0)