-
-
Notifications
You must be signed in to change notification settings - Fork 938
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
Support --no-bin-links #459
Comments
This might be not needed as this flag exists in npm only because some systems don't support symlinks/junctions. However, pnpm would not work on those anyway. |
@zkochan I'm closing this, as you say it is not relevant to any system that supports symlinks. And I honestly can't think of a use case where I would not want bin links to be installed. |
Honestly, I think bin files are only needed if the dependent package has lifecycle events. So the bin files of direct dependencies are always needed. But the bin files of subdependencies are only needed if the dependent package has a postinstall script (or another script that is executed during installation). |
@aparajita I think this feature can be useful when using aliases. As aliases don't handle this case and always resolve bin to the package with the smallest version number. |
Sorry for reviving an old conversation, and maybe I'm missing some other existing functionality - but it would be nice to support for AWS Lambda packaging. In my case I'd like to stick to pnpm for all builds, with the exception that in the case of |
Cannot run in my CIFS-mounted directory without |
The
--no-bin-links
argument will prevent npm from creating symlinks for any binaries the package might contain.The text was updated successfully, but these errors were encountered: