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

Function shouldTrigger

packages/bumpy/src/core/release-plan.ts:458–460  ·  view source on GitHub ↗

Check if a bump level meets the trigger threshold

(bumpType: BumpType, trigger: BumpType)

Source from the content-addressed store, hash-verified

456
457/** Check if a bump level meets the trigger threshold */
458function shouldTrigger(bumpType: BumpType, trigger: BumpType): boolean {
459 return bumpLevel(bumpType) >= bumpLevel(trigger);
460}
461
462/**
463 * Consumer-side cascade rules for a package: explicit `cascadeFrom` entries, plus the

Callers 3

assembleReleasePlanFunction · 0.85
applyCascadeRulesFunction · 0.85
applyCascadeFromFunction · 0.85

Calls 1

bumpLevelFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…