forked from codeart1st/mvt-reader
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
106 lines (106 loc) · 2.68 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
101
102
103
104
105
106
{
"private": true,
"scripts": {
"test": "jest ./tests"
},
"engines": {
"node": ">=18"
},
"devDependencies": {
"semantic-release-replace-plugin": "1.2.7",
"@semantic-release-cargo/semantic-release-cargo": "2.3.39",
"@semantic-release/git": "10.0.1",
"@semantic-release/github": "10.1.1",
"jest": "29.7.0",
"semantic-release": "24.0.0"
},
"jest": {
"modulePathIgnorePatterns": [
"<rootDir>/package.json",
"<rootDir>/pkg/package.json"
]
},
"release": {
"branches": [
"main",
{
"name": "beta",
"prerelease": true
},
{
"name": "alpha",
"prerelease": true
}
],
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
[
"semantic-release-replace-plugin",
{
"replacements": [
{
"files": ["README.md", "pkg/README.md", "src/lib.rs"],
"from": "(?<=mvt-reader = \\\")\\d+\\.\\d+\\.\\d+(-\\w+\\.\\d+)?(?=\\\")",
"to": "${nextRelease.version}",
"results": [
{
"file": "README.md",
"hasChanged": true,
"numMatches": 1,
"numReplacements": 1
},
{
"file": "pkg/README.md",
"hasChanged": true,
"numMatches": 1,
"numReplacements": 1
},
{
"file": "src/lib.rs",
"hasChanged": true,
"numMatches": 1,
"numReplacements": 1
}
],
"countMatches": true
},
{
"files": ["src/lib.rs"],
"from": "(?<=version = \\\")\\d+\\.\\d+\\.\\d+(-\\w+\\.\\d+)?(?=\\\")",
"to": "${nextRelease.version}",
"results": [
{
"file": "src/lib.rs",
"hasChanged": true,
"numMatches": 1,
"numReplacements": 1
}
],
"countMatches": true
}
]
}
],
"@semantic-release-cargo/semantic-release-cargo",
[
"@semantic-release/npm",
{
"pkgRoot": "pkg"
}
],
"@semantic-release/github",
[
"@semantic-release/git",
{
"assets": [
"Cargo.toml",
"README.md",
"src/lib.rs"
],
"message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
}
]
]
}
}