Type Aliases
IncrementDecision
: Exclude<Decision, Decision.UNDECIDED | Decision.DECLINE>VersionFile
: { changedFiles: Set<PortablePath>; changedWorkspaces: Set<Workspace>; project: Project; releaseRoots: Set<Workspace>; releases: Releases; saveAll: () => Promise<void> } & ({ baseHash: string; baseTitle: string; root: PortablePath } | { baseHash: null; baseTitle: null; root: null })Functions
- applyPrerelease(version: string, __namedParameters: { current: string; prerelease: string }): string
Parameters
version: string
__namedParameters: { current: string; prerelease: string }
Returns string
- applyReleases(project: Project, newVersions: Map<Workspace, string>, __namedParameters: { report: Report }): void
- applyStrategy(version: null | string, strategy: string): string
Parameters
version: null | string
strategy: string
Returns string
- clearVersionFiles(project: Project): Promise<void>
Parameters
Returns Promise<void>
- getUndecidedDependentWorkspaces(versionFile: Pick<VersionFile, project | releases>, __namedParameters?: { include?: Set<Workspace> }): Workspace[][]
Parameters
versionFile: Pick<VersionFile, project | releases>
__namedParameters: { include?: Set<Workspace> } = {}
Parameters
opts: { allowEmpty: true }
- requireMoreDecisions(versionFile: VersionFile): boolean
Parameters
Returns boolean
- resolveVersionFiles(project: Project, __namedParameters?: { prerelease?: null | string }): Promise<Map<Workspace, string>>
Parameters
__namedParameters: { prerelease?: null | string } = {}
Returns Promise<Map<Workspace, string>>
- suggestStrategy(from: string, to: string): null | MAJOR | MINOR | PATCH | PRERELEASE
Parameters
Returns null | MAJOR | MINOR | PATCH | PRERELEASE
Parameters
Returns Promise<void>
- validateReleaseDecision(decision: unknown): string