All files / lib/types ConfigOptions.d.ts

0% Statements 0/45
0% Branches 0/1
0% Functions 0/1
0% Lines 0/45

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46                                                                                           
import { CacheOptions } from "./CacheOptions";
import { Priority } from "./Priority";
import { PipelineDefinition } from "./PipelineDefinition";
import { LoggerOptions } from "./LoggerOptions";
export declare type NpmClient = "npm" | "yarn" | "pnpm";
export interface ConfigOptions {
    /**
     * Defines the task pipeline, prefix with "^" character to denote a topological dependency
     *
     * Example:
     *
     * ```
     * {
     *   build: ["^build"],
     *   test: ["build"],
     *   lint: []
     * }
     * ```
     */
    pipeline: PipelineDefinition;
    /** Should cache be enabled */
    cache: boolean;
    /** Backfill cache options */
    cacheOptions: CacheOptions;
    /** Which files to ignore when calculating scopes with --since */
    ignore: string[];
    /** disables --since flag when any of this list of files changed */
    repoWideChanges: string[];
    /** Which NPM Client to use when running npm lifecycle scripts */
    npmClient: NpmClient;
    /** Optional priority to set on tasks in a package to make the scheduler give priority to tasks on the critical path for high priority tasks */
    priorities: Priority[];
    /**
     * Should we try to run the task graph as much as we can even though one task has failed
     */
    continue: boolean;
    /**
     * Run the tasks for the dependencies of scoped tasks
     */
    includeDependencies: boolean;
    /**
     * Options that will be sent to all log reporters.
     */
    loggerOptions: LoggerOptions;
}