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

Function bumpSectionHeader

packages/bumpy/src/commands/ci.ts:1592–1598  ·  view source on GitHub ↗
(type: string)

Source from the content-addressed store, hash-verified

1590}
1591
1592function bumpSectionHeader(type: string): string {
1593 // I think pixelated css gets stripped but may as well leave it
1594 // wrapping in <a> prevents Gmail dark mode from inverting the image
1595 const label = `${type.charAt(0).toUpperCase() + type.slice(1)} releases`;
1596 const frog = `<a href="https://bumpy.varlock.dev" title="${label}"><img src="${FROG_IMG_BASE}/frog-${type}.png" alt="${type}" width="52" style="image-rendering: pixelated;" align="right" /></a>`;
1597 return `### ${frog} ${label}`;
1598}
1599
1600/** Build inline diff links for a package's changed files in the PR */
1601function buildDiffLinks(pkgDir: string, changesBaseUrl: string | null): string {

Callers 2

formatReleasePlanCommentFunction · 0.85
renderFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…