(
r: {
name: string;
type: string;
oldVersion: string;
newVersion: string;
bumpFiles: string[];
isDependencyBump: boolean;
isCascadeBump: boolean;
},
packages: Map<string, { relativeDir: string; private: boolean; bumpy?: PackageConfig }>,
config: BumpyConfig,
)
| 476 | } |
| 477 | |
| 478 | function formatPlanRelease( |
| 479 | r: { |
| 480 | name: string; |
| 481 | type: string; |
| 482 | oldVersion: string; |
| 483 | newVersion: string; |
| 484 | bumpFiles: string[]; |
| 485 | isDependencyBump: boolean; |
| 486 | isCascadeBump: boolean; |
| 487 | }, |
| 488 | packages: Map<string, { relativeDir: string; private: boolean; bumpy?: PackageConfig }>, |
| 489 | config: BumpyConfig, |
| 490 | ): PlanRelease { |
| 491 | const pkg = packages.get(r.name); |
| 492 | return { |
| 493 | name: r.name, |
| 494 | type: r.type, |
| 495 | oldVersion: r.oldVersion, |
| 496 | newVersion: r.newVersion, |
| 497 | dir: pkg?.relativeDir, |
| 498 | bumpFiles: r.bumpFiles, |
| 499 | isDependencyBump: r.isDependencyBump, |
| 500 | isCascadeBump: r.isCascadeBump, |
| 501 | publishTargets: getPublishTargets(pkg, config), |
| 502 | }; |
| 503 | } |
| 504 | |
| 505 | function getPublishTargets( |
| 506 | pkg: { private: boolean; bumpy?: PackageConfig } | undefined, |
no test coverage detected
searching dependent graphs…