From 76efce553cdddbd3754748c6c00c76bbe1ef049a Mon Sep 17 00:00:00 2001 From: luke-speechify <289678208+luke-speechify@users.noreply.github.com> Date: Mon, 31 Aug 2026 14:18:16 +0100 Subject: [PATCH] fix(cli): use canonical bin path (drop ./ so npm keeps the bin on publish) npm's publish-time manifest normalization strips a bin value with a leading "./" ("bin[speechify] script name dist/bin.js was invalid and removed"), which would serve a packument with no `speechify` command. "dist/bin.js" is the canonical form and publishes clean. --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index ccf7125..bc6a9df 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,7 @@ "type": "module", "packageManager": "pnpm@10.33.4", "bin": { - "speechify": "./dist/bin.js" + "speechify": "dist/bin.js" }, "files": [ "dist"