Skip to content

fix: correct generated package entry shebangs - #3

Merged
mintyPT merged 1 commit into
mainfrom
fix/shebang-artifacts
Aug 4, 2026
Merged

fix: correct generated package entry shebangs#3
mintyPT merged 1 commit into
mainfrom
fix/shebang-artifacts

Conversation

@mintyPT

@mintyPT mintyPT commented Aug 4, 2026

Copy link
Copy Markdown
Owner

Fixes #1 and #2.

Removes the global tsup shebang banner, leaving the source shebang on the CLI entry only. Adds a built-artifact regression test that verifies the library has no shebang, the CLI has exactly one, and the built CLI runs with --help.

Local verification: npm run release:check.

@mintyPT
mintyPT merged commit 7c63049 into main Aug 4, 2026
3 checks passed
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.

CLI unusable in 0.1.1: dist/cli/index.js ships a duplicate shebang

1 participant