UNPKG

@coveo/semantic-monorepo-tools

Version:

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

7 lines (6 loc) 247 B
import spawn from "../utils/spawn.js"; import gitLogger from "./utils/gitLogger.js"; export default async function (message, PATH) { await spawn("git", ["add", PATH], gitLogger); await spawn("git", ["commit", "-m", message], gitLogger); }