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

Function printRelease

packages/bumpy/src/commands/status.ts:290–299  ·  view source on GitHub ↗
(r: PlannedRelease, packages: Map<string, WorkspacePackage>)

Source from the content-addressed store, hash-verified

288}
289
290function printRelease(r: PlannedRelease, packages: Map<string, WorkspacePackage>) {
291 const pkg = packages.get(r.name);
292 const dir = pkg ? colorize(` (${pkg.relativeDir})`, 'dim') : '';
293 const suffix = r.isDependencyBump
294 ? colorize(' ← dependency bump', 'dim')
295 : r.isCascadeBump
296 ? colorize(' ← cascade', 'dim')
297 : '';
298 console.log(` ${r.name}: ${r.oldVersion} → ${colorize(r.newVersion, 'cyan')}${suffix}${dir}`);
299}
300
301/** Determine which publish targets a package will use */
302function getPublishTargets(

Callers 2

statusCommandFunction · 0.85
channelStatusFunction · 0.85

Calls 1

colorizeFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…