UNPKG

gitversionjs

Version:

Auto-generates SemVer versions from Git tags and branches, GitFlow-style.

8 lines (7 loc) 235 B
import { GitVersionConfig } from "./config.js"; export interface GitInfo { currentBranch: string; tags: string[]; branchType: string | null; } export declare function getGitInfo(config: GitVersionConfig): Promise<GitInfo>;