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/index.js","sourceRoot":"","sourcesContent":["/**\n * Minified by jsDelivr using Terser v5.39.0.\n * Original file: /npm/neex@0.7.45/dist/src/index.js\n *\n * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files\n */\n","\"use strict\";\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n    return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.run = run;\nexports.runParallel = runParallel;\nexports.runSequential = runSequential;\nexports.runServers = runServers;\n// src/index.ts - Updated version\nconst runner_1 = require(\"./runner\");\nconst logger_1 = __importDefault(require(\"./logger\"));\n/**\n * Run one or more commands in parallel or sequentially\n */\nasync function run(commands, options) {\n    const cmdArray = Array.isArray(commands) ? commands : [commands];\n    const runOptions = {\n        parallel: options?.parallel ?? false,\n        maxParallel: options?.maxParallel,\n        printOutput: options?.printOutput ?? true,\n        color: options?.color ?? true,\n        showTiming: options?.showTiming ?? true,\n        prefix: options?.prefix ?? true,\n        stopOnError: options?.stopOnError ?? false,\n        minimalOutput: options?.minimalOutput ?? false,\n        groupOutput: options?.groupOutput ?? false,\n        isServerMode: options?.isServerMode ?? false,\n        retry: options?.retry,\n        retryDelay: options?.retryDelay,\n    };\n    const runner = new runner_1.Runner(runOptions);\n    if (options?.registerCleanup) {\n        options.registerCleanup(() => runner.cleanup());\n    }\n    const results = await runner.run(cmdArray);\n    if (runOptions.printOutput && cmdArray.length > 1) {\n        logger_1.default.printSummary(results);\n    }\n    return results;\n}\n/**\n * Run multiple commands in parallel\n */\nasync function runParallel(commands, options) {\n    return run(commands, { ...options, parallel: true });\n}\n/**\n * Run multiple commands sequentially\n */\nasync function runSequential(commands, options) {\n    return run(commands, { ...options, parallel: false });\n}\n/**\n * Run multiple servers with optimized output\n */\nasync function runServers(commands, options) {\n    return run(commands, {\n        ...options,\n        parallel: true,\n        isServerMode: true,\n        printOutput: true,\n    });\n}\nexports.default = {\n    run,\n    runParallel,\n    runSequential,\n    runServers,\n};\n"]}