@sewing-kit/types
Advanced tools
Comparing version
import { AsyncSeriesHook, AsyncSeriesWaterfallHook } from 'tapable'; | ||
import execa from 'execa'; | ||
import { ExecaChildProcess, Options as ExecaOptions } from 'execa'; | ||
export declare type Formatter = (strings: TemplateStringsArray, ...interpolated: Loggable[]) => string; | ||
@@ -11,4 +11,4 @@ export declare type Loggable = ((format: Formatter) => string) | string; | ||
export interface StepRunner { | ||
readonly exec: typeof execa; | ||
log(arg: Loggable, level?: LogLevel): void; | ||
exec(file: string, args?: ReadonlyArray<string> | ExecaOptions, options?: ExecaOptions): ExecaChildProcess; | ||
} | ||
@@ -15,0 +15,0 @@ export interface Step { |
import { AsyncSeriesHook, AsyncSeriesWaterfallHook } from 'tapable'; | ||
import execa from 'execa'; | ||
import { ExecaChildProcess, Options as ExecaOptions } from 'execa'; | ||
export declare type Formatter = (strings: TemplateStringsArray, ...interpolated: Loggable[]) => string; | ||
@@ -11,4 +11,4 @@ export declare type Loggable = ((format: Formatter) => string) | string; | ||
export interface StepRunner { | ||
readonly exec: typeof execa; | ||
log(arg: Loggable, level?: LogLevel): void; | ||
exec(file: string, args?: ReadonlyArray<string> | ExecaOptions, options?: ExecaOptions): ExecaChildProcess; | ||
} | ||
@@ -15,0 +15,0 @@ export interface Step { |
{ | ||
"name": "@sewing-kit/types", | ||
"version": "0.0.3", | ||
"version": "0.0.4", | ||
"sideEffects": false, | ||
@@ -14,3 +14,3 @@ "publishConfig": { | ||
}, | ||
"gitHead": "e082aec343400f231a9a2a67ede8c94ed5d76c3b" | ||
"gitHead": "27c437a52ed52343cb4633556568514d5f058a37" | ||
} |
import {AsyncSeriesHook, AsyncSeriesWaterfallHook} from 'tapable'; | ||
import execa from 'execa'; | ||
import {ExecaChildProcess, Options as ExecaOptions} from 'execa'; | ||
@@ -22,4 +22,8 @@ // ================================================================== | ||
export interface StepRunner { | ||
readonly exec: typeof execa; | ||
log(arg: Loggable, level?: LogLevel): void; | ||
exec( | ||
file: string, | ||
args?: ReadonlyArray<string> | ExecaOptions, | ||
options?: ExecaOptions, | ||
): ExecaChildProcess; | ||
} | ||
@@ -26,0 +30,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
271098
0.19%14
7.69%1001
0.4%