UNPKG

@traf/nx

Version:

A cli tool that wraps `@traf/core` to be used with Nx.

24 lines (23 loc) 732 B
import { TrueAffectedLogging, TrueAffectedProject } from '@traf/core'; interface NxProject { name?: string; sourceRoot?: string; projectType: 'application' | 'library'; implicitDependencies?: string[]; targets?: { build?: { options: { tsConfig: string; }; }; }; } interface WorkspaceProject { name?: string; path: string; project: NxProject; } export declare function getNxProjects(cwd: string): Promise<WorkspaceProject[]>; type GetNxTrueAffectedProjectsOptions = TrueAffectedLogging; export declare function getNxTrueAffectedProjects(cwd: string, { logger }?: GetNxTrueAffectedProjectsOptions): Promise<TrueAffectedProject[]>; export {};