-
-
Notifications
You must be signed in to change notification settings - Fork 37
/
changelog.config.ts
30 lines (28 loc) · 1014 Bytes
/
changelog.config.ts
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
import type { ChangelogConfig } from 'changelogen'
import process from 'node:process'
function getDefaultConfig() {
return <Partial<ChangelogConfig>>{
types: {
version: { title: '🔖 Version', semver: 'patch' },
feat: { title: '🚀 Enhancements', semver: 'minor' },
perf: { title: '🔥 Performance', semver: 'patch' },
fix: { title: '🩹 Fixes', semver: 'patch' },
refactor: { title: '💅 Refactors', semver: 'patch' },
docs: { title: '📖 Documentation', semver: 'patch' },
build: { title: '📦 Build', semver: 'patch' },
types: { title: '🌊 Types', semver: 'patch' },
chore: { title: '🏡 Chore' },
examples: { title: '🏀 Examples' },
test: { title: '✅ Tests' },
style: { title: '🎨 Styles' },
ci: { title: '🤖 CI' },
},
repo: {
repo: 'oku-ui/primitives',
provider: 'github',
domain: 'github.com',
token: process.env.GITHUB_TOKEN,
},
}
}
export default getDefaultConfig