UNPKG

nx

Version:

The core Nx plugin contains the core functionality of Nx like the project graph, nx commands and task orchestration.

20 lines (19 loc) 797 B
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>>; };