UNPKG

@nx/devkit

Version:

The Nx Devkit is used to customize Nx for different technologies and use cases. It contains many utility functions for reading and writing files, updating configuration, working with Abstract Syntax Trees(ASTs), and more. Learn more about [extending Nx by

28 lines (27 loc) 661 B
interface AggregateLogOptions { project: string; log: string; executorName: string; } interface AggregateLogItem { log: string; projects: Set<string>; } /** * @example * // Instantiate a new object * const migrationLogs = new AggregatedLog(); * * // Add logs * migrationLogs.addLog({executorName: '@nx/vite:build', project: 'app1', log: 'Migrate X manually'}); * * // Flush all logs * migrationLogs.flushLogs() */ export declare class AggregatedLog { logs: Map<string, Map<string, AggregateLogItem>>; addLog({ project, log, executorName }: AggregateLogOptions): void; reset(): void; flushLogs(): void; } export {};