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

npm package's post-install should copy binary to node_modules/.bin folder? #837

Open
dsherret opened this issue Apr 5, 2024 · 0 comments

Comments

@dsherret
Copy link
Member

dsherret commented Apr 5, 2024

Should the post install script move the dprint binary to node_modules/.bin (and delete the other dprint files created there by npm, though what if someone uses the same folder on windows and then in wsl/git bash or whatever)? It would improve the startup performance by about 30ms for npm users.

What about if someone does npm install -g dprint?

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