From c703162f858ed1ce45cd99ed37132520a621ac65 Mon Sep 17 00:00:00 2001 From: David Barrat Date: Sun, 17 Dec 2023 02:06:39 +0100 Subject: [PATCH] create runner script for CLI --- packages/cli/index.js | 2 ++ packages/cli/package.json | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 packages/cli/index.js diff --git a/packages/cli/index.js b/packages/cli/index.js new file mode 100644 index 0000000..f53e215 --- /dev/null +++ b/packages/cli/index.js @@ -0,0 +1,2 @@ +#!/usr/bin/env node +require("../build/index.js") \ No newline at end of file diff --git a/packages/cli/package.json b/packages/cli/package.json index 4095ba9..b1ac800 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -4,7 +4,7 @@ "description": "", "main": "build/index.js", "bin": { - "hydra": "./build/index.js" + "hydra": "./index.js" }, "scripts": { "start": "node .",