Skip to content

fix: prepend shebang to ESM bin entry point#6

Open
Eric-GoodBoy-Tech wants to merge 1 commit into
veithly:mainfrom
Eric-GoodBoy-Tech:fix/add-shebang-to-bin
Open

fix: prepend shebang to ESM bin entry point#6
Eric-GoodBoy-Tech wants to merge 1 commit into
veithly:mainfrom
Eric-GoodBoy-Tech:fix/add-shebang-to-bin

Conversation

@Eric-GoodBoy-Tech

Copy link
Copy Markdown

The package uses "type": "module" with tsc outputting ESM JavaScript. The dist/index.js bin file lacks a #!/usr/bin/env node shebang, causing npx rss-mcp to fail on systems where the shell tries to execute it directly:

/Users/.../.bin/rss-mcp: line 1: import: command not found

This PR adds a post-build step to prepend #!/usr/bin/env node after tsc compilation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant