diff --git a/dist/index.d.ts b/dist/index.d.ts index cb0ff5c..b798801 100644 --- a/dist/index.d.ts +++ b/dist/index.d.ts @@ -1 +1,2 @@ +#!/usr/bin/env node export {}; diff --git a/dist/index.js b/dist/index.js index 3224195..7ab621b 100644 --- a/dist/index.js +++ b/dist/index.js @@ -1,3 +1,4 @@ +#!/usr/bin/env node "use strict"; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; diff --git a/index.ts b/index.ts index 8201983..e5e5f9a 100644 --- a/index.ts +++ b/index.ts @@ -1,3 +1,5 @@ +#!/usr/bin/env node + import fs from "fs"; import path from "path"; import { spawn, ChildProcess, execSync } from "child_process"; diff --git a/package.json b/package.json index e2a552a..1218b66 100644 --- a/package.json +++ b/package.json @@ -1,11 +1,11 @@ { "name": "@moduletrace/batchrun", - "version": "1.0.4", + "version": "1.0.5", "description": "Run and manage multiple processes concurrently in one terminal", "main": "dist/index.js", "bin": { - "batch-run": "run.sh", - "batchrun": "run.sh" + "batch-run": "dist/index.js", + "batchrun": "dist/index.js" }, "scripts": { "build:binary": "bun build --compile --minify --sourcemap --bytecode ./index.js --outfile bin/batchrun"