concurrently 8.0.0 → 8.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/src/command-parser/expand-arguments.d.ts +1 -0
- package/dist/src/command-parser/strip-quotes.d.ts +1 -0
- package/dist/src/command.d.ts +4 -0
- package/dist/src/concurrently.js +6 -1
- package/dist/src/flow-control/log-timings.d.ts +2 -2
- package/dist/src/logger.d.ts +1 -1
- package/package.json +22 -22
package/README.md
CHANGED
|
@@ -340,7 +340,7 @@ For more details, visit https://github.com/open-cli-tools/concurrently
|
|
|
340
340
|
Prefix colors specified per-command take precedence over this list.
|
|
341
341
|
- `prefixLength`: how many characters to show when prefixing with `command`. Default: `10`
|
|
342
342
|
- `raw`: whether raw mode should be used, meaning strictly process output will
|
|
343
|
-
be logged, without any prefixes, coloring or extra stuff.
|
|
343
|
+
be logged, without any prefixes, coloring or extra stuff. Can be overriden per command.
|
|
344
344
|
- `successCondition`: the condition to consider the run was successful.
|
|
345
345
|
If `first`, only the first process to exit will make up the success of the run; if `last`, the last process that exits will determine whether the run succeeds.
|
|
346
346
|
Anything else means all processes should exit successfully.
|
package/dist/src/command.d.ts
CHANGED
package/dist/src/concurrently.js
CHANGED
|
@@ -53,7 +53,7 @@ function concurrently(baseCommands, baseOptions) {
|
|
|
53
53
|
prefixColor: prefixColorSelector.getNextColor(),
|
|
54
54
|
...command,
|
|
55
55
|
}, (0, get_spawn_opts_1.getSpawnOpts)({
|
|
56
|
-
raw: options.raw,
|
|
56
|
+
raw: command.raw ?? options.raw,
|
|
57
57
|
env: command.env,
|
|
58
58
|
cwd: command.cwd || options.cwd,
|
|
59
59
|
}), options.spawn, options.kill);
|
|
@@ -108,6 +108,11 @@ function mapToCommandInfo(command) {
|
|
|
108
108
|
prefixColor: command.prefixColor,
|
|
109
109
|
}
|
|
110
110
|
: {}),
|
|
111
|
+
...(command.raw !== undefined
|
|
112
|
+
? {
|
|
113
|
+
raw: command.raw,
|
|
114
|
+
}
|
|
115
|
+
: {}),
|
|
111
116
|
};
|
|
112
117
|
}
|
|
113
118
|
function parseCommand(command, parsers) {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { CloseEvent, Command } from '../command';
|
|
2
2
|
import { Logger } from '../logger';
|
|
3
3
|
import { FlowController } from './flow-controller';
|
|
4
|
-
|
|
4
|
+
type TimingInfo = {
|
|
5
5
|
name: string;
|
|
6
6
|
duration: string;
|
|
7
7
|
'exit code': string | number;
|
|
8
8
|
killed: boolean;
|
|
9
9
|
command: string;
|
|
10
|
-
}
|
|
10
|
+
};
|
|
11
11
|
/**
|
|
12
12
|
* Logs timing information about commands as they start/stop and then a summary when all commands finish.
|
|
13
13
|
*/
|
package/dist/src/logger.d.ts
CHANGED
|
@@ -66,7 +66,7 @@ export declare class Logger {
|
|
|
66
66
|
*
|
|
67
67
|
* Each row is a single input item, and they are presented in the input order.
|
|
68
68
|
*/
|
|
69
|
-
logTable(tableContents: unknown[]): void;
|
|
69
|
+
logTable(tableContents: Record<string, unknown>[]): void;
|
|
70
70
|
log(prefix: string, text: string, command?: Command): void;
|
|
71
71
|
emit(command: Command | undefined, text: string): void;
|
|
72
72
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "concurrently",
|
|
3
|
-
"version": "8.
|
|
3
|
+
"version": "8.1.0",
|
|
4
4
|
"description": "Run commands concurrently",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"types": "dist/src/index.d.ts",
|
|
@@ -14,10 +14,10 @@
|
|
|
14
14
|
},
|
|
15
15
|
"exports": {
|
|
16
16
|
".": {
|
|
17
|
+
"types": "./dist/src/index.d.ts",
|
|
17
18
|
"import": "./index.mjs",
|
|
18
19
|
"require": "./index.js",
|
|
19
|
-
"default": "./index.js"
|
|
20
|
-
"types": "./dist/src/index.d.ts"
|
|
20
|
+
"default": "./index.js"
|
|
21
21
|
},
|
|
22
22
|
"./package.json": "./package.json"
|
|
23
23
|
},
|
|
@@ -41,41 +41,41 @@
|
|
|
41
41
|
"date-fns": "^2.29.3",
|
|
42
42
|
"lodash": "^4.17.21",
|
|
43
43
|
"rxjs": "^7.8.0",
|
|
44
|
-
"shell-quote": "^1.
|
|
44
|
+
"shell-quote": "^1.8.0",
|
|
45
45
|
"spawn-command": "0.0.2-1",
|
|
46
46
|
"supports-color": "^8.1.1",
|
|
47
47
|
"tree-kill": "^1.2.2",
|
|
48
|
-
"yargs": "^17.
|
|
48
|
+
"yargs": "^17.7.1"
|
|
49
49
|
},
|
|
50
50
|
"devDependencies": {
|
|
51
51
|
"@hirez_io/observer-spy": "^2.2.0",
|
|
52
|
-
"@swc/core": "^1.3.
|
|
52
|
+
"@swc/core": "^1.3.42",
|
|
53
53
|
"@swc/jest": "^0.2.24",
|
|
54
|
-
"@types/jest": "^29.
|
|
55
|
-
"@types/lodash": "^4.14.
|
|
56
|
-
"@types/node": "^14.18.
|
|
54
|
+
"@types/jest": "^29.5.0",
|
|
55
|
+
"@types/lodash": "^4.14.192",
|
|
56
|
+
"@types/node": "^14.18.42",
|
|
57
57
|
"@types/shell-quote": "^1.7.1",
|
|
58
58
|
"@types/supports-color": "^8.1.1",
|
|
59
|
-
"@types/yargs": "^17.0.
|
|
60
|
-
"@typescript-eslint/eslint-plugin": "^5.
|
|
61
|
-
"@typescript-eslint/parser": "^5.
|
|
59
|
+
"@types/yargs": "^17.0.24",
|
|
60
|
+
"@typescript-eslint/eslint-plugin": "^5.57.0",
|
|
61
|
+
"@typescript-eslint/parser": "^5.57.0",
|
|
62
62
|
"coveralls-next": "^4.2.0",
|
|
63
63
|
"ctrlc-wrapper": "^0.0.4",
|
|
64
|
-
"esbuild": "
|
|
65
|
-
"eslint": "^8.
|
|
66
|
-
"eslint-config-prettier": "^8.
|
|
67
|
-
"eslint-plugin-import": "^2.
|
|
68
|
-
"eslint-plugin-jest": "^27.2.
|
|
64
|
+
"esbuild": "~0.17.14",
|
|
65
|
+
"eslint": "^8.37.0",
|
|
66
|
+
"eslint-config-prettier": "^8.8.0",
|
|
67
|
+
"eslint-plugin-import": "^2.27.5",
|
|
68
|
+
"eslint-plugin-jest": "^27.2.1",
|
|
69
69
|
"eslint-plugin-prettier": "^4.2.1",
|
|
70
|
-
"eslint-plugin-simple-import-sort": "^
|
|
70
|
+
"eslint-plugin-simple-import-sort": "^10.0.0",
|
|
71
71
|
"husky": "^8.0.3",
|
|
72
|
-
"jest": "^29.
|
|
72
|
+
"jest": "^29.5.0",
|
|
73
73
|
"jest-create-mock-instance": "^2.0.0",
|
|
74
|
-
"lint-staged": "^13.
|
|
75
|
-
"prettier": "^2.8.
|
|
74
|
+
"lint-staged": "^13.2.0",
|
|
75
|
+
"prettier": "^2.8.7",
|
|
76
76
|
"safe-publish-latest": "^2.0.0",
|
|
77
77
|
"string-argv": "^0.3.1",
|
|
78
|
-
"typescript": "~
|
|
78
|
+
"typescript": "~5.0.2"
|
|
79
79
|
},
|
|
80
80
|
"files": [
|
|
81
81
|
"dist",
|