Files
form/scripts/types.ts
Zachary DeRose 449f5ee806 Fixing failing tasks in ci workflow (#394)
* fixing jest config

* fixing eslint errors for react-form

* fixing script lints

* configuring prettier to ignore built files

* updating eslint deps

* updating pnpm lockfile

* updating dep install step in pr workflow

* rm reference to custom validatePackages script

* fixing code sandbox failure

* attempting to fix frozen locfile issue

* fixing install:csb step

* removing unnecessary type assignment
2023-04-25 22:59:49 -06:00

54 lines
890 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
}