UNPKG

nx

Version:

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

39 lines 2.01 kB
import type { ChangelogOptions } from '../command-object'; import type { NxReleaseConfig } from '../config/config'; import { RawVersionPlan } from '../config/version-plans'; import type { VersionData } from '../utils/shared'; /** * Filters version plans to only include those that were committed between the specified SHAs * @param versionPlans The raw version plans to filter * @param fromSHA The starting commit SHA (exclusive) * @param toSHA The ending commit SHA (inclusive) * @param isVerbose Whether to output verbose logging * @returns The filtered version plans */ export declare function filterVersionPlansByCommitRange(versionPlans: RawVersionPlan[], fromSHA: string, toSHA: string, isVerbose: boolean): Promise<RawVersionPlan[]>; /** * Resolves the "from SHA" for changelog purposes. * This determines the starting point for changelog generation and optional version plan filtering. */ export declare function resolveChangelogFromSHA({ fromRef, tagPattern, tagPatternValues, checkAllBranchesWhen, preid, requireSemver, strictPreid, useAutomaticFromRef, }: { fromRef?: string; tagPattern: string; tagPatternValues: Record<string, string>; checkAllBranchesWhen: boolean | string[]; preid?: string; requireSemver: boolean; strictPreid: boolean; useAutomaticFromRef: boolean; }): Promise<string | null>; /** * Helper function for workspace-level "from SHA" resolution. * Extracts preids and calls the generic resolver. */ export declare function resolveWorkspaceChangelogFromSHA({ args, nxReleaseConfig, useAutomaticFromRef, }: { args: ChangelogOptions; nxReleaseConfig: NxReleaseConfig; useAutomaticFromRef: boolean; }): Promise<string | null>; export declare function extractPreidFromVersion(version: string | null | undefined): string | undefined; export declare function extractProjectsPreidFromVersionData(versionData: VersionData | undefined): Record<string, string | undefined> | undefined; //# sourceMappingURL=version-plan-filtering.d.ts.map