Skip to content

add hashbang to the executable ./bin file #10

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

k-yle
Copy link
Contributor

@k-yle k-yle commented Apr 3, 2025

While working on #9 I realised the CLI entrypoint is missing #!/usr/bin/env node, which makes local development a bit cumbersome.

According to the npm docs1:

Please make sure that your file(s) referenced in bin starts with #!/usr/bin/env node, otherwise the scripts are started without the node executable!

Footnotes

  1. https://docs.npmjs.com/cli/v11/configuring-npm/package-json#bin

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