@types/concurrently
Advanced tools
Comparing version 4.1.0 to 5.1.0
@@ -1,4 +0,5 @@ | ||
// Type definitions for concurrently 4.1 | ||
// Type definitions for concurrently 5.1 | ||
// Project: https://github.com/kimmobrunfeldt/concurrently#readme | ||
// Definitions by: Michael B. <https://github.com/Blasz> | ||
// Piotr Błażejewicz <https://github.com/peterblazejewicz> | ||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped | ||
@@ -8,4 +9,2 @@ | ||
export = concurrently; | ||
declare function concurrently( | ||
@@ -23,14 +22,29 @@ commands: Array<concurrently.CommandObj | string>, | ||
interface Options { | ||
/** the default input target when reading from `inputStream`. Default: `0`. */ | ||
defaultInputTarget?: number; | ||
/** a Readable stream to read the input from, eg `process.stdin` */ | ||
inputStream?: NodeJS.ReadableStream; | ||
/** an array of exiting conditions that will cause a process to kill others. Can contain any of success or failure. */ | ||
killOthers?: Array<'success' | 'failure'>; | ||
/** a Writable stream to write logs to. Default: `process.stdout` */ | ||
outputStream?: NodeJS.WritableStream; | ||
/** | ||
* the prefix type to use when logging processes output. | ||
*/ | ||
prefix?: 'index' | 'pid' | 'time' | 'command' | 'name' | 'none' | string; | ||
/** how many characters to show when prefixing with `command`. Default: `10` */ | ||
prefixLength?: number; | ||
/** whether raw mode should be used, meaning strictly process output will be logged, without any prefixes, colouring or extra stuff. */ | ||
raw?: boolean; | ||
/** the condition to consider the run was successful. */ | ||
successCondition?: 'first' | 'last'; | ||
/** how many attempts to restart a process that dies will be made. Default: `0` */ | ||
restartTries?: number; | ||
/** how many milliseconds to wait between process restarts. Default: 0 */ | ||
restartDelay?: number; | ||
successCondition?: 'first' | 'last'; | ||
/** a date-fns format to use when prefixing with time. Default: `yyyy-MM-dd HH:mm:ss.ZZZ` */ | ||
timestampFormat?: string; | ||
} | ||
} | ||
export = concurrently; |
{ | ||
"name": "@types/concurrently", | ||
"version": "4.1.0", | ||
"version": "5.1.0", | ||
"description": "TypeScript definitions for concurrently", | ||
@@ -11,6 +11,11 @@ "license": "MIT", | ||
"githubUsername": "Blasz" | ||
}, | ||
{ | ||
"name": "Piotr Błażejewicz", | ||
"url": "https://github.com/peterblazejewicz", | ||
"githubUsername": "peterblazejewicz" | ||
} | ||
], | ||
"main": "", | ||
"types": "index", | ||
"types": "index.d.ts", | ||
"repository": { | ||
@@ -25,4 +30,4 @@ "type": "git", | ||
}, | ||
"typesPublisherContentHash": "91bdaae10610db89c9573edd2f0bdcdf396249cf775565414501b5e3f67da0ad", | ||
"typeScriptVersion": "2.0" | ||
"typesPublisherContentHash": "343361b14d11967e859ebdb17be1e286a20f0b0a9ca0b257eb281858673a6faa", | ||
"typeScriptVersion": "2.8" | ||
} |
@@ -8,10 +8,10 @@ # Installation | ||
# Details | ||
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/concurrently | ||
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/concurrently. | ||
Additional Details | ||
* Last updated: Wed, 25 Sep 2019 18:25:00 GMT | ||
* Dependencies: @types/node | ||
### Additional Details | ||
* Last updated: Thu, 06 Feb 2020 23:10:15 GMT | ||
* Dependencies: [@types/node](https://npmjs.com/package/@types/node) | ||
* Global values: none | ||
# Credits | ||
These definitions were written by Michael B. <https://github.com/Blasz>. | ||
These definitions were written by Michael B. (https://github.com/Blasz), and Piotr Błażejewicz (https://github.com/peterblazejewicz). |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
4877
44