1 | import { Tree, ProjectGraph } from '@nrwl/devkit';
|
2 | type CallBack<T> = (currentValue: T, project: string, target: string, configuration?: string) => void;
|
3 | /**
|
4 | * Calls a function for each different options that an executor is configured with
|
5 | */
|
6 | export declare function forEachExecutorOptions<Options>(tree: Tree,
|
7 | /**
|
8 | * Name of the executor to update options for
|
9 | */
|
10 | executorName: string,
|
11 | /**
|
12 | * Callback that is called for each options configured for a builder
|
13 | */
|
14 | callback: CallBack<Options>): void;
|
15 | /**
|
16 | * Calls a function for each different options that an executor is configured with via the project graph
|
17 | * this is helpful when you need to get the expaned configuration options from the nx.json
|
18 | **/
|
19 | export declare function forEachExecutorOptionsInGraph<Options>(graph: ProjectGraph, executorName: string, callback: CallBack<Options>): void;
|
20 | export {};
|