MCPcopy Index your code
hub / github.com/dmno-dev/bumpy / makeBumpFile

Function makeBumpFile

packages/bumpy/test/helpers.ts:77–84  ·  view source on GitHub ↗
(
  id: string,
  releases: { name: string; type: BumpTypeWithNone }[],
  summary = 'Test change',
  extra: Partial<Pick<BumpFile, 'noChangelog' | 'channel'>> = {},
)

Source from the content-addressed store, hash-verified

75
76/** Create a BumpFile for testing */
77export function makeBumpFile(
78 id: string,
79 releases: { name: string; type: BumpTypeWithNone }[],
80 summary = 'Test change',
81 extra: Partial<Pick<BumpFile, 'noChangelog' | 'channel'>> = {},
82): BumpFile {
83 return { id, releases, summary, ...extra };
84}
85
86/** Create a ReleasePlan for testing */
87export function makeReleasePlan(releases: PlannedRelease[], bumpFiles: BumpFile[] = []): ReleasePlan {

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…