export declare type PowerPartial = { [U in keyof T]?: T[U] extends object ? PowerPartial : T[U]; }; export declare type WebhookOptionsBodyFunctionType = (changeLog: string, newVersion: string) => Record; export interface GitOptions { tag: boolean; push: boolean; checkClean: boolean; } export interface NpmOptions { buildCommand: ''; build: boolean; publish: boolean; versionType: 'patch' | 'minor' | 'major' | 'prepatch' | 'preminor' | 'premajor' | 'prerelease'; } export interface WebhookOptions { enabled: boolean; url: string; body: Record | WebhookOptionsBodyFunctionType; } export interface Options { /** * The project and path are used to execute commands. * The default is the directory where js is currently executed */ projectRootPath: string; /** * The git options */ git: GitOptions; /** * The npm options */ npm: NpmOptions; /** * The webhook options */ webhook: WebhookOptions; }