Initial commit
This commit is contained in:
28
node_modules/execa/index.js
generated
vendored
Normal file
28
node_modules/execa/index.js
generated
vendored
Normal file
@@ -0,0 +1,28 @@
|
||||
import {createExeca} from './lib/methods/create.js';
|
||||
import {mapCommandAsync, mapCommandSync} from './lib/methods/command.js';
|
||||
import {mapNode} from './lib/methods/node.js';
|
||||
import {mapScriptAsync, setScriptSync, deepScriptOptions} from './lib/methods/script.js';
|
||||
import {getIpcExport} from './lib/ipc/methods.js';
|
||||
|
||||
export {parseCommandString} from './lib/methods/command.js';
|
||||
export {ExecaError, ExecaSyncError} from './lib/return/final-error.js';
|
||||
|
||||
export const execa = createExeca(() => ({}));
|
||||
export const execaSync = createExeca(() => ({isSync: true}));
|
||||
export const execaCommand = createExeca(mapCommandAsync);
|
||||
export const execaCommandSync = createExeca(mapCommandSync);
|
||||
export const execaNode = createExeca(mapNode);
|
||||
export const $ = createExeca(mapScriptAsync, {}, deepScriptOptions, setScriptSync);
|
||||
|
||||
const {
|
||||
sendMessage,
|
||||
getOneMessage,
|
||||
getEachMessage,
|
||||
getCancelSignal,
|
||||
} = getIpcExport();
|
||||
export {
|
||||
sendMessage,
|
||||
getOneMessage,
|
||||
getEachMessage,
|
||||
getCancelSignal,
|
||||
};
|
||||
Reference in New Issue
Block a user