-
Notifications
You must be signed in to change notification settings - Fork 18
/
package.json
73 lines (73 loc) · 1.74 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
{
"dependencies": {
"@google/semantic-release-replace-plugin": "^1.1.0",
"@semantic-release/changelog": "^6.0.1",
"@semantic-release/exec": "^6.0.3",
"@semantic-release/git": "^10.0.1",
"is-ci": "^3.0.1",
"semantic-release": "^19.0.2"
},
"devDependencies": {
"@commitlint/cli": "^16.2.1",
"@commitlint/config-conventional": "^16.2.1",
"commitlint": "^16.2.1",
"pinst": "^3.0.0"
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"release": {
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
"@semantic-release/changelog",
[
"@google/semantic-release-replace-plugin",
{
"replacements": [
{
"files": [
"src/config.py"
],
"from": "VERSION = '.*'",
"to": "VERSION = '${nextRelease.version}'",
"results": [
{
"file": "src/config.py",
"hasChanged": true,
"numMatches": 1,
"numReplacements": 1
}
],
"countMatches": true
}
]
}
],
[
"@semantic-release/exec",
{
"publishCmd": "echo 'VERSION_TAG=${nextRelease.version}' >> $GITHUB_ENV"
}
],
[
"@semantic-release/git",
{
"assets": [
"src/config.py",
"CHANGELOG.md"
]
}
],
"@semantic-release/github"
]
},
"scripts": {
"prepare": "is-ci",
"postinstall": "is-ci",
"prepublishOnly": "pinst --disable",
"postpublish": "pinst --enable"
}
}