UNPKG

create-nx-workspace

Version:

Smart Repos · Fast Builds

27 lines (26 loc) 851 B
export declare enum VcsPushStatus { PushedToVcs = "PushedToVcs", OptedOutOfPushingToVcs = "OptedOutOfPushingToVcs", FailedToPushToVcs = "FailedToPushToVcs", SkippedGit = "SkippedGit" } export declare class GitHubPushSkippedError extends Error { readonly title = "Push your workspace"; constructor(message: string); } export declare function checkGitVersion(): Promise<string | null | undefined>; export declare function initializeGitRepo(directory: string, options: { defaultBase: string; commit?: { message: string; name: string; email: string; }; connectUrl?: string | null; }): Promise<void>; export declare function pushToGitHub(directory: string, options: { skipGitHubPush?: boolean; name: string; defaultBase: string; verbose?: boolean; }): Promise<VcsPushStatus>;