-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
100 lines (100 loc) · 2.48 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
{
"devDependencies": {
"@commitlint/config-conventional": "19.2.2",
"semantic-release-replace-plugin": "1.2.7",
"@semantic-release/changelog": "6.0.3",
"@semantic-release/exec": "6.0.3",
"@semantic-release/git": "10.0.1",
"@semantic-release/github": "10.1.3",
"commitlint": "19.4.0",
"conventional-changelog-conventionalcommits": "8.0.0",
"cz-conventional-changelog": "3.3.0",
"husky": "9.1.4",
"semantic-release": "24.0.0"
},
"scripts": {
"postinstall": "husky install",
"semantic-release": "semantic-release"
},
"release": {
"branches": [
{
"name": "main"
},
{
"name": "alpha",
"prerelease": true
},
{
"name": "beta",
"prerelease": true
}
],
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
"@semantic-release/changelog",
[
"semantic-release-replace-plugin",
{
"replacements": [
{
"files": [
"gradle.properties"
],
"from": "version\\s?=\\s?.*",
"to": "version = ${nextRelease.version}",
"results": [
{
"file": "gradle.properties",
"hasChanged": true,
"numMatches": 1,
"numReplacements": 1
}
],
"countMatches": true
},
{
"files": [
"protos/buf.gen.yaml"
],
"from": "- version\\s?=\\s?.*",
"to": "- version=${nextRelease.version}",
"results": [
{
"file": "protos/buf.gen.yaml",
"hasChanged": true,
"numMatches": 1,
"numReplacements": 1
}
],
"countMatches": true
}
]
}
],
[
"@semantic-release/git",
{
"message": "chore(release): ${nextRelease.version}\n\n${nextRelease.notes}",
"assets": [
"gradle.properties",
"protos/buf.gen.yaml",
"CHANGELOG.md"
]
}
],
"@semantic-release/github"
]
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
}
}