Skip to content

feat: update the bin path #35

Open
@binary64

Description

@binary64

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>.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions