-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy path.release-it.json
More file actions
41 lines (41 loc) · 1.8 KB
/
.release-it.json
File metadata and controls
41 lines (41 loc) · 1.8 KB
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
{
"$schema": "https://unpkg.com/release-it@19/schema/release-it.json",
"git": {
"commitMessage": "chore: release v${version}",
"tagName": "v${version}",
"requireCommits": true,
"requireBranch": "main",
"tagExclude": "*[-]*"
},
"github": { "release": true },
"npm": { "publish": true, "skipChecks": true },
"hooks": {
"after:bump": "yarn build",
"before:git:release": "yarn expo prebuild --no-install && git restore package.json && git add .",
"before:npm:release": "jq '. + {types: .publishConfig.types, main: .publishConfig.main}' package.json > package.json.tmp && mv package.json.tmp package.json"
},
"plugins": {
"@release-it/conventional-changelog": {
"preset": {
"name": "conventionalcommits",
"types": [
{ "type": "feat", "section": "🚀 Новый функционал", "hidden": false },
{ "type": "fix", "section": "🐛 Исправления багов", "hidden": false },
{ "type": "chore", "section": "🧹 Другое", "hidden": true },
{ "type": "docs", "section": "🧹 Другое", "hidden": false },
{ "type": "style", "section": "🧹 Другое", "hidden": false },
{ "type": "refactor", "section": "♻️ Рефакторинг", "hidden": false },
{ "type": "perf", "section": "🧹 Другое", "hidden": false },
{ "type": "test", "section": "🧹 Другое", "hidden": true },
{ "type": "build", "section": "🧹 Другое", "hidden": true },
{ "type": "ci", "section": "🧹 Другое", "hidden": true },
{ "type": "revert", "section": "🧹 Другое", "hidden": false }
]
},
"infile": "CHANGELOG.md",
"gitRawCommitsOpts": {
"ignore": "^chore: release"
}
}
}
}