From e4900b6fd6f136df9e389a8919e495dcec49c407 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=98=9F=E6=9C=88?= Date: Wed, 13 May 2026 16:43:07 +0800 Subject: [PATCH] fix(cli): keep bin pointing to src/cli.ts, add src to files MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The actual issue was that 'files' only included dist/, so src/ was excluded from the published package. bun can run .ts natively — no need to point bin at compiled dist/cli.js. Fix: add 'src' to files array so it ships with the package. --- packages/cli-workflow/package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/cli-workflow/package.json b/packages/cli-workflow/package.json index 91a0218..65b88b7 100644 --- a/packages/cli-workflow/package.json +++ b/packages/cli-workflow/package.json @@ -2,12 +2,13 @@ "name": "@uncaged/cli-workflow", "version": "0.3.18", "files": [ + "src", "dist", "package.json" ], "type": "module", "bin": { - "uncaged-workflow": "dist/cli.js" + "uncaged-workflow": "src/cli.ts" }, "dependencies": { "@uncaged/workflow-gateway": "workspace:*",