concurrently 9.2.0 → 10.0.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 +25 -15
- package/dist/bin/{concurrently.js → index.js} +23 -52
- package/dist/bin/index.spec.d.ts +1 -0
- package/dist/bin/index.spec.js +368 -0
- package/dist/bin/normalize-cli-command.d.ts +1 -0
- package/dist/bin/normalize-cli-command.js +15 -0
- package/dist/bin/normalize-cli-command.spec.d.ts +1 -0
- package/dist/bin/normalize-cli-command.spec.js +36 -0
- package/dist/bin/read-package-json.d.ts +4 -0
- package/dist/bin/read-package-json.js +17 -0
- package/dist/lib/__fixtures__/create-mock-instance.d.ts +2 -0
- package/dist/lib/__fixtures__/create-mock-instance.js +5 -0
- package/dist/lib/__fixtures__/fake-command.d.ts +6 -0
- package/dist/lib/__fixtures__/fake-command.js +37 -0
- package/dist/lib/assert.d.ts +10 -0
- package/dist/lib/assert.js +24 -0
- package/dist/lib/assert.spec.d.ts +1 -0
- package/dist/lib/assert.spec.js +41 -0
- package/dist/{src → lib}/command-parser/expand-arguments.d.ts +7 -7
- package/dist/lib/command-parser/expand-arguments.js +36 -0
- package/dist/lib/command-parser/expand-arguments.spec.d.ts +1 -0
- package/dist/lib/command-parser/expand-arguments.spec.js +57 -0
- package/dist/{src → lib}/command-parser/expand-shortcut.d.ts +2 -2
- package/dist/{src → lib}/command-parser/expand-shortcut.js +1 -5
- package/dist/lib/command-parser/expand-shortcut.spec.d.ts +1 -0
- package/dist/lib/command-parser/expand-shortcut.spec.js +36 -0
- package/dist/{src → lib}/command-parser/expand-wildcard.d.ts +2 -2
- package/dist/{src → lib}/command-parser/expand-wildcard.js +25 -31
- package/dist/lib/command-parser/expand-wildcard.spec.d.ts +1 -0
- package/dist/lib/command-parser/expand-wildcard.spec.js +288 -0
- package/dist/{src → lib}/command.d.ts +7 -10
- package/dist/{src → lib}/command.js +13 -32
- package/dist/lib/command.spec.d.ts +1 -0
- package/dist/lib/command.spec.js +369 -0
- package/dist/{src → lib}/completion-listener.d.ts +2 -3
- package/dist/{src → lib}/completion-listener.js +9 -36
- package/dist/lib/completion-listener.spec.d.ts +1 -0
- package/dist/lib/completion-listener.spec.js +229 -0
- package/dist/{src → lib}/concurrently.d.ts +10 -12
- package/dist/{src → lib}/concurrently.js +34 -47
- package/dist/lib/concurrently.spec.d.ts +1 -0
- package/dist/lib/concurrently.spec.js +320 -0
- package/dist/{src → lib}/date-format.d.ts +2 -2
- package/dist/{src → lib}/date-format.js +101 -77
- package/dist/lib/date-format.spec.d.ts +1 -0
- package/dist/lib/date-format.spec.js +480 -0
- package/dist/{src → lib}/defaults.d.ts +2 -6
- package/dist/{src → lib}/defaults.js +16 -23
- package/dist/{src → lib}/flow-control/input-handler.d.ts +4 -5
- package/dist/{src → lib}/flow-control/input-handler.js +8 -34
- package/dist/lib/flow-control/input-handler.spec.d.ts +1 -0
- package/dist/lib/flow-control/input-handler.spec.js +116 -0
- package/dist/{src → lib}/flow-control/kill-on-signal.d.ts +3 -5
- package/dist/{src → lib}/flow-control/kill-on-signal.js +3 -7
- package/dist/lib/flow-control/kill-on-signal.spec.d.ts +1 -0
- package/dist/lib/flow-control/kill-on-signal.spec.js +63 -0
- package/dist/{src → lib}/flow-control/kill-others.d.ts +3 -4
- package/dist/{src → lib}/flow-control/kill-others.js +8 -15
- package/dist/lib/flow-control/kill-others.spec.d.ts +1 -0
- package/dist/lib/flow-control/kill-others.spec.js +98 -0
- package/dist/{src → lib}/flow-control/log-error.d.ts +3 -3
- package/dist/{src → lib}/flow-control/log-error.js +1 -5
- package/dist/lib/flow-control/log-error.spec.d.ts +1 -0
- package/dist/lib/flow-control/log-error.spec.js +33 -0
- package/dist/{src → lib}/flow-control/log-exit.d.ts +3 -3
- package/dist/{src → lib}/flow-control/log-exit.js +1 -5
- package/dist/lib/flow-control/log-exit.spec.d.ts +1 -0
- package/dist/lib/flow-control/log-exit.spec.js +24 -0
- package/dist/{src → lib}/flow-control/log-output.d.ts +3 -3
- package/dist/{src → lib}/flow-control/log-output.js +1 -5
- package/dist/lib/flow-control/log-output.spec.d.ts +1 -0
- package/dist/lib/flow-control/log-output.spec.js +33 -0
- package/dist/{src → lib}/flow-control/log-timings.d.ts +3 -3
- package/dist/{src → lib}/flow-control/log-timings.js +11 -44
- package/dist/lib/flow-control/log-timings.spec.d.ts +1 -0
- package/dist/lib/flow-control/log-timings.spec.js +89 -0
- package/dist/{src → lib}/flow-control/logger-padding.d.ts +3 -3
- package/dist/{src → lib}/flow-control/logger-padding.js +7 -7
- package/dist/lib/flow-control/logger-padding.spec.d.ts +1 -0
- package/dist/lib/flow-control/logger-padding.spec.js +60 -0
- package/dist/{src → lib}/flow-control/output-error-handler.d.ts +4 -6
- package/dist/{src → lib}/flow-control/output-error-handler.js +3 -7
- package/dist/lib/flow-control/output-error-handler.spec.d.ts +1 -0
- package/dist/lib/flow-control/output-error-handler.spec.js +41 -0
- package/dist/{src → lib}/flow-control/restart-process.d.ts +4 -4
- package/dist/{src → lib}/flow-control/restart-process.js +10 -37
- package/dist/lib/flow-control/restart-process.spec.d.ts +1 -0
- package/dist/lib/flow-control/restart-process.spec.js +127 -0
- package/dist/{src → lib}/flow-control/teardown.d.ts +4 -5
- package/dist/{src → lib}/flow-control/teardown.js +6 -33
- package/dist/lib/flow-control/teardown.spec.d.ts +1 -0
- package/dist/lib/flow-control/teardown.spec.js +93 -0
- package/dist/{src → lib}/index.d.ts +21 -20
- package/dist/lib/index.js +98 -0
- package/dist/lib/jsonc.d.ts +8 -0
- package/dist/{src → lib}/jsonc.js +3 -8
- package/dist/lib/jsonc.spec.d.ts +1 -0
- package/dist/lib/jsonc.spec.js +73 -0
- package/dist/{src → lib}/logger.d.ts +3 -2
- package/dist/{src → lib}/logger.js +112 -53
- package/dist/lib/logger.spec.d.ts +1 -0
- package/dist/lib/logger.spec.js +507 -0
- package/dist/{src → lib}/observables.d.ts +1 -2
- package/dist/{src → lib}/observables.js +3 -7
- package/dist/lib/observables.spec.d.ts +1 -0
- package/dist/lib/observables.spec.js +29 -0
- package/dist/{src → lib}/output-writer.d.ts +3 -4
- package/dist/{src → lib}/output-writer.js +4 -31
- package/dist/lib/output-writer.spec.d.ts +1 -0
- package/dist/lib/output-writer.spec.js +96 -0
- package/dist/lib/prefix-color-selector.d.ts +21 -0
- package/dist/{src → lib}/prefix-color-selector.js +14 -31
- package/dist/lib/prefix-color-selector.spec.d.ts +1 -0
- package/dist/lib/prefix-color-selector.spec.js +159 -0
- package/dist/{src → lib}/spawn.d.ts +19 -16
- package/dist/lib/spawn.js +105 -0
- package/dist/lib/spawn.spec.d.ts +1 -0
- package/dist/lib/spawn.spec.js +100 -0
- package/dist/lib/utils.d.ts +25 -0
- package/dist/lib/utils.js +52 -0
- package/dist/lib/utils.spec.d.ts +1 -0
- package/dist/lib/utils.spec.js +58 -0
- package/dist/tsconfig.tsbuildinfo +1 -0
- package/docs/README.md +6 -0
- package/docs/cli/passthrough-arguments.md +8 -8
- package/docs/cli/prefixing.md +44 -4
- package/docs/cli/shortcuts.md +2 -2
- package/docs/shell-resolution.md +48 -0
- package/package.json +64 -85
- package/dist/bin/read-package.d.ts +0 -6
- package/dist/bin/read-package.js +0 -47
- package/dist/src/assert.d.ts +0 -5
- package/dist/src/assert.js +0 -16
- package/dist/src/command-parser/command-parser.d.ts +0 -19
- package/dist/src/command-parser/command-parser.js +0 -2
- package/dist/src/command-parser/expand-arguments.js +0 -39
- package/dist/src/command-parser/strip-quotes.d.ts +0 -16
- package/dist/src/command-parser/strip-quotes.js +0 -17
- package/dist/src/flow-control/flow-controller.d.ts +0 -13
- package/dist/src/flow-control/flow-controller.js +0 -2
- package/dist/src/index.js +0 -99
- package/dist/src/jsonc.d.ts +0 -8
- package/dist/src/prefix-color-selector.d.ts +0 -11
- package/dist/src/spawn.js +0 -49
- package/index.d.mts +0 -7
- package/index.d.ts +0 -11
- package/index.js +0 -14
- package/index.mjs +0 -10
- /package/dist/bin/{concurrently.d.ts → index.d.ts} +0 -0
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.StripQuotes = void 0;
|
|
4
|
-
/**
|
|
5
|
-
* Strips quotes around commands so that they can run on the current shell.
|
|
6
|
-
*/
|
|
7
|
-
class StripQuotes {
|
|
8
|
-
parse(commandInfo) {
|
|
9
|
-
let { command } = commandInfo;
|
|
10
|
-
// Removes the quotes surrounding a command.
|
|
11
|
-
if (/^"(.+?)"$/.test(command) || /^'(.+?)'$/.test(command)) {
|
|
12
|
-
command = command.slice(1, command.length - 1);
|
|
13
|
-
}
|
|
14
|
-
return { ...commandInfo, command };
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
exports.StripQuotes = StripQuotes;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { Command } from '../command';
|
|
2
|
-
/**
|
|
3
|
-
* Interface for a class that controls and/or watches the behavior of commands.
|
|
4
|
-
*
|
|
5
|
-
* This may include logging their output, creating interactions between them, or changing when they
|
|
6
|
-
* actually finish.
|
|
7
|
-
*/
|
|
8
|
-
export interface FlowController {
|
|
9
|
-
handle(commands: Command[]): {
|
|
10
|
-
commands: Command[];
|
|
11
|
-
onFinish?: () => void | Promise<void>;
|
|
12
|
-
};
|
|
13
|
-
}
|
package/dist/src/index.js
DELETED
|
@@ -1,99 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
-
};
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.RestartProcess = exports.LogTimings = exports.LogOutput = exports.LogExit = exports.LogError = exports.KillOthers = exports.KillOnSignal = exports.InputHandler = exports.Command = exports.Logger = exports.createConcurrently = exports.concurrently = void 0;
|
|
7
|
-
const lodash_1 = __importDefault(require("lodash"));
|
|
8
|
-
const assert_1 = require("./assert");
|
|
9
|
-
const command_1 = require("./command");
|
|
10
|
-
Object.defineProperty(exports, "Command", { enumerable: true, get: function () { return command_1.Command; } });
|
|
11
|
-
const concurrently_1 = require("./concurrently");
|
|
12
|
-
Object.defineProperty(exports, "createConcurrently", { enumerable: true, get: function () { return concurrently_1.concurrently; } });
|
|
13
|
-
const input_handler_1 = require("./flow-control/input-handler");
|
|
14
|
-
Object.defineProperty(exports, "InputHandler", { enumerable: true, get: function () { return input_handler_1.InputHandler; } });
|
|
15
|
-
const kill_on_signal_1 = require("./flow-control/kill-on-signal");
|
|
16
|
-
Object.defineProperty(exports, "KillOnSignal", { enumerable: true, get: function () { return kill_on_signal_1.KillOnSignal; } });
|
|
17
|
-
const kill_others_1 = require("./flow-control/kill-others");
|
|
18
|
-
Object.defineProperty(exports, "KillOthers", { enumerable: true, get: function () { return kill_others_1.KillOthers; } });
|
|
19
|
-
const log_error_1 = require("./flow-control/log-error");
|
|
20
|
-
Object.defineProperty(exports, "LogError", { enumerable: true, get: function () { return log_error_1.LogError; } });
|
|
21
|
-
const log_exit_1 = require("./flow-control/log-exit");
|
|
22
|
-
Object.defineProperty(exports, "LogExit", { enumerable: true, get: function () { return log_exit_1.LogExit; } });
|
|
23
|
-
const log_output_1 = require("./flow-control/log-output");
|
|
24
|
-
Object.defineProperty(exports, "LogOutput", { enumerable: true, get: function () { return log_output_1.LogOutput; } });
|
|
25
|
-
const log_timings_1 = require("./flow-control/log-timings");
|
|
26
|
-
Object.defineProperty(exports, "LogTimings", { enumerable: true, get: function () { return log_timings_1.LogTimings; } });
|
|
27
|
-
const logger_padding_1 = require("./flow-control/logger-padding");
|
|
28
|
-
const output_error_handler_1 = require("./flow-control/output-error-handler");
|
|
29
|
-
const restart_process_1 = require("./flow-control/restart-process");
|
|
30
|
-
Object.defineProperty(exports, "RestartProcess", { enumerable: true, get: function () { return restart_process_1.RestartProcess; } });
|
|
31
|
-
const teardown_1 = require("./flow-control/teardown");
|
|
32
|
-
const logger_1 = require("./logger");
|
|
33
|
-
Object.defineProperty(exports, "Logger", { enumerable: true, get: function () { return logger_1.Logger; } });
|
|
34
|
-
function concurrently(commands, options = {}) {
|
|
35
|
-
(0, assert_1.assertDeprecated)(options.killOthers === undefined, 'killOthers', 'Use killOthersOn instead.');
|
|
36
|
-
// To avoid empty strings from hiding the output of commands that don't have a name,
|
|
37
|
-
// keep in the list of commands to hide only strings with some length.
|
|
38
|
-
// This might happen through the CLI when no `--hide` argument is specified, for example.
|
|
39
|
-
const hide = lodash_1.default.castArray(options.hide).filter((id) => id || id === 0);
|
|
40
|
-
const logger = options.logger ||
|
|
41
|
-
new logger_1.Logger({
|
|
42
|
-
hide,
|
|
43
|
-
prefixFormat: options.prefix,
|
|
44
|
-
commandLength: options.prefixLength,
|
|
45
|
-
raw: options.raw,
|
|
46
|
-
timestampFormat: options.timestampFormat,
|
|
47
|
-
});
|
|
48
|
-
if (options.prefixColors === false) {
|
|
49
|
-
logger.toggleColors(false);
|
|
50
|
-
}
|
|
51
|
-
const abortController = new AbortController();
|
|
52
|
-
const outputStream = options.outputStream || process.stdout;
|
|
53
|
-
return (0, concurrently_1.concurrently)(commands, {
|
|
54
|
-
maxProcesses: options.maxProcesses,
|
|
55
|
-
raw: options.raw,
|
|
56
|
-
successCondition: options.successCondition,
|
|
57
|
-
cwd: options.cwd,
|
|
58
|
-
hide,
|
|
59
|
-
logger,
|
|
60
|
-
outputStream,
|
|
61
|
-
group: options.group,
|
|
62
|
-
abortSignal: abortController.signal,
|
|
63
|
-
controllers: [
|
|
64
|
-
// LoggerPadding needs to run before any other controllers that might output something
|
|
65
|
-
...(options.padPrefix ? [new logger_padding_1.LoggerPadding({ logger })] : []),
|
|
66
|
-
new log_error_1.LogError({ logger }),
|
|
67
|
-
new log_output_1.LogOutput({ logger }),
|
|
68
|
-
new log_exit_1.LogExit({ logger }),
|
|
69
|
-
new input_handler_1.InputHandler({
|
|
70
|
-
logger,
|
|
71
|
-
defaultInputTarget: options.defaultInputTarget,
|
|
72
|
-
inputStream: options.inputStream || (options.handleInput ? process.stdin : undefined),
|
|
73
|
-
pauseInputStreamOnFinish: options.pauseInputStreamOnFinish,
|
|
74
|
-
}),
|
|
75
|
-
new kill_on_signal_1.KillOnSignal({ process, abortController }),
|
|
76
|
-
new restart_process_1.RestartProcess({
|
|
77
|
-
logger,
|
|
78
|
-
delay: options.restartDelay,
|
|
79
|
-
tries: options.restartTries,
|
|
80
|
-
}),
|
|
81
|
-
new kill_others_1.KillOthers({
|
|
82
|
-
logger,
|
|
83
|
-
conditions: options.killOthersOn || options.killOthers || [],
|
|
84
|
-
timeoutMs: options.killTimeout,
|
|
85
|
-
killSignal: options.killSignal,
|
|
86
|
-
abortController,
|
|
87
|
-
}),
|
|
88
|
-
new output_error_handler_1.OutputErrorHandler({ abortController, outputStream }),
|
|
89
|
-
new log_timings_1.LogTimings({
|
|
90
|
-
logger: options.timings ? logger : undefined,
|
|
91
|
-
timestampFormat: options.timestampFormat,
|
|
92
|
-
}),
|
|
93
|
-
new teardown_1.Teardown({ logger, spawn: options.spawn, commands: options.teardown || [] }),
|
|
94
|
-
],
|
|
95
|
-
prefixColors: options.prefixColors || [],
|
|
96
|
-
additionalArguments: options.additionalArguments,
|
|
97
|
-
});
|
|
98
|
-
}
|
|
99
|
-
exports.concurrently = concurrently;
|
package/dist/src/jsonc.d.ts
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
declare const JSONC: {
|
|
2
|
-
parse: (text: string) => any;
|
|
3
|
-
stringify: {
|
|
4
|
-
(value: any, replacer?: ((this: any, key: string, value: any) => any) | undefined, space?: string | number | undefined): string;
|
|
5
|
-
(value: any, replacer?: (string | number)[] | null | undefined, space?: string | number | undefined): string;
|
|
6
|
-
};
|
|
7
|
-
};
|
|
8
|
-
export default JSONC;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import chalk from 'chalk';
|
|
2
|
-
export declare class PrefixColorSelector {
|
|
3
|
-
private colorGenerator;
|
|
4
|
-
constructor(customColors?: string | string[]);
|
|
5
|
-
/** A list of colors that are readable in a terminal. */
|
|
6
|
-
static get ACCEPTABLE_CONSOLE_COLORS(): ("stderr" | keyof chalk.Chalk | "supportsColor" | "Level" | "Color" | "ForegroundColor" | "BackgroundColor" | "Modifiers")[];
|
|
7
|
-
/**
|
|
8
|
-
* @returns The given custom colors then a set of acceptable console colors indefinitely.
|
|
9
|
-
*/
|
|
10
|
-
getNextColor(): string;
|
|
11
|
-
}
|
package/dist/src/spawn.js
DELETED
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
-
};
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.getSpawnOpts = exports.spawn = void 0;
|
|
7
|
-
const assert_1 = __importDefault(require("assert"));
|
|
8
|
-
const child_process_1 = require("child_process");
|
|
9
|
-
const supports_color_1 = __importDefault(require("supports-color"));
|
|
10
|
-
/**
|
|
11
|
-
* Spawns a command using `cmd.exe` on Windows, or `/bin/sh` elsewhere.
|
|
12
|
-
*/
|
|
13
|
-
// Implementation based off of https://github.com/mmalecki/spawn-command/blob/v0.0.2-1/lib/spawn-command.js
|
|
14
|
-
function spawn(command, options,
|
|
15
|
-
// For testing
|
|
16
|
-
spawn = child_process_1.spawn, process = global.process) {
|
|
17
|
-
let file = '/bin/sh';
|
|
18
|
-
let args = ['-c', command];
|
|
19
|
-
if (process.platform === 'win32') {
|
|
20
|
-
file = 'cmd.exe';
|
|
21
|
-
args = ['/s', '/c', `"${command}"`];
|
|
22
|
-
options.windowsVerbatimArguments = true;
|
|
23
|
-
}
|
|
24
|
-
return spawn(file, args, options);
|
|
25
|
-
}
|
|
26
|
-
exports.spawn = spawn;
|
|
27
|
-
const getSpawnOpts = ({ colorSupport = supports_color_1.default.stdout, cwd, process = global.process, ipc, stdio = 'normal', env = {}, }) => {
|
|
28
|
-
const stdioValues = stdio === 'normal'
|
|
29
|
-
? ['pipe', 'pipe', 'pipe']
|
|
30
|
-
: stdio === 'raw'
|
|
31
|
-
? ['inherit', 'inherit', 'inherit']
|
|
32
|
-
: ['pipe', 'ignore', 'ignore'];
|
|
33
|
-
if (ipc != null) {
|
|
34
|
-
// Avoid overriding the stdout/stderr/stdin
|
|
35
|
-
assert_1.default.ok(ipc > 2, '[concurrently] the IPC channel number should be > 2');
|
|
36
|
-
stdioValues[ipc] = 'ipc';
|
|
37
|
-
}
|
|
38
|
-
return {
|
|
39
|
-
cwd: cwd || process.cwd(),
|
|
40
|
-
stdio: stdioValues,
|
|
41
|
-
...(process.platform.startsWith('win') && { detached: false }),
|
|
42
|
-
env: {
|
|
43
|
-
...(colorSupport ? { FORCE_COLOR: colorSupport.level.toString() } : {}),
|
|
44
|
-
...process.env,
|
|
45
|
-
...env,
|
|
46
|
-
},
|
|
47
|
-
};
|
|
48
|
-
};
|
|
49
|
-
exports.getSpawnOpts = getSpawnOpts;
|
package/index.d.mts
DELETED
package/index.d.ts
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* While in local development, make sure you've run `pnpm run build` first.
|
|
3
|
-
*/
|
|
4
|
-
import { concurrently } from './dist/src/index.js';
|
|
5
|
-
|
|
6
|
-
export * from './dist/src/index.js';
|
|
7
|
-
// @ts-expect-error ignore the usage of `export =` along with `export default`.
|
|
8
|
-
// This is seemingly fine, but the file needs to be included in the TS project, which can't be done
|
|
9
|
-
// due to importing from `dist`. See https://stackoverflow.com/q/42609768/2083599
|
|
10
|
-
export = concurrently;
|
|
11
|
-
export default concurrently;
|
package/index.js
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* While in local development, make sure you've run `pnpm run build` first.
|
|
3
|
-
*/
|
|
4
|
-
|
|
5
|
-
// eslint-disable-next-line @typescript-eslint/no-var-requires
|
|
6
|
-
const concurrently = require('./dist/src/index.js');
|
|
7
|
-
|
|
8
|
-
// For require()
|
|
9
|
-
module.exports = exports = concurrently.concurrently;
|
|
10
|
-
|
|
11
|
-
// For TS + import syntax; mimics `export default`
|
|
12
|
-
exports.default = exports;
|
|
13
|
-
|
|
14
|
-
Object.assign(exports, concurrently);
|
package/index.mjs
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* While in local development, make sure you've run `pnpm run build` first.
|
|
3
|
-
*/
|
|
4
|
-
|
|
5
|
-
import { concurrently } from './dist/src/index.js';
|
|
6
|
-
|
|
7
|
-
// NOTE: the star reexport doesn't work in Node <12.20, <14.13 and <15.
|
|
8
|
-
export * from './dist/src/index.js';
|
|
9
|
-
|
|
10
|
-
export default concurrently;
|
|
File without changes
|