@itcase/config 1.6.34 → 1.6.36

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@itcase/config",
3
- "version": "1.6.34",
3
+ "version": "1.6.36",
4
4
  "author": "ITCase",
5
5
  "description": "ITCase Config ",
6
6
  "engines": {
@@ -17,16 +17,11 @@ const releaseNotesGeneratorConfig = {
17
17
  writerOpts: {
18
18
  commitsSort: COMMITS_SORT,
19
19
  commitFilter: (commit) => {
20
- // Фильтруем merge коммиты
21
- if (
22
- !commit.type &&
23
- commit.subject &&
24
- /^Merge (branch|pull request|commit|remote-tracking|.*into|.*of)/i.test(
25
- commit.subject,
26
- )
27
- ) {
20
+ const subject = commit.subject || commit.header || ''
21
+ if (/^Merge\s/i.test(subject)) {
28
22
  return false
29
23
  }
24
+
30
25
  return true
31
26
  },
32
27
  },