From 4de156fa3325b3b2adba6a07d4bc4ac1994c0430 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=ED=8C=8C=EB=A7=81?= Date: Thu, 30 Mar 2023 15:08:41 +0900 Subject: [PATCH] :bug: cannot run cli --- package.json | 2 +- src/index.ts | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index e86c9cb..fe4aaa8 100644 --- a/package.json +++ b/package.json @@ -27,7 +27,7 @@ "typescript": "^5.0.2" }, "bin": { - "adofai-typegen": "dist/index.js" + "adofai-typegen": "./dist/index.js" }, "publishConfig": { "registry": "https://git.pikokr.dev/api/packages/pikokr/npm/" diff --git a/src/index.ts b/src/index.ts index c87bc9a..0047dba 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,3 +1,5 @@ +#!/bin/env node + import { program } from 'commander' import chalk from 'chalk' import { PropertiesSchema } from './schema'