@itcase/config 1.6.40 → 1.6.42

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.40",
3
+ "version": "1.6.42",
4
4
  "author": "ITCase",
5
5
  "description": "ITCase Config",
6
6
  "engines": {
@@ -10,10 +10,13 @@ import {
10
10
  } from './config.js'
11
11
 
12
12
  const releaseNotesGeneratorConfig = {
13
+ preset: PRESET,
13
14
  parserOpts: { noteKeywords: releaseNoteKeywords },
14
15
  presetConfig: {
15
16
  types: releaseNotesTypes,
16
17
  },
18
+ linkReferences: true,
19
+ linkCompare: true,
17
20
  writerOpts: {
18
21
  commitsSort: COMMITS_SORT,
19
22
  commitFilter: (commit) => {
@@ -38,6 +41,8 @@ const commonPlugins = {
38
41
  commitAnalyzer: [
39
42
  '@semantic-release/commit-analyzer',
40
43
  {
44
+ preset: PRESET,
45
+ presetConfig: {},
41
46
  parserOpts: { noteKeywords: releaseNoteKeywords },
42
47
  releaseRules: releaseRules,
43
48
  },
@@ -90,12 +95,9 @@ function createSemanticReleaseConfig({
90
95
 
91
96
  plugins.push(['@semantic-release/git', gitConfig], commonPlugins.github)
92
97
 
93
- const preset = PRESET
94
-
95
98
  return {
96
99
  branches,
97
100
  plugins,
98
- preset,
99
101
  }
100
102
  }
101
103
 
@@ -15,11 +15,11 @@ const releaseRules = [
15
15
  const releaseNotesTypes = [
16
16
  { type: 'feat', section: 'Features' },
17
17
  { type: 'fix', section: 'Bug Fixes' },
18
- { type: 'refactor', release: 'Refactoring' },
18
+ { type: 'refactor', section: 'Refactoring' },
19
19
  { type: 'docs', section: 'Documentation' },
20
20
  { type: 'test', section: 'Tests' },
21
21
  { type: 'ci', section: 'Continuous Integrations' },
22
- { type: 'deps', release: 'Dependencies' },
22
+ { type: 'deps', section: 'Dependencies' },
23
23
  { type: 'other', section: 'Other' },
24
24
  ]
25
25