-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy path.release-it.json
More file actions
52 lines (52 loc) · 1.83 KB
/
.release-it.json
File metadata and controls
52 lines (52 loc) · 1.83 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
42
43
44
45
46
47
48
49
50
51
52
{
"$schema": "https://unpkg.com/release-it@19/schema/release-it.json",
"git": {
"commitMessage": "chore: release v${version} [skip ci]",
"tagName": "v${version}",
"tagMatch": "v*",
"tagAnnotation": "Release v${version}",
"requireBranch": "main",
"requireCleanWorkingDir": true,
"requireCommits": true,
"requireCommitsFail": false,
"commitsPath": "packages/appkit packages/appkit-ui packages/shared",
"push": true,
"pushArgs": ["--follow-tags"]
},
"github": {
"release": true,
"releaseName": "AppKit v${version}",
"autoGenerate": false,
"draft": false,
"preRelease": false,
"tokenRef": "GITHUB_TOKEN"
},
"npm": false,
"hooks": {
"before:init": "pnpm audit --audit-level=high --prod",
"after:bump": "tsx tools/sync-versions.ts ${version} && pnpm build:notice && git add NOTICE.md",
"before:release": "pnpm build && pnpm --filter=docs build && pnpm --filter=@databricks/appkit dist && pnpm --filter=@databricks/appkit-ui dist && pnpm release:sbom",
"after:release": "npm publish packages/appkit/tmp --access public --provenance && npm publish packages/appkit-ui/tmp --access public --provenance"
},
"plugins": {
"@release-it/conventional-changelog": {
"preset": {
"name": "conventionalcommits",
"bumpStrict": true
},
"writerOpts": {
"groupBy": "scope",
"commitGroupsSort": ["appkit", "appkit-ui"],
"commitsSort": ["type", "subject"]
},
"infile": "CHANGELOG.md",
"header": "# Changelog\n\nAll notable changes to this project will be documented in this file.",
"gitRawCommitsOpts": {
"path": ["packages/appkit", "packages/appkit-ui", "packages/shared"]
},
"commitsOpts": {
"path": ["packages/appkit", "packages/appkit-ui", "packages/shared"]
}
}
}
}