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 install without package arguments? #25

Merged
merged 6 commits into from
Dec 22, 2024

Conversation

steve-m-ny
Copy link
Contributor

I often find myself wanting to run npm install without arguments. I don't think I'm able to do that (maybe I am and I'm not sure how? I could have missed something). This allows such an operation.

I'm happy to make changes as suggested.

Example usage: fresh checkout of an NPM managed project and you want to install all dependencies (but not change them) to begin development.
@shaneikennedy
Copy link
Owner

shaneikennedy commented Sep 27, 2023

😨 Very sorry that I missed this! I'll get to this by this weekend.

You can currently run npm instal without arguments by just hitting when it prompts you for a package to install (i.e leave it blank) but this is ofc a hack and I like your idea @steve-m-ny :)

@steve-m-ny
Copy link
Contributor Author

No problem, no rush. Thanks for making npm.el 👍 I've got a lot of use out of it.

@shaneikennedy shaneikennedy merged commit 70b5563 into shaneikennedy:master Dec 22, 2024
4 checks passed
@shaneikennedy
Copy link
Owner

Due to terrible package maiantenance by me, I am just getting to this now :) I changed the menu text slightly, linted the docstring on the function you added, and then ofc since CI hasn't ran here in over a year I needed to do some bumping. Thanks for contributing this change, it's nice and clear now how to use the install option when you just want to sync deps or start from scratch 👍 :)

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

Successfully merging this pull request may close these issues.

2 participants