UNPKG

@coveo/semantic-monorepo-tools

Version:

A library of helper functions to do SemVer2 compliant releases from Conventional Commits in monorepos

26 lines (25 loc) 735 B
/** * Parameters of `gitPush` */ interface GitPushParams { /** * Use `--force` flag if true * @type {boolean} * @default [false] */ force?: boolean; /** * Which remote to push to * @see https://git-scm.com/docs/git-push#_remotes * @default {'origin'} */ remote?: string; /** * Which refs to push * @see {@link https://git-scm.com/docs/git-push#Documentation/git-push.txt-ltrefspecgt82308203| Git-SCM, git push, refspec} * @default {[]} @see {@link https://git-scm.com/docs/git-config#Documentation/git-config.txt-pushdefault| git config, push.default}} */ refs?: string[]; } export default function (opts?: GitPushParams): Promise<void>; export {};