releaset-it-demo 1.0.1 → 1.13.3-alpha.18
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.
- package/.github/workflows/release.yml +58 -0
- package/.release-it.json +27 -17
- package/CHANGELOG.md +624 -0
- package/New-Year.gif +0 -0
- package/README.md +46 -0
- package/cliff.toml +90 -0
- package/dist.zip +0 -0
- package/git-cliff/CHANGELOG.md +14 -0
- package/package.json +10 -2
- package/scripts/build.mjs +21 -0
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
name: Release
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
tags:
|
|
6
|
+
- "v*"
|
|
7
|
+
|
|
8
|
+
permissions:
|
|
9
|
+
contents: write # to be able to publish a GitHub release
|
|
10
|
+
id-token: write # to enable use of OIDC for npm provenance
|
|
11
|
+
|
|
12
|
+
jobs:
|
|
13
|
+
build:
|
|
14
|
+
runs-on: ubuntu-latest
|
|
15
|
+
steps:
|
|
16
|
+
- name: Checkout
|
|
17
|
+
uses: actions/checkout@v6
|
|
18
|
+
with:
|
|
19
|
+
fetch-depth: 0
|
|
20
|
+
|
|
21
|
+
- name: Set up Node
|
|
22
|
+
uses: actions/setup-node@v4
|
|
23
|
+
with:
|
|
24
|
+
node-version: 24
|
|
25
|
+
registry-url: "https://registry.npmjs.org"
|
|
26
|
+
cache: "npm"
|
|
27
|
+
|
|
28
|
+
- name: Install dependencies
|
|
29
|
+
run: npm install
|
|
30
|
+
|
|
31
|
+
- name: Build
|
|
32
|
+
run: npm run build
|
|
33
|
+
|
|
34
|
+
- name: Generate a changelog
|
|
35
|
+
uses: orhun/git-cliff-action@v4
|
|
36
|
+
id: git-cliff
|
|
37
|
+
with:
|
|
38
|
+
config: cliff.toml
|
|
39
|
+
args: -vv --latest
|
|
40
|
+
|
|
41
|
+
- name: Zip dist
|
|
42
|
+
run: zip -r dist.zip dist
|
|
43
|
+
|
|
44
|
+
- name: Determine npm dist-tag
|
|
45
|
+
id: release_meta
|
|
46
|
+
uses: ajiho/determine-npm-tag-action@main
|
|
47
|
+
|
|
48
|
+
- name: Publish to npm
|
|
49
|
+
run: npm publish --tag ${{ steps.release_meta.outputs.tag }}
|
|
50
|
+
|
|
51
|
+
- name: Github Release
|
|
52
|
+
uses: softprops/action-gh-release@v2
|
|
53
|
+
env:
|
|
54
|
+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
55
|
+
with:
|
|
56
|
+
body: ${{ steps.git-cliff.outputs.content }}
|
|
57
|
+
files: dist.zip
|
|
58
|
+
prerelease: ${{ steps.release_meta.outputs.prerelease }}
|
package/.release-it.json
CHANGED
|
@@ -1,17 +1,27 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "https://unpkg.com/release-it@19/schema/release-it.json",
|
|
3
|
-
"git": {
|
|
4
|
-
"
|
|
5
|
-
"commitMessage": "chore: release v${version}"
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
"
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
"
|
|
16
|
-
|
|
17
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://unpkg.com/release-it@19/schema/release-it.json",
|
|
3
|
+
"git": {
|
|
4
|
+
"commit": true,
|
|
5
|
+
"commitMessage": "chore: release v${version}",
|
|
6
|
+
"tag": true,
|
|
7
|
+
"tagName": "v${version}",
|
|
8
|
+
"push": true
|
|
9
|
+
},
|
|
10
|
+
"npm": {
|
|
11
|
+
"publish": false
|
|
12
|
+
},
|
|
13
|
+
"github": {
|
|
14
|
+
"release": false,
|
|
15
|
+
"releaseName": "v${version}",
|
|
16
|
+
"assets": ["dist"]
|
|
17
|
+
},
|
|
18
|
+
"hooks": {
|
|
19
|
+
"after:bump": [
|
|
20
|
+
"npm run build",
|
|
21
|
+
"npx git-cliff -o --tag v${version}",
|
|
22
|
+
"git add ."
|
|
23
|
+
],
|
|
24
|
+
"after:git:release": "echo 在 git push 之后、GitHub Release 之前执行",
|
|
25
|
+
"after:release": "echo 已成功将 ${name} v${version} 发布到 ${repo.repository}。"
|
|
26
|
+
}
|
|
27
|
+
}
|
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,624 @@
|
|
|
1
|
+
[](https://git-cliff.org)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## [1.13.3-alpha.18](https://github.com/ajiho/releaset-it-demo/compare/v1.13.3-alpha.17..v1.13.3-alpha.18) - 2025-12-31
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### 🐛 Bug 修复
|
|
9
|
+
|
|
10
|
+
- Rw - ([cd8efa5](https://github.com/ajiho/releaset-it-demo/commit/cd8efa5ed7adbf8f5ef95805f9823312fa1c0c59))
|
|
11
|
+
## 🤝 Contributors
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
- @ajiho
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
## [1.13.3-alpha.17](https://github.com/ajiho/releaset-it-demo/compare/v1.13.3-alpha.16..v1.13.3-alpha.17) - 2025-12-31
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### 🐛 Bug 修复
|
|
21
|
+
|
|
22
|
+
- Dfsre - ([ed0fad5](https://github.com/ajiho/releaset-it-demo/commit/ed0fad59a2fcd4d38f8f2593677f2cfa7b3ae483))
|
|
23
|
+
## 🤝 Contributors
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
- @ajiho
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
## [1.13.3-alpha.16](https://github.com/ajiho/releaset-it-demo/compare/v1.13.3-alpha.15..v1.13.3-alpha.16) - 2025-12-31
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
### 🐛 Bug 修复
|
|
33
|
+
|
|
34
|
+
- Fds - ([dde23a6](https://github.com/ajiho/releaset-it-demo/commit/dde23a631656b07b9ecc97dfefd27252095672f4))
|
|
35
|
+
## 🤝 Contributors
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
- @ajiho
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
## [1.13.3-alpha.15](https://github.com/ajiho/releaset-it-demo/compare/v1.13.3-alpha.14..v1.13.3-alpha.15) - 2025-12-31
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
### 🐛 Bug 修复
|
|
45
|
+
|
|
46
|
+
- Rewr - ([a6ef9d6](https://github.com/ajiho/releaset-it-demo/commit/a6ef9d67b99d6a98fc7e65d2ac1a5a076f311ca4))
|
|
47
|
+
## 🤝 Contributors
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
- @ajiho
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
## [1.13.3-alpha.14](https://github.com/ajiho/releaset-it-demo/compare/v1.13.3-alpha.13..v1.13.3-alpha.14) - 2025-12-31
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
### 🐛 Bug 修复
|
|
57
|
+
|
|
58
|
+
- Erw - ([3887b7e](https://github.com/ajiho/releaset-it-demo/commit/3887b7e53da4ca9f9cef426a6e7e218c13e37e2a))
|
|
59
|
+
## 🤝 Contributors
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
- @ajiho
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
## [1.13.3-alpha.13](https://github.com/ajiho/releaset-it-demo/compare/v1.13.3-alpha.12..v1.13.3-alpha.13) - 2025-12-31
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
### 🐛 Bug 修复
|
|
69
|
+
|
|
70
|
+
- Rwe - ([8f411ff](https://github.com/ajiho/releaset-it-demo/commit/8f411ff6738a5b3eeaa5f403e9d68edf4c15594f))
|
|
71
|
+
## 🤝 Contributors
|
|
72
|
+
|
|
73
|
+
|
|
74
|
+
- @ajiho
|
|
75
|
+
|
|
76
|
+
|
|
77
|
+
## [1.13.3-alpha.12](https://github.com/ajiho/releaset-it-demo/compare/v1.13.3-alpha.11..v1.13.3-alpha.12) - 2025-12-31
|
|
78
|
+
|
|
79
|
+
|
|
80
|
+
### 🐛 Bug 修复
|
|
81
|
+
|
|
82
|
+
- Aaaa - ([ecca1d6](https://github.com/ajiho/releaset-it-demo/commit/ecca1d67a2a862cbdf575f7a08ea9692517c48d4))
|
|
83
|
+
## 🤝 Contributors
|
|
84
|
+
|
|
85
|
+
|
|
86
|
+
- @ajiho
|
|
87
|
+
|
|
88
|
+
|
|
89
|
+
## [1.13.3-alpha.11](https://github.com/ajiho/releaset-it-demo/compare/v1.13.3-alpha.10..v1.13.3-alpha.11) - 2025-12-31
|
|
90
|
+
|
|
91
|
+
|
|
92
|
+
### 🐛 Bug 修复
|
|
93
|
+
|
|
94
|
+
- Aaa - ([37b6a55](https://github.com/ajiho/releaset-it-demo/commit/37b6a55a612108232e862de11f2bd84ccbd88cc9))
|
|
95
|
+
## 🤝 Contributors
|
|
96
|
+
|
|
97
|
+
|
|
98
|
+
- @ajiho
|
|
99
|
+
|
|
100
|
+
|
|
101
|
+
## [1.13.3-alpha.10](https://github.com/ajiho/releaset-it-demo/compare/v1.13.3-alpha.9..v1.13.3-alpha.10) - 2025-12-31
|
|
102
|
+
|
|
103
|
+
|
|
104
|
+
### 🐛 Bug 修复
|
|
105
|
+
|
|
106
|
+
- 456 - ([6d5f434](https://github.com/ajiho/releaset-it-demo/commit/6d5f434dd4c5b78595093a179983246894adf86f))
|
|
107
|
+
## 🤝 Contributors
|
|
108
|
+
|
|
109
|
+
|
|
110
|
+
- @ajiho
|
|
111
|
+
|
|
112
|
+
|
|
113
|
+
## [1.13.3-alpha.9](https://github.com/ajiho/releaset-it-demo/compare/v1.13.3-alpha.8..v1.13.3-alpha.9) - 2025-12-31
|
|
114
|
+
|
|
115
|
+
|
|
116
|
+
### 🐛 Bug 修复
|
|
117
|
+
|
|
118
|
+
- Aaa - ([159f2f8](https://github.com/ajiho/releaset-it-demo/commit/159f2f89680a71f59c256387698dbc2a8468a0e2))
|
|
119
|
+
## 🤝 Contributors
|
|
120
|
+
|
|
121
|
+
|
|
122
|
+
- @ajiho
|
|
123
|
+
|
|
124
|
+
|
|
125
|
+
## [1.13.3-alpha.8](https://github.com/ajiho/releaset-it-demo/compare/v1.13.3-alpha.7..v1.13.3-alpha.8) - 2025-12-31
|
|
126
|
+
|
|
127
|
+
|
|
128
|
+
### 🐛 Bug 修复
|
|
129
|
+
|
|
130
|
+
- A - ([ac2c329](https://github.com/ajiho/releaset-it-demo/commit/ac2c3298196a97f012e581da3e7db0f500b27998))
|
|
131
|
+
## 🤝 Contributors
|
|
132
|
+
|
|
133
|
+
|
|
134
|
+
- @ajiho
|
|
135
|
+
|
|
136
|
+
|
|
137
|
+
## [1.13.3-alpha.7](https://github.com/ajiho/releaset-it-demo/compare/v1.13.3-alpha.6..v1.13.3-alpha.7) - 2025-12-31
|
|
138
|
+
|
|
139
|
+
|
|
140
|
+
### 🐛 Bug 修复
|
|
141
|
+
|
|
142
|
+
- 333 - ([bd7b7c4](https://github.com/ajiho/releaset-it-demo/commit/bd7b7c4cee0ef4a73efcd7ce4cbe3eab33469398))
|
|
143
|
+
## 🤝 Contributors
|
|
144
|
+
|
|
145
|
+
|
|
146
|
+
- @ajiho
|
|
147
|
+
|
|
148
|
+
|
|
149
|
+
## [1.13.3-alpha.6](https://github.com/ajiho/releaset-it-demo/compare/v1.13.3-alpha.5..v1.13.3-alpha.6) - 2025-12-31
|
|
150
|
+
|
|
151
|
+
|
|
152
|
+
### 🐛 Bug 修复
|
|
153
|
+
|
|
154
|
+
- Aa - ([5af4f95](https://github.com/ajiho/releaset-it-demo/commit/5af4f9583be47b9a8121da4b09ca4ed53a3ba77b))
|
|
155
|
+
## 🤝 Contributors
|
|
156
|
+
|
|
157
|
+
|
|
158
|
+
- @ajiho
|
|
159
|
+
|
|
160
|
+
|
|
161
|
+
## [1.13.3-alpha.5](https://github.com/ajiho/releaset-it-demo/compare/v1.13.3-alpha.4..v1.13.3-alpha.5) - 2025-12-31
|
|
162
|
+
|
|
163
|
+
|
|
164
|
+
### 🐛 Bug 修复
|
|
165
|
+
|
|
166
|
+
- A - ([8c7e886](https://github.com/ajiho/releaset-it-demo/commit/8c7e886df6b1947eebc11b7a0367423288ea571b))
|
|
167
|
+
## 🤝 Contributors
|
|
168
|
+
|
|
169
|
+
|
|
170
|
+
- @ajiho
|
|
171
|
+
|
|
172
|
+
|
|
173
|
+
## [1.13.3-alpha.4](https://github.com/ajiho/releaset-it-demo/compare/v1.13.3-alpha.3..v1.13.3-alpha.4) - 2025-12-31
|
|
174
|
+
|
|
175
|
+
|
|
176
|
+
### 🚀 新特性
|
|
177
|
+
|
|
178
|
+
- Aa - ([2a9ca54](https://github.com/ajiho/releaset-it-demo/commit/2a9ca544e6d3c8dd4f5ca2530d969cc6bdafd382))
|
|
179
|
+
## 🤝 Contributors
|
|
180
|
+
|
|
181
|
+
|
|
182
|
+
- @ajiho
|
|
183
|
+
|
|
184
|
+
|
|
185
|
+
## [1.13.3-alpha.3](https://github.com/ajiho/releaset-it-demo/compare/v1.13.3-alpha.2..v1.13.3-alpha.3) - 2025-12-30
|
|
186
|
+
|
|
187
|
+
|
|
188
|
+
### 🐛 Bug 修复
|
|
189
|
+
|
|
190
|
+
- Aaa - ([2705fc5](https://github.com/ajiho/releaset-it-demo/commit/2705fc51b785b892267d71768dfbe4d6de954b78))
|
|
191
|
+
## 🤝 Contributors
|
|
192
|
+
|
|
193
|
+
|
|
194
|
+
- @ajiho
|
|
195
|
+
|
|
196
|
+
|
|
197
|
+
## [1.13.3-alpha.2](https://github.com/ajiho/releaset-it-demo/compare/v1.13.3-alpha.1..v1.13.3-alpha.2) - 2025-12-30
|
|
198
|
+
|
|
199
|
+
|
|
200
|
+
### 🚀 新特性
|
|
201
|
+
|
|
202
|
+
- Aa - ([9423708](https://github.com/ajiho/releaset-it-demo/commit/9423708a8d94153ccb96bb38276ca9698e8cf643))
|
|
203
|
+
## 🤝 Contributors
|
|
204
|
+
|
|
205
|
+
|
|
206
|
+
- @ajiho
|
|
207
|
+
|
|
208
|
+
|
|
209
|
+
## [1.13.3-alpha.1](https://github.com/ajiho/releaset-it-demo/compare/v1.13.3-alpha.0..v1.13.3-alpha.1) - 2025-12-30
|
|
210
|
+
|
|
211
|
+
|
|
212
|
+
### 🐛 Bug 修复
|
|
213
|
+
|
|
214
|
+
- A - ([eb34f50](https://github.com/ajiho/releaset-it-demo/commit/eb34f50f1ed16a6cee927c05ba558469382bc76d))
|
|
215
|
+
## 🤝 Contributors
|
|
216
|
+
|
|
217
|
+
|
|
218
|
+
- @ajiho
|
|
219
|
+
|
|
220
|
+
|
|
221
|
+
## [1.13.3-alpha.0](https://github.com/ajiho/releaset-it-demo/compare/v1.13.2..v1.13.3-alpha.0) - 2025-12-30
|
|
222
|
+
|
|
223
|
+
|
|
224
|
+
### 🐛 Bug 修复
|
|
225
|
+
|
|
226
|
+
- A - ([cfee650](https://github.com/ajiho/releaset-it-demo/commit/cfee650924816d310e4f844e4756af04c5f871e6))
|
|
227
|
+
## 🤝 Contributors
|
|
228
|
+
|
|
229
|
+
|
|
230
|
+
- @ajiho
|
|
231
|
+
|
|
232
|
+
|
|
233
|
+
## [1.13.2](https://github.com/ajiho/releaset-it-demo/compare/v1.13.1..v1.13.2) - 2025-12-30
|
|
234
|
+
|
|
235
|
+
|
|
236
|
+
### 🐛 Bug 修复
|
|
237
|
+
|
|
238
|
+
- Oidc - ([8566407](https://github.com/ajiho/releaset-it-demo/commit/85664075bcb39631d3eb7675026b7fcab8587f58))
|
|
239
|
+
## 🤝 Contributors
|
|
240
|
+
|
|
241
|
+
|
|
242
|
+
- @ajiho
|
|
243
|
+
|
|
244
|
+
|
|
245
|
+
## [1.13.1](https://github.com/ajiho/releaset-it-demo/compare/v1.13.0..v1.13.1) - 2025-12-30
|
|
246
|
+
|
|
247
|
+
|
|
248
|
+
### 🐛 Bug 修复
|
|
249
|
+
|
|
250
|
+
- A - ([7645c4f](https://github.com/ajiho/releaset-it-demo/commit/7645c4fdee24c35e11b0136550d69f0d13d0c008))
|
|
251
|
+
- 真实发布 - ([616c074](https://github.com/ajiho/releaset-it-demo/commit/616c074d1a37ab31d7c1e3d60df894a7e820e09f))
|
|
252
|
+
## 🤝 Contributors
|
|
253
|
+
|
|
254
|
+
|
|
255
|
+
- @ajiho
|
|
256
|
+
|
|
257
|
+
|
|
258
|
+
## [1.13.0](https://github.com/ajiho/releaset-it-demo/compare/v1.12.1..v1.13.0) - 2025-12-30
|
|
259
|
+
|
|
260
|
+
|
|
261
|
+
### 🚀 新特性
|
|
262
|
+
|
|
263
|
+
- 新的贡献者 - ([648b5cf](https://github.com/ajiho/releaset-it-demo/commit/648b5cff7f5d4f4c296c5fb56021b195576fae58))
|
|
264
|
+
## 🤝 Contributors
|
|
265
|
+
|
|
266
|
+
|
|
267
|
+
- @ajiho
|
|
268
|
+
|
|
269
|
+
|
|
270
|
+
## [1.12.1](https://github.com/ajiho/releaset-it-demo/compare/v1.12.0..v1.12.1) - 2025-12-30
|
|
271
|
+
|
|
272
|
+
|
|
273
|
+
### ⚡ 性能优化
|
|
274
|
+
|
|
275
|
+
- 优化日志 - ([878d7ca](https://github.com/ajiho/releaset-it-demo/commit/878d7ca1f2a7def268d8a2bf5a6f1b055fa74186))
|
|
276
|
+
## 🤝 Contributors
|
|
277
|
+
|
|
278
|
+
|
|
279
|
+
- @ajiho
|
|
280
|
+
|
|
281
|
+
|
|
282
|
+
## [1.12.0](https://github.com/ajiho/releaset-it-demo/compare/v1.11.0..v1.12.0) - 2025-12-30
|
|
283
|
+
|
|
284
|
+
|
|
285
|
+
### 🚀 新特性
|
|
286
|
+
|
|
287
|
+
- Feat33 - ([07544fb](https://github.com/ajiho/releaset-it-demo/commit/07544fbb19cce2898135d279dd204b656b196857))
|
|
288
|
+
## 🤝 Contributors
|
|
289
|
+
|
|
290
|
+
|
|
291
|
+
- @ajiho
|
|
292
|
+
|
|
293
|
+
|
|
294
|
+
## [1.11.0](https://github.com/ajiho/releaset-it-demo/compare/v1.10.2..v1.11.0) - 2025-12-30
|
|
295
|
+
|
|
296
|
+
|
|
297
|
+
### 🚀 新特性
|
|
298
|
+
|
|
299
|
+
- Test (#1) - ([6686ca6](https://github.com/ajiho/releaset-it-demo/commit/6686ca6eb012034e6d0e8b27f016df535e2073b7))
|
|
300
|
+
## 🤝 Contributors
|
|
301
|
+
|
|
302
|
+
|
|
303
|
+
- @ajiho
|
|
304
|
+
|
|
305
|
+
|
|
306
|
+
## [1.10.2](https://github.com/ajiho/releaset-it-demo/compare/v1.10.1..v1.10.2) - 2025-12-30
|
|
307
|
+
|
|
308
|
+
|
|
309
|
+
### 🐛 Bug 修复
|
|
310
|
+
|
|
311
|
+
- 过滤 - ([b6e893b](https://github.com/ajiho/releaset-it-demo/commit/b6e893bc8bea95981f5630f934e363a8861b7811))
|
|
312
|
+
## 🤝 Contributors
|
|
313
|
+
|
|
314
|
+
|
|
315
|
+
- @ajiho
|
|
316
|
+
|
|
317
|
+
|
|
318
|
+
## [1.10.1](https://github.com/ajiho/releaset-it-demo/compare/v1.10.0..v1.10.1) - 2025-12-30
|
|
319
|
+
|
|
320
|
+
|
|
321
|
+
### 🐛 Bug 修复
|
|
322
|
+
|
|
323
|
+
- 2 - ([b667232](https://github.com/ajiho/releaset-it-demo/commit/b6672325ffae992630c5058b9bec2f5305a30d3d))
|
|
324
|
+
## 🤝 Contributors
|
|
325
|
+
|
|
326
|
+
|
|
327
|
+
- @ajiho
|
|
328
|
+
|
|
329
|
+
|
|
330
|
+
## [1.10.0](https://github.com/ajiho/releaset-it-demo/compare/v1.9.0..v1.10.0) - 2025-12-30
|
|
331
|
+
|
|
332
|
+
|
|
333
|
+
### 🚀 新特性
|
|
334
|
+
|
|
335
|
+
- 3 - ([adfdecf](https://github.com/ajiho/releaset-it-demo/commit/adfdecfd3ade9e4f7843aef528357459f5bee432))
|
|
336
|
+
|
|
337
|
+
### 🐛 Bug 修复
|
|
338
|
+
|
|
339
|
+
- Aaa - ([b5ede29](https://github.com/ajiho/releaset-it-demo/commit/b5ede299cecd1d6c9f8ab5578e11c2446f7adbd8))
|
|
340
|
+
## 🤝 Contributors
|
|
341
|
+
|
|
342
|
+
|
|
343
|
+
- @ajiho
|
|
344
|
+
|
|
345
|
+
|
|
346
|
+
## [1.9.0](https://github.com/ajiho/releaset-it-demo/compare/v1.8.2..v1.9.0) - 2025-12-30
|
|
347
|
+
|
|
348
|
+
|
|
349
|
+
### 🚀 新特性
|
|
350
|
+
|
|
351
|
+
- A - ([156369d](https://github.com/ajiho/releaset-it-demo/commit/156369d20c32cd6d7646f3fb8af8ff394d03335b))
|
|
352
|
+
|
|
353
|
+
### 🐛 Bug 修复
|
|
354
|
+
|
|
355
|
+
- Aa - ([a741559](https://github.com/ajiho/releaset-it-demo/commit/a741559d0c79a56844add49e7abaafdcc3ebbd0d))
|
|
356
|
+
- A - ([7f7a796](https://github.com/ajiho/releaset-it-demo/commit/7f7a796a40a15038e276af5b613235a81f65bcea))
|
|
357
|
+
- Log - ([3e20cf5](https://github.com/ajiho/releaset-it-demo/commit/3e20cf58852a95098128b0dae378c9c0ddb04bdc))
|
|
358
|
+
- 777 - ([58df1de](https://github.com/ajiho/releaset-it-demo/commit/58df1decf81dea5029d1573e05d4bb85b1ff476f))
|
|
359
|
+
## 🤝 Contributors
|
|
360
|
+
|
|
361
|
+
|
|
362
|
+
- @ajiho
|
|
363
|
+
|
|
364
|
+
|
|
365
|
+
## [1.8.2](https://github.com/ajiho/releaset-it-demo/compare/v1.8.1..v1.8.2) - 2025-12-30
|
|
366
|
+
|
|
367
|
+
|
|
368
|
+
### 🚀 新特性
|
|
369
|
+
|
|
370
|
+
- Aa - ([024a444](https://github.com/ajiho/releaset-it-demo/commit/024a44429af940e7ebdd105042ee6d6c9f525261))
|
|
371
|
+
## 🤝 Contributors
|
|
372
|
+
|
|
373
|
+
|
|
374
|
+
- @ajiho
|
|
375
|
+
|
|
376
|
+
|
|
377
|
+
## [1.8.1](https://github.com/ajiho/releaset-it-demo/compare/v1.8.0..v1.8.1) - 2025-12-30
|
|
378
|
+
|
|
379
|
+
|
|
380
|
+
### 🐛 Bug 修复
|
|
381
|
+
|
|
382
|
+
- Xxx - ([4e49bba](https://github.com/ajiho/releaset-it-demo/commit/4e49bbad41e17ff18961c0a7929033ae143e89ca))
|
|
383
|
+
## 🤝 Contributors
|
|
384
|
+
|
|
385
|
+
|
|
386
|
+
- @ajiho
|
|
387
|
+
|
|
388
|
+
|
|
389
|
+
## [1.8.0](https://github.com/ajiho/releaset-it-demo/compare/v1.7.0..v1.8.0) - 2025-12-30
|
|
390
|
+
|
|
391
|
+
|
|
392
|
+
### 🚀 新特性
|
|
393
|
+
|
|
394
|
+
- Feat333 - ([77889fe](https://github.com/ajiho/releaset-it-demo/commit/77889feafea13c3869c61dbfd370f88731eb4994))
|
|
395
|
+
## 🤝 Contributors
|
|
396
|
+
|
|
397
|
+
|
|
398
|
+
- @ajiho
|
|
399
|
+
|
|
400
|
+
|
|
401
|
+
## [1.7.0](https://github.com/ajiho/releaset-it-demo/compare/v1.6.1..v1.7.0) - 2025-12-30
|
|
402
|
+
|
|
403
|
+
|
|
404
|
+
### 🚀 新特性
|
|
405
|
+
|
|
406
|
+
- New feat - ([4397171](https://github.com/ajiho/releaset-it-demo/commit/43971716d49ff6a69f9978d71fb00475de767813))
|
|
407
|
+
## 🤝 Contributors
|
|
408
|
+
|
|
409
|
+
|
|
410
|
+
- @ajiho
|
|
411
|
+
|
|
412
|
+
|
|
413
|
+
## [1.6.1](https://github.com/ajiho/releaset-it-demo/compare/v1.6.0..v1.6.1) - 2025-12-30
|
|
414
|
+
|
|
415
|
+
|
|
416
|
+
### 🐛 Bug 修复
|
|
417
|
+
|
|
418
|
+
- Hooks - ([70bacec](https://github.com/ajiho/releaset-it-demo/commit/70bacecaa2500f7d013a8a8c76f7f205153a16dc))
|
|
419
|
+
## 🤝 Contributors
|
|
420
|
+
|
|
421
|
+
|
|
422
|
+
- @ajiho
|
|
423
|
+
|
|
424
|
+
|
|
425
|
+
## [1.6.0](https://github.com/ajiho/releaset-it-demo/compare/v1.5.1..v1.6.0) - 2025-12-30
|
|
426
|
+
|
|
427
|
+
|
|
428
|
+
### 🚀 新特性
|
|
429
|
+
|
|
430
|
+
- Feat66 - ([35d908c](https://github.com/ajiho/releaset-it-demo/commit/35d908c63abf741e2e35588dd9adef1fd9315aa6))
|
|
431
|
+
## 🤝 Contributors
|
|
432
|
+
|
|
433
|
+
|
|
434
|
+
- @ajiho
|
|
435
|
+
|
|
436
|
+
|
|
437
|
+
## [1.5.1](https://github.com/ajiho/releaset-it-demo/compare/v1.5.0..v1.5.1) - 2025-12-30
|
|
438
|
+
|
|
439
|
+
|
|
440
|
+
### 🚀 新特性
|
|
441
|
+
|
|
442
|
+
- 123 - ([5388061](https://github.com/ajiho/releaset-it-demo/commit/538806145ed8c28764bf7a0cd4332d72b87948e1))
|
|
443
|
+
- 自定义变更日志 - ([6bf5915](https://github.com/ajiho/releaset-it-demo/commit/6bf5915ecbdc62082941cb985463430ec4f8d712))
|
|
444
|
+
|
|
445
|
+
### 🐛 Bug 修复
|
|
446
|
+
|
|
447
|
+
- 132 - ([d4c94e8](https://github.com/ajiho/releaset-it-demo/commit/d4c94e8fde51f679f8125b0154da5fa16a2a7090))
|
|
448
|
+
|
|
449
|
+
### ⚙️ 杂项任务
|
|
450
|
+
|
|
451
|
+
- Changelog - ([e572286](https://github.com/ajiho/releaset-it-demo/commit/e572286f9a4108c54b9187f967e76b8e1cfe59e6))
|
|
452
|
+
## 🤝 Contributors
|
|
453
|
+
|
|
454
|
+
|
|
455
|
+
- @ajiho
|
|
456
|
+
|
|
457
|
+
|
|
458
|
+
## [1.5.0](https://github.com/ajiho/releaset-it-demo/compare/v1.4.5..v1.5.0) - 2025-12-29
|
|
459
|
+
|
|
460
|
+
|
|
461
|
+
### 🚀 新特性
|
|
462
|
+
|
|
463
|
+
- Te - ([3f39b79](https://github.com/ajiho/releaset-it-demo/commit/3f39b7948bf277521a574f5ded70e50a33c0578c))
|
|
464
|
+
|
|
465
|
+
### 🐛 Bug 修复
|
|
466
|
+
|
|
467
|
+
- 1 - ([6943b27](https://github.com/ajiho/releaset-it-demo/commit/6943b27599b30cc499de71f8d83ebbf0827ec520))
|
|
468
|
+
## 🤝 Contributors
|
|
469
|
+
|
|
470
|
+
|
|
471
|
+
- @ajiho
|
|
472
|
+
|
|
473
|
+
|
|
474
|
+
## [1.4.2](https://github.com/ajiho/releaset-it-demo/compare/v1.4.1..v1.4.2) - 2025-12-29
|
|
475
|
+
|
|
476
|
+
|
|
477
|
+
### 🐛 Bug 修复
|
|
478
|
+
|
|
479
|
+
- Ci - ([dc65b59](https://github.com/ajiho/releaset-it-demo/commit/dc65b59760a9c31a8eeba244d9f13c476bbee93a))
|
|
480
|
+
## 🤝 Contributors
|
|
481
|
+
|
|
482
|
+
|
|
483
|
+
- @ajiho
|
|
484
|
+
|
|
485
|
+
|
|
486
|
+
## [1.4.1](https://github.com/ajiho/releaset-it-demo/compare/v1.4.0..v1.4.1) - 2025-12-29
|
|
487
|
+
|
|
488
|
+
|
|
489
|
+
### 🚀 新特性
|
|
490
|
+
|
|
491
|
+
- 233 - ([5726a4a](https://github.com/ajiho/releaset-it-demo/commit/5726a4a9625906086513b15ed25adcb5166f8111))
|
|
492
|
+
## 🤝 Contributors
|
|
493
|
+
|
|
494
|
+
|
|
495
|
+
- @ajiho
|
|
496
|
+
|
|
497
|
+
|
|
498
|
+
## [1.4.0](https://github.com/ajiho/releaset-it-demo/compare/v1.3.1..v1.4.0) - 2025-12-29
|
|
499
|
+
|
|
500
|
+
|
|
501
|
+
### 🚀 新特性
|
|
502
|
+
|
|
503
|
+
- Feat1 - ([65f5aae](https://github.com/ajiho/releaset-it-demo/commit/65f5aae9450645466ed18b430de6a0181a1f82dc))
|
|
504
|
+
## 🤝 Contributors
|
|
505
|
+
|
|
506
|
+
|
|
507
|
+
- @ajiho
|
|
508
|
+
|
|
509
|
+
|
|
510
|
+
## [1.3.1](https://github.com/ajiho/releaset-it-demo/compare/v1.3.0..v1.3.1) - 2025-12-29
|
|
511
|
+
|
|
512
|
+
|
|
513
|
+
### 🐛 Bug 修复
|
|
514
|
+
|
|
515
|
+
- 2 - ([b2b1b40](https://github.com/ajiho/releaset-it-demo/commit/b2b1b406e0cb2c793592b654dde94ac94fbbd1fa))
|
|
516
|
+
## 🤝 Contributors
|
|
517
|
+
|
|
518
|
+
|
|
519
|
+
- @ajiho
|
|
520
|
+
|
|
521
|
+
|
|
522
|
+
## [1.3.0](https://github.com/ajiho/releaset-it-demo/compare/v1.2.3..v1.3.0) - 2025-12-29
|
|
523
|
+
|
|
524
|
+
|
|
525
|
+
### 🚀 新特性
|
|
526
|
+
|
|
527
|
+
- To npm - ([08e2747](https://github.com/ajiho/releaset-it-demo/commit/08e2747a29022204fe104f33dbc3a55a8b29d16d))
|
|
528
|
+
|
|
529
|
+
### 🐛 Bug 修复
|
|
530
|
+
|
|
531
|
+
- A - ([7d88de7](https://github.com/ajiho/releaset-it-demo/commit/7d88de793ca9bf649d4713903a3d4fbc6196e9e0))
|
|
532
|
+
## 🤝 Contributors
|
|
533
|
+
|
|
534
|
+
|
|
535
|
+
- @ajiho
|
|
536
|
+
|
|
537
|
+
|
|
538
|
+
## [1.2.3](https://github.com/ajiho/releaset-it-demo/compare/v1.2.2..v1.2.3) - 2025-12-29
|
|
539
|
+
|
|
540
|
+
|
|
541
|
+
### 🚀 新特性
|
|
542
|
+
|
|
543
|
+
- Ci - ([c5cb5f8](https://github.com/ajiho/releaset-it-demo/commit/c5cb5f851537140371a6ff3af9a85083b8f4a848))
|
|
544
|
+
## 🤝 Contributors
|
|
545
|
+
|
|
546
|
+
|
|
547
|
+
- @ajiho
|
|
548
|
+
|
|
549
|
+
|
|
550
|
+
## [1.2.2](https://github.com/ajiho/releaset-it-demo/compare/v1.2.1..v1.2.2) - 2025-12-29
|
|
551
|
+
|
|
552
|
+
|
|
553
|
+
### 🚀 新特性
|
|
554
|
+
|
|
555
|
+
- Test2 - ([3f6c1dd](https://github.com/ajiho/releaset-it-demo/commit/3f6c1dd85db8dc279858bfc44f7e4c67f2349e06))
|
|
556
|
+
## 🤝 Contributors
|
|
557
|
+
|
|
558
|
+
|
|
559
|
+
- @ajiho
|
|
560
|
+
|
|
561
|
+
|
|
562
|
+
## [1.2.1](https://github.com/ajiho/releaset-it-demo/compare/v1.2.0..v1.2.1) - 2025-12-29
|
|
563
|
+
|
|
564
|
+
|
|
565
|
+
### 🚀 新特性
|
|
566
|
+
|
|
567
|
+
- 22 - ([a4d9c4a](https://github.com/ajiho/releaset-it-demo/commit/a4d9c4ad6e88cf31d8a35b970f0d60b32a75d296))
|
|
568
|
+
- Test - ([20c0e2f](https://github.com/ajiho/releaset-it-demo/commit/20c0e2f5e14bc9bd4dde1de88731b630ff5116d8))
|
|
569
|
+
## 🤝 Contributors
|
|
570
|
+
|
|
571
|
+
|
|
572
|
+
- @ajiho
|
|
573
|
+
|
|
574
|
+
|
|
575
|
+
## [1.2.0](https://github.com/ajiho/releaset-it-demo/compare/v1.2.0-alpha.1..v1.2.0) - 2025-12-29
|
|
576
|
+
|
|
577
|
+
|
|
578
|
+
### 🐛 Bug 修复
|
|
579
|
+
|
|
580
|
+
- 2 - ([31dd5e6](https://github.com/ajiho/releaset-it-demo/commit/31dd5e6e16ca490b4ad5bc1bd178d357f1520e9a))
|
|
581
|
+
## 🤝 Contributors
|
|
582
|
+
|
|
583
|
+
|
|
584
|
+
- @ajiho
|
|
585
|
+
|
|
586
|
+
|
|
587
|
+
## [1.2.0-alpha.1](https://github.com/ajiho/releaset-it-demo/compare/v1.1.0..v1.2.0-alpha.1) - 2025-12-29
|
|
588
|
+
|
|
589
|
+
|
|
590
|
+
### 🚀 新特性
|
|
591
|
+
|
|
592
|
+
- Tes - ([d08e2c7](https://github.com/ajiho/releaset-it-demo/commit/d08e2c7043456710809ca0f6b6542b788b432e6c))
|
|
593
|
+
|
|
594
|
+
### 🐛 Bug 修复
|
|
595
|
+
|
|
596
|
+
- Test1 - ([a087d55](https://github.com/ajiho/releaset-it-demo/commit/a087d55ba0a2261489ace5078761aea4b08b949b))
|
|
597
|
+
- Fix1 - ([9507db6](https://github.com/ajiho/releaset-it-demo/commit/9507db6f8e83c47329e909b895091380ec483d40))
|
|
598
|
+
## 🤝 Contributors
|
|
599
|
+
|
|
600
|
+
|
|
601
|
+
- @ajiho
|
|
602
|
+
|
|
603
|
+
|
|
604
|
+
## [1.1.0](https://github.com/ajiho/releaset-it-demo/compare/1.0.1..v1.1.0) - 2025-12-29
|
|
605
|
+
|
|
606
|
+
|
|
607
|
+
### 🚀 新特性
|
|
608
|
+
|
|
609
|
+
- New feat - ([96ceb63](https://github.com/ajiho/releaset-it-demo/commit/96ceb63759927019d0300ffddcab9ca668ebc22f))
|
|
610
|
+
## 🤝 Contributors
|
|
611
|
+
|
|
612
|
+
|
|
613
|
+
- @ajiho
|
|
614
|
+
|
|
615
|
+
|
|
616
|
+
## [1.0.1] - 2025-12-29
|
|
617
|
+
|
|
618
|
+
## 🤝 Contributors
|
|
619
|
+
|
|
620
|
+
|
|
621
|
+
- @ajiho
|
|
622
|
+
## ❤️ New Contributors
|
|
623
|
+
|
|
624
|
+
- @ajiho
|
package/New-Year.gif
ADDED
|
Binary file
|
package/README.md
ADDED
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
# alpha
|
|
2
|
+
|
|
3
|
+
aafffdddsaff
|
|
4
|
+
✅ 方案二:命令行直接指定版本(最精准)
|
|
5
|
+
npx release-it 1.2.3-alpha.1
|
|
6
|
+
|
|
7
|
+
或:
|
|
8
|
+
|
|
9
|
+
npx release-it --preRelease=alpha
|
|
10
|
+
|
|
11
|
+
生成:
|
|
12
|
+
|
|
13
|
+
1.2.3 → 1.2.4-alpha.0
|
|
14
|
+
|
|
15
|
+
✅ 方案三:专门做 pre-release 工作流(进阶)
|
|
16
|
+
"preRelease": "alpha"
|
|
17
|
+
|
|
18
|
+
然后:
|
|
19
|
+
|
|
20
|
+
npx release-it --preRelease
|
|
21
|
+
|
|
22
|
+
适合:
|
|
23
|
+
|
|
24
|
+
alpha / beta / rc 多阶段发布
|
|
25
|
+
|
|
26
|
+
CI 控制
|
|
27
|
+
|
|
28
|
+
四、你想要的「alpha.1」该怎么发?(示例)
|
|
29
|
+
情况 1:第一次 alpha
|
|
30
|
+
npx release-it --preRelease=alpha
|
|
31
|
+
|
|
32
|
+
结果:
|
|
33
|
+
|
|
34
|
+
1.2.3 → 1.2.4-alpha.0
|
|
35
|
+
|
|
36
|
+
情况 2:继续 alpha
|
|
37
|
+
npx release-it --preRelease
|
|
38
|
+
|
|
39
|
+
结果:
|
|
40
|
+
|
|
41
|
+
1.2.4-alpha.0 → 1.2.4-alpha.1
|
|
42
|
+
|
|
43
|
+
情况 3:完全自定义
|
|
44
|
+
npx release-it 1.2.3-alpha.1
|
|
45
|
+
|
|
46
|
+
a
|
package/cliff.toml
ADDED
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
[remote.github]
|
|
2
|
+
owner = "ajiho"
|
|
3
|
+
repo = "releaset-it-demo"
|
|
4
|
+
|
|
5
|
+
[changelog]
|
|
6
|
+
header = """
|
|
7
|
+
[](https://git-cliff.org)\n
|
|
8
|
+
"""
|
|
9
|
+
body = """
|
|
10
|
+
{# 定义远程仓库 URL 宏 #}
|
|
11
|
+
{%- macro remote_url() -%}
|
|
12
|
+
https://github.com/{{ remote.github.owner }}/{{ remote.github.repo }}
|
|
13
|
+
{%- endmacro -%}
|
|
14
|
+
|
|
15
|
+
{# 定义打印 commit 的宏 #}
|
|
16
|
+
{% macro print_commit(commit) -%}
|
|
17
|
+
- {% if commit.scope %}*({{ commit.scope }})* {% endif %}\
|
|
18
|
+
{% if commit.breaking %}[**breaking**] {% endif %}\
|
|
19
|
+
{{ commit.message | upper_first }} - \
|
|
20
|
+
([{{ commit.id | truncate(length=7, end="") }}]({{ self::remote_url() }}/commit/{{ commit.id }}))\
|
|
21
|
+
{% endmacro -%}
|
|
22
|
+
|
|
23
|
+
{# 版本标题 #}
|
|
24
|
+
{% if version %}\
|
|
25
|
+
{% if previous.version %}\
|
|
26
|
+
## [{{ version | trim_start_matches(pat="v") }}]\
|
|
27
|
+
({{ self::remote_url() }}/compare/{{ previous.version }}..{{ version }}) - {{ timestamp | date(format="%Y-%m-%d") }}
|
|
28
|
+
{% else %}\
|
|
29
|
+
## [{{ version | trim_start_matches(pat="v") }}] - {{ timestamp | date(format="%Y-%m-%d") }}
|
|
30
|
+
{% endif %}\
|
|
31
|
+
{% else %}\
|
|
32
|
+
## [unreleased]
|
|
33
|
+
{% endif %}\
|
|
34
|
+
|
|
35
|
+
{# 按 commit group 分组输出 #}
|
|
36
|
+
{% for group, commits in commits | group_by(attribute="group") %}
|
|
37
|
+
### {{ group | striptags | trim | upper_first }}
|
|
38
|
+
{% for commit in commits
|
|
39
|
+
| filter(attribute="scope")
|
|
40
|
+
| sort(attribute="scope") %}
|
|
41
|
+
{{ self::print_commit(commit=commit) }}
|
|
42
|
+
{%- endfor %}
|
|
43
|
+
{% for commit in commits %}
|
|
44
|
+
{%- if not commit.scope -%}
|
|
45
|
+
{{ self::print_commit(commit=commit) }}
|
|
46
|
+
{% endif -%}
|
|
47
|
+
{% endfor -%}
|
|
48
|
+
{% endfor -%}
|
|
49
|
+
{%- if github and github.contributors | length > 0 -%}
|
|
50
|
+
|
|
51
|
+
## 🤝 Contributors
|
|
52
|
+
|
|
53
|
+
{% for contributor in github.contributors %}
|
|
54
|
+
- @{{ contributor.username }}
|
|
55
|
+
{% endfor -%}
|
|
56
|
+
|
|
57
|
+
{%- endif -%}
|
|
58
|
+
|
|
59
|
+
{# 新贡献者列表(只列首次贡献者) #}
|
|
60
|
+
{%- if github and github.contributors | filter(attribute="is_first_time", value=true) | length > 0 -%}
|
|
61
|
+
## ❤️ New Contributors
|
|
62
|
+
{% for contributor in github.contributors | filter(attribute="is_first_time", value=true) %}
|
|
63
|
+
- @{{ contributor.username }}
|
|
64
|
+
{%- if contributor.pr_number %} in [#{{ contributor.pr_number }}]({{ self::remote_url() }}/pull/{{ contributor.pr_number }}){% endif %}
|
|
65
|
+
{% endfor %}
|
|
66
|
+
{%- endif -%}
|
|
67
|
+
"""
|
|
68
|
+
|
|
69
|
+
trim = true
|
|
70
|
+
|
|
71
|
+
[git]
|
|
72
|
+
commit_parsers = [
|
|
73
|
+
{ message = "^feat", group = "<!-- 0 -->🚀 新特性" },
|
|
74
|
+
{ message = "^fix", group = "<!-- 1 -->🐛 Bug 修复" },
|
|
75
|
+
{ message = "^doc", group = "<!-- 3 -->📚 文档" },
|
|
76
|
+
{ message = "^perf", group = "<!-- 4 -->⚡ 性能优化" },
|
|
77
|
+
{ message = "^refactor\\(clippy\\)", skip = true },
|
|
78
|
+
{ message = "^refactor", group = "<!-- 2 -->🚜 重构" },
|
|
79
|
+
{ message = "^style", group = "<!-- 5 -->🎨 样式" },
|
|
80
|
+
{ message = "^test", group = "<!-- 6 -->🧪 测试" },
|
|
81
|
+
{ message = "^chore: release v", skip = true },
|
|
82
|
+
{ message = "^chore\\(release\\): prepare for", skip = true },
|
|
83
|
+
{ message = "^chore\\(deps.*\\)", skip = true },
|
|
84
|
+
{ message = "^chore\\(pr\\)", skip = true },
|
|
85
|
+
{ message = "^chore\\(pull\\)", skip = true },
|
|
86
|
+
{ message = "^chore\\(npm\\).*yarn\\.lock", skip = true },
|
|
87
|
+
{ message = "^chore|^ci", group = "<!-- 7 -->⚙️ 杂项任务" },
|
|
88
|
+
{ body = ".*security", group = "<!-- 8 -->🛡️ 安全" },
|
|
89
|
+
{ message = "^revert", group = "<!-- 9 -->◀️ 回滚" },
|
|
90
|
+
]
|
package/dist.zip
ADDED
|
Binary file
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
[](https://git-cliff.org)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## [1.13.3-alpha.18](https://github.com/ajiho/releaset-it-demo/compare/v1.13.3-alpha.17..v1.13.3-alpha.18) - 2025-12-31
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### 🐛 Bug 修复
|
|
9
|
+
|
|
10
|
+
- Rw - ([cd8efa5](https://github.com/ajiho/releaset-it-demo/commit/cd8efa5ed7adbf8f5ef95805f9823312fa1c0c59))
|
|
11
|
+
## 🤝 Contributors
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
- @ajiho
|
package/package.json
CHANGED
|
@@ -1,11 +1,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "releaset-it-demo",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.13.3-alpha.18",
|
|
4
4
|
"main": "index.js",
|
|
5
|
+
"repository": {
|
|
6
|
+
"type": "git",
|
|
7
|
+
"url": "https://github.com/ajiho/releaset-it-demo.git"
|
|
8
|
+
},
|
|
5
9
|
"scripts": {
|
|
6
10
|
"test": "echo \"test success\"",
|
|
7
11
|
"lint": "echo \"lint success\"",
|
|
8
|
-
"build": "
|
|
12
|
+
"build": "node scripts/build.mjs",
|
|
13
|
+
"build1": "node scripts/build.mjs",
|
|
14
|
+
"build2": "git-cliff --latest",
|
|
9
15
|
"release": "release-it"
|
|
10
16
|
},
|
|
11
17
|
"keywords": [],
|
|
@@ -13,6 +19,8 @@
|
|
|
13
19
|
"license": "ISC",
|
|
14
20
|
"description": "",
|
|
15
21
|
"devDependencies": {
|
|
22
|
+
"@release-it/conventional-changelog": "^10.0.4",
|
|
23
|
+
"git-cliff": "^2.11.0",
|
|
16
24
|
"release-it": "^19.2.2"
|
|
17
25
|
}
|
|
18
26
|
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import fs from "fs";
|
|
2
|
+
import path from "path";
|
|
3
|
+
|
|
4
|
+
const distDir = path.resolve("dist");
|
|
5
|
+
const outputFile = path.join(distDir, "index.js");
|
|
6
|
+
|
|
7
|
+
// 确保 dist 目录存在
|
|
8
|
+
fs.mkdirSync(distDir, { recursive: true });
|
|
9
|
+
|
|
10
|
+
// 当前时间戳(生成时)
|
|
11
|
+
const timestamp = Date.now();
|
|
12
|
+
|
|
13
|
+
const content =
|
|
14
|
+
`
|
|
15
|
+
// Auto generated file
|
|
16
|
+
console.log(${timestamp});
|
|
17
|
+
`.trim() + "\n";
|
|
18
|
+
|
|
19
|
+
fs.writeFileSync(outputFile, content, "utf8");
|
|
20
|
+
|
|
21
|
+
console.log("dist/index.js generated");
|