@itcase/config 1.6.0 → 1.6.1
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.
|
@@ -1,9 +1,5 @@
|
|
|
1
1
|
/* eslint-disable perfectionist/sort-objects */
|
|
2
2
|
|
|
3
|
-
import { releaseRules } from '../semantic-release/index.js'
|
|
4
|
-
|
|
5
|
-
const commitTypes = new Set(releaseRules.map((releaseRule) => releaseRule.type))
|
|
6
|
-
|
|
7
3
|
export default {
|
|
8
4
|
parserPreset: 'conventional-changelog-conventionalcommits',
|
|
9
5
|
extends: ['@commitlint/config-conventional'],
|
|
@@ -19,7 +15,7 @@ export default {
|
|
|
19
15
|
'type-empty': [2, 'never'],
|
|
20
16
|
'scope-empty': [2, 'never'],
|
|
21
17
|
'footer-empty': [1, 'always'],
|
|
22
|
-
'type-enum': [2, 'always',
|
|
18
|
+
'type-enum': [2, 'always', ['patch', 'minor', 'major']],
|
|
23
19
|
},
|
|
24
20
|
defaultIgnores: true,
|
|
25
21
|
prompt: {
|
package/package.json
CHANGED
|
@@ -4,10 +4,15 @@
|
|
|
4
4
|
const noteKeywords = ['BREAKING CHANGE', 'BREAKING CHANGES', 'BREAKING']
|
|
5
5
|
|
|
6
6
|
const releaseRules = [
|
|
7
|
-
// Hidden general semver releases
|
|
8
7
|
{ type: 'major', release: 'major' },
|
|
9
8
|
{ type: 'minor', release: 'minor' },
|
|
10
9
|
{ type: 'patch', release: 'patch' },
|
|
10
|
+
{ type: 'feat', release: 'patch' },
|
|
11
|
+
{ type: 'fix', release: 'patch' },
|
|
12
|
+
{ type: 'docs', release: 'patch' },
|
|
13
|
+
{ type: 'test', release: 'patch' },
|
|
14
|
+
{ type: 'ci', release: 'patch' },
|
|
15
|
+
{ type: 'other', release: 'patch' },
|
|
11
16
|
]
|
|
12
17
|
|
|
13
18
|
const semanticReleaseConfig = {
|
|
@@ -4,10 +4,15 @@
|
|
|
4
4
|
const noteKeywords = ['BREAKING CHANGE', 'BREAKING CHANGES', 'BREAKING']
|
|
5
5
|
|
|
6
6
|
const releaseRules = [
|
|
7
|
-
// Hidden general semver releases
|
|
8
7
|
{ type: 'major', release: 'major' },
|
|
9
8
|
{ type: 'minor', release: 'minor' },
|
|
10
9
|
{ type: 'patch', release: 'patch' },
|
|
10
|
+
{ type: 'feat', release: 'patch' },
|
|
11
|
+
{ type: 'fix', release: 'patch' },
|
|
12
|
+
{ type: 'docs', release: 'patch' },
|
|
13
|
+
{ type: 'test', release: 'patch' },
|
|
14
|
+
{ type: 'ci', release: 'patch' },
|
|
15
|
+
{ type: 'other', release: 'patch' },
|
|
11
16
|
]
|
|
12
17
|
|
|
13
18
|
const lernaSemanticReleaseConfig = {
|
|
@@ -4,10 +4,15 @@
|
|
|
4
4
|
const noteKeywords = ['BREAKING CHANGE', 'BREAKING CHANGES', 'BREAKING']
|
|
5
5
|
|
|
6
6
|
const releaseRules = [
|
|
7
|
-
// Hidden general semver releases
|
|
8
7
|
{ type: 'major', release: 'major' },
|
|
9
8
|
{ type: 'minor', release: 'minor' },
|
|
10
9
|
{ type: 'patch', release: 'patch' },
|
|
10
|
+
{ type: 'feat', release: 'patch' },
|
|
11
|
+
{ type: 'fix', release: 'patch' },
|
|
12
|
+
{ type: 'docs', release: 'patch' },
|
|
13
|
+
{ type: 'test', release: 'patch' },
|
|
14
|
+
{ type: 'ci', release: 'patch' },
|
|
15
|
+
{ type: 'other', release: 'patch' },
|
|
11
16
|
]
|
|
12
17
|
|
|
13
18
|
const semanticReleaseConfig = {
|