@itcase/config 1.0.43 → 1.0.44
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,7 +1,39 @@
|
|
|
1
|
-
|
|
1
|
+
/* eslint-disable perfectionist/sort-objects */
|
|
2
|
+
|
|
3
|
+
// Keywords for important notes. This value is case insensitive.
|
|
4
|
+
const noteKeywords = ['BREAKING CHANGE', 'BREAKING CHANGES', 'BREAKING']
|
|
5
|
+
|
|
6
|
+
const releaseRules = [
|
|
7
|
+
// Hidden general semver releases
|
|
8
|
+
{ type: 'major', release: 'major' },
|
|
9
|
+
{ type: 'minor', release: 'minor' },
|
|
10
|
+
{ type: 'patch', release: 'patch' },
|
|
11
|
+
// Main changes
|
|
12
|
+
{ type: 'fix', release: 'patch' },
|
|
13
|
+
{ type: 'feat', release: 'patch' },
|
|
14
|
+
{
|
|
15
|
+
type: 'feat',
|
|
16
|
+
scope: 'minor',
|
|
17
|
+
release: 'minor',
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
type: 'feat',
|
|
21
|
+
scope: 'major',
|
|
22
|
+
release: 'major',
|
|
23
|
+
},
|
|
24
|
+
{ type: 'styles', release: 'patch' },
|
|
25
|
+
// Special changes
|
|
26
|
+
{ type: 'chore', release: false },
|
|
27
|
+
{ type: 'docs', release: false },
|
|
28
|
+
{ type: 'docs', scope: 'readme', release: 'patch' },
|
|
29
|
+
{ type: 'refactor', release: 'patch' },
|
|
30
|
+
{ type: 'perf', release: 'patch' },
|
|
31
|
+
{ type: 'tests', release: false },
|
|
32
|
+
]
|
|
2
33
|
|
|
3
34
|
const lernaSemanticReleaseConfig = {
|
|
4
|
-
|
|
35
|
+
branches: ['master'],
|
|
36
|
+
preset: 'conventionalcommits',
|
|
5
37
|
plugins: [
|
|
6
38
|
[
|
|
7
39
|
'@semantic-release/commit-analyzer',
|
|
@@ -14,6 +46,19 @@ const lernaSemanticReleaseConfig = {
|
|
|
14
46
|
[
|
|
15
47
|
'@semantic-release/release-notes-generator',
|
|
16
48
|
{
|
|
49
|
+
presetConfig: {
|
|
50
|
+
types: [
|
|
51
|
+
{ type: 'fix', section: 'Fixes' },
|
|
52
|
+
{ type: 'feat', section: 'Features' },
|
|
53
|
+
{ type: 'styles', section: 'CSS and styles' },
|
|
54
|
+
{ type: 'refactor', section: 'Refactoring' },
|
|
55
|
+
{
|
|
56
|
+
type: 'perf',
|
|
57
|
+
section: 'Performance Improvements',
|
|
58
|
+
},
|
|
59
|
+
{ type: 'tests', section: 'Tests' },
|
|
60
|
+
],
|
|
61
|
+
},
|
|
17
62
|
parserOpts: { noteKeywords: noteKeywords },
|
|
18
63
|
writerOpts: { commitsSort: ['subject', 'scope'] },
|
|
19
64
|
},
|
|
@@ -24,6 +69,7 @@ const lernaSemanticReleaseConfig = {
|
|
|
24
69
|
changelogFile: 'CHANGELOG.md',
|
|
25
70
|
},
|
|
26
71
|
],
|
|
72
|
+
'@semantic-release/npm',
|
|
27
73
|
[
|
|
28
74
|
'@semantic-release/git',
|
|
29
75
|
{
|