From c5a1971808bef9fef27269cc58485a9fe0f00275 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9B=B9=E6=BD=87=E7=BC=A4?= <634718930@qq.com> Date: Sat, 20 Jun 2026 11:28:09 +0800 Subject: [PATCH] fix: prepend shebang to ESM bin entry point --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 6e7dbdf..d75a03c 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,7 @@ "rss-mcp": "dist/index.js" }, "scripts": { - "build": "tsc", + "build": "tsc && node -e \"const{readFileSync,writeFileSync}=require('fs');const f='dist/index.js';writeFileSync(f,'#!/usr/bin/env node\\n'+readFileSync(f,'utf8'))\"", "start": "node dist/index.js" }, "keywords": [],