Files
form/scripts/types.ts
Tanner Linsley 63c400737a checkpoint
2023-04-25 10:51:17 -06:00

54 lines
886 B
TypeScript

export type Commit = {
commit: CommitOrTree
tree: CommitOrTree
author: AuthorOrCommitter
committer: AuthorOrCommitter
subject: string
body: string
parsed: Parsed
}
export type CommitOrTree = {
long: string
short: string
}
export type AuthorOrCommitter = {
name: string
email: string
date: string
}
export type Parsed = {
type: string
scope?: string | null
subject: string
merge?: null
header: string
body?: null
footer?: null
notes?: null[] | null
references?: null[] | null
mentions?: null[] | null
revert?: null
raw: string
}
export type Package = {
name: string
packageDir: string
srcDir: string
jsName: string
entryFile: string
external?: (d: string) => any
globals?: Record<string, string>
esm?: boolean
cjs?: boolean
umd?: boolean
}
export type BranchConfig = {
prerelease: boolean
ghRelease: boolean
}