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

Consider using the bin field from package.json for specs derived from NodeModuleSpec #1066

Open
jtpio opened this issue Mar 4, 2024 · 0 comments

Comments

@jtpio
Copy link
Member

jtpio commented Mar 4, 2024

Elevator Pitch

Originally discussed in #1064.

Currently NodeModuleSpec specs use the scripts field, for example:

Motivation

Package maintainers might rename underlying files (as noticed in #1064).

Reusing the script referenced by the bin field might prove more reliable over time.

Design Ideas

Maybe some unknown as to what would happen if there are multiple bin entries.

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

1 participant