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

feat: update the bin path #35

Open
binary64 opened this issue Aug 9, 2021 · 0 comments
Open

feat: update the bin path #35

binary64 opened this issue Aug 9, 2021 · 0 comments
Assignees

Comments

@binary64
Copy link

binary64 commented Aug 9, 2021

Description

In my package, I have

"bin": "dist/cli.mjs",

but when I publish with packtio, it stays the same.

Expected behaviour

I would like this to become just "cli.mjs".

Actual behaviour

In dist/package.json, it still says "bin": "dist/cli.mjs",

Environnement

Node version 16
OS Windows

Further Notes

The package.json "bin" can be a string or a object of type Record<string, string>.

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

No branches or pull requests

2 participants