@daotl/traf-nx
Version:
A cli tool that wraps `@traf/core` to be used with Nx.
22 lines (21 loc) • 582 B
TypeScript
import { TrueAffectedProject } from '@traf/core';
interface NxProject {
name: string;
sourceRoot: string;
projectType: 'application' | 'library';
implicitDependencies?: string[];
targets?: {
build?: {
options: {
tsConfig: string;
};
};
};
}
interface WorkspaceProject {
name: string;
project: NxProject;
}
export declare function getNxProjects(cwd: string): Promise<WorkspaceProject[]>;
export declare function getNxTrueAffectedProjects(cwd: string): Promise<TrueAffectedProject[]>;
export {};