* Consumer-side cascade rules for a package: explicit `cascadeFrom` entries, plus the * `releaseTriggeringDevDeps` sugar. * * `releaseTriggeringDevDeps` lists `devDependencies` that are release-relevant — typically * because they're bundled into this package's published output (inlined by a buil
(pkg: WorkspacePackage)
| 472 | const cascadeBump = rule.bumpAs === 'match' ? sourceType : rule.bumpAs; |
| 473 | for (const [targetName] of packages) { |
| 474 | if (!matchGlob(targetName, pattern)) continue; |
| 475 | if (applyBump(planned, targetName, cascadeBump, false, true, sourceName)) { |
| 476 | changed = true; |
| 477 | } |
| 478 | } |
| 479 | } |
| 480 | return changed; |
| 481 | } |
| 482 | |
| 483 | /** |
| 484 | * Apply consumer-side cascadeFrom rules. |
| 485 | * Scans all packages for cascadeFrom entries where the pattern matches the bumped source. |
| 486 | * Returns true if any bump was applied. |
| 487 | */ |
| 488 | function applyCascadeFrom( |
no test coverage detected
searching dependent graphs…