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/**
458 * Apply normalized cascade rules (used for both cascadeTo and cascadeFrom).
459 * Keys in `rules` are target package name/glob patterns.
460 * Returns true if any bump was applied.
461 */
462function applyCascadeRules(
463 rules: Record<string, Required<{ trigger: BumpType; bumpAs: BumpType | 'match' }>>,

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…