mirror of https://github.com/ghostfolio/ghostfolio
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
43 lines
2.2 KiB
43 lines
2.2 KiB
import { ProjectGraph, ProjectGraphProjectNode } from '../config/project-graph';
|
|
import { Task, TaskGraph } from '../config/task-graph';
|
|
import { TargetDefaults, TargetDependencies } from '../config/nx-json';
|
|
export declare class ProcessTasks {
|
|
private readonly extraTargetDependencies;
|
|
private readonly projectGraph;
|
|
private readonly seen;
|
|
readonly tasks: {
|
|
[id: string]: Task;
|
|
};
|
|
readonly dependencies: {
|
|
[k: string]: string[];
|
|
};
|
|
readonly continuousDependencies: {
|
|
[k: string]: string[];
|
|
};
|
|
private readonly allTargetNames;
|
|
constructor(extraTargetDependencies: TargetDependencies, projectGraph: ProjectGraph);
|
|
processTasks(projectNames: string[], targets: string[], configuration: string, overrides: Object, excludeTaskDependencies: boolean): string[];
|
|
processTask(task: Task, projectUsedToDeriveDependencies: string, configuration: string, overrides: Object): void;
|
|
private processTasksForMultipleProjects;
|
|
private processTasksForSingleProject;
|
|
private processTasksForDependencies;
|
|
private createDummyTask;
|
|
createTask(id: string, project: ProjectGraphProjectNode, target: string, resolvedConfiguration: string | undefined, overrides: Object): Task;
|
|
resolveConfiguration(project: ProjectGraphProjectNode, target: string, configuration: string | undefined): string;
|
|
}
|
|
export declare function createTaskGraph(projectGraph: ProjectGraph, extraTargetDependencies: TargetDependencies, projectNames: string[], targets: string[], configuration: string | undefined, overrides: Object, excludeTaskDependencies?: boolean): TaskGraph;
|
|
export declare function mapTargetDefaultsToDependencies(defaults: TargetDefaults | undefined): TargetDependencies;
|
|
/**
|
|
* This function is used to filter out the dummy tasks from the dependencies
|
|
* It will manipulate the dependencies object in place
|
|
*/
|
|
export declare function filterDummyTasks(dependencies: {
|
|
[k: string]: string[];
|
|
}): void;
|
|
/**
|
|
* this function is used to get the non dummy dependencies of a task recursively
|
|
*/
|
|
export declare function getNonDummyDeps(currentTask: string, dependencies: {
|
|
[k: string]: string[];
|
|
}, cycles?: Set<string>, seen?: Set<string>): string[];
|
|
//# sourceMappingURL=create-task-graph.d.ts.map
|