forked from du2333/flare-stack-blog
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.release-it.ts
More file actions
32 lines (31 loc) · 779 Bytes
/
.release-it.ts
File metadata and controls
32 lines (31 loc) · 779 Bytes
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
import type { Config } from "release-it";
export default {
git: {
commit: true,
tag: true,
push: true,
commitMessage: "chore: release v${version}",
},
github: {
release: true,
releaseName: "v${version}",
},
hooks: {
"before:init": ["bun check", "bun run test"],
"after:release":
"echo Successfully released ${name} v${version} to ${repo.repository}.",
},
plugins: {
"@release-it/conventional-changelog": {
preset: {
name: "conventionalcommits",
types: [
{ type: "feat", section: "Features" },
{ type: "fix", section: "Bug Fixes" },
{ type: "refactor", section: "Code Refactoring" },
],
},
ignoreRecommendedBump: true,
},
},
} satisfies Config;