API 参考 / @142vip/changelog / ChangelogGenerateOptions
接口: ChangelogGenerateOptions
定义于: changelog/src/core/changelog.interface.ts:116
合并配置后的完整生成选项
属性
baseUrl
baseUrl:
string
定义于: changelog/src/core/changelog.interface.ts:150
GitHub Web 主机(默认 github.com)
baseUrlApi
baseUrlApi:
string
定义于: changelog/src/core/changelog.interface.ts:148
GitHub API 主机(默认 api.github.com)
capitalize
capitalize:
boolean
定义于: changelog/src/core/changelog.interface.ts:140
描述首字母大写
contributors
contributors:
boolean
定义于: changelog/src/core/changelog.interface.ts:138
是否解析 GitHub 贡献者
dryRun?
optionaldryRun?:boolean
定义于: changelog/src/core/changelog.interface.ts:134
试运行:不写文件、不创建 Release
emoji
emoji:
boolean
定义于: changelog/src/core/changelog.interface.ts:144
章节标题是否保留 emoji
from
from:
string
定义于: changelog/src/core/changelog.interface.ts:152
提交范围起点
group
group:
boolean|"multiple"
定义于: changelog/src/core/changelog.interface.ts:142
是否按 scope 分组;multiple 表示仅多 commit 的 scope 分组
header?
optionalheader?:string
定义于: changelog/src/core/changelog.interface.ts:130
新建 CHANGELOG.md 时的文件头
name
name:
string
定义于: changelog/src/core/changelog.interface.ts:146
Release 名称
output?
optionaloutput?:string
定义于: changelog/src/core/changelog.interface.ts:136
CHANGELOG.md 输出路径
prerelease
prerelease:
boolean
定义于: changelog/src/core/changelog.interface.ts:156
GitHub Pre-release 标记
repo
repo:
string
定义于: changelog/src/core/changelog.interface.ts:158
远程仓库 owner/repo
scopeMap
scopeMap:
Record<string,string>
定义于: changelog/src/core/changelog.interface.ts:123
scope 显示名映射(如 utils → @142vip/utils)
scopeName?
optionalscopeName?:string
定义于: changelog/src/core/changelog.interface.ts:132
Monorepo 子包 scope 名
titles
titles:
object
定义于: changelog/src/core/changelog.interface.ts:125
额外章节标题
breakingChanges?
optionalbreakingChanges?:string
Breaking Changes 章节标题
to
to:
string
定义于: changelog/src/core/changelog.interface.ts:154
提交范围终点 / Release tag
types
types:
Record<string, {semver?:VipSemverReleaseType;title:string; }>
定义于: changelog/src/core/changelog.interface.ts:118
Conventional Commits type → 章节标题与 semver 提示