(
addOns: Options['chosenAddOns'],
)
| 431 | } |
| 432 | |
| 433 | function findExclusiveConflicts( |
| 434 | addOns: Options['chosenAddOns'], |
| 435 | ): Array<{ category: string; names: Array<string> }> { |
| 436 | const buckets: Record<string, Array<string>> = {} |
| 437 | for (const addOn of addOns) { |
| 438 | for (const exclusive of addOn.exclusive || []) { |
| 439 | buckets[exclusive] ??= [] |
| 440 | buckets[exclusive].push(addOn.name) |
| 441 | } |
| 442 | } |
| 443 | return Object.entries(buckets) |
| 444 | .filter(([_, names]) => names.length > 1) |
| 445 | .map(([category, names]) => ({ category, names })) |
| 446 | } |
| 447 | |
| 448 | const availableFrameworks = getFrameworks().map((f) => f.name) |
| 449 |
no outgoing calls
no test coverage detected