nx
Version:
20 lines (19 loc) • 797 B
TypeScript
import { ProjectGraph } from '../../../config/project-graph';
import { NxReleaseConfig } from './config';
import { GroupVersionPlan, ProjectsVersionPlan } from './version-plans';
export type ReleaseGroupWithName = NxReleaseConfig['groups'][string] & {
name: string;
resolvedVersionPlans: (ProjectsVersionPlan | GroupVersionPlan)[] | false;
};
export declare function filterReleaseGroups(projectGraph: ProjectGraph, nxReleaseConfig: NxReleaseConfig, projectsFilter?: string[], groupsFilter?: string[]): {
error: null | {
title: string;
bodyLines?: string[];
};
filterLog: {
title: string;
bodyLines: string[];
} | null;
releaseGroups: ReleaseGroupWithName[];
releaseGroupToFilteredProjects: Map<ReleaseGroupWithName, Set<string>>;
};