Skip to content
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

fix: make a separate index.js with a shebang to run as global binary #61

Merged
merged 2 commits into from
Feb 24, 2024

Conversation

danvk
Copy link
Owner

@danvk danvk commented Feb 24, 2024

Fixes #50

I don't love having to build before running lint. Other options would be to keep src/index.ts the executable and try to figure out how to make n/shebang understand that. Or to exclude the top-level index.js from linting.

@danvk danvk merged commit 22af571 into main Feb 24, 2024
13 checks passed
@danvk danvk deleted the global-bin-50 branch February 24, 2024 15:15
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.

🐛 Bug: gravlax cannot be run as global binary
1 participant