MCPcopy Create free account
hub / github.com/dmno-dev/bumpy / formatChannelVersionSummary

Function formatChannelVersionSummary

packages/bumpy/src/core/prerelease.ts:256–260  ·  view source on GitHub ↗
(releases: PlannedRelease[])

Source from the content-addressed store, hash-verified

254
255/** One-line summary of a channel plan's versions, for PR titles and commit messages */
256export function formatChannelVersionSummary(releases: PlannedRelease[]): string {
257 if (releases.length === 0) return '';
258 if (releases.length === 1) return `${releases[0]!.name}@${releases[0]!.newVersion}`;
259 return `${releases.length} packages`;
260}

Callers 2

prerelease.test.tsFile · 0.90
createChannelReleasePrFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…