From fd8cc1634d4e9337c4d059c79bf154ee31d44232 Mon Sep 17 00:00:00 2001 From: ericanderson-bot <79007828+ericanderson-bot@users.noreply.github.com> Date: Tue, 24 Mar 2026 13:00:52 +0000 Subject: [PATCH] fix: rename bin/ghouls to bin/ghouls.js to fix npm publish npm 11+ treats bin entries without .js extension as invalid and silently removes them during publish, resulting in a package with no CLI command. --- bin/{ghouls => ghouls.js} | 0 package.json | 4 ++-- 2 files changed, 2 insertions(+), 2 deletions(-) rename bin/{ghouls => ghouls.js} (100%) diff --git a/bin/ghouls b/bin/ghouls.js similarity index 100% rename from bin/ghouls rename to bin/ghouls.js diff --git a/package.json b/package.json index 8be11a3..fab14e1 100644 --- a/package.json +++ b/package.json @@ -18,7 +18,7 @@ "prepare": "husky" }, "bin": { - "ghouls": "./bin/ghouls" + "ghouls": "bin/ghouls.js" }, "files": [ "bin", @@ -57,6 +57,6 @@ }, "repository": { "type": "git", - "url": "https://github.com/ericanderson/ghouls.git" + "url": "git+https://github.com/ericanderson/ghouls.git" } }