MCPcopy Index your code
hub / github.com/changesets/changesets / getAddMessage

Function getAddMessage

packages/cli/src/commit/index.ts:5–12  ·  view source on GitHub ↗
(
  changeset: Changeset,
  options: { skipCI?: SkipCI } | null
)

Source from the content-addressed store, hash-verified

3type SkipCI = boolean | "add" | "version";
4
5const getAddMessage: CommitFunctions["getAddMessage"] = async (
6 changeset: Changeset,
7 options: { skipCI?: SkipCI } | null
8) => {
9 const skipCI = options?.skipCI === "add" || options?.skipCI === true;
10 const skipMsg = skipCI ? `\n\n[skip ci]\n` : "";
11 return `docs(changeset): ${changeset.summary}${skipMsg}`;
12};
13
14const getVersionMessage: CommitFunctions["getVersionMessage"] = async (
15 releasePlan: ReleasePlan,

Callers 2

addFunction · 0.85
commit.test.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected