-
Notifications
You must be signed in to change notification settings - Fork 124
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
add node #181
add node #181
Conversation
Seems good 👍 My biggest concern is that it might not be useful to most people. I know that the few times I've worked on a node project, I haven't cared what version I was working with, but perhaps that's abnormal. I'm also concerned about the overlap with the nvm item. Granted, not everyone uses nvm, but for those who do this will end up showing the node version twice, which is silly. For these reasons, I'd suggest having this be off by default, like powerlevel10k does. I'm open to being convinced otherwise though. |
I would suggest checking for more files/folders beside In my own implementation I'm checking for
I'd like to agree with you, but I enable this all the time so I can't decide 😄
Starship (again) doesn't have a nvm item but only a Node item. IMO that suits most people and is compatible with (any) nvm. Last but not least, another reason to enable the item all the time! |
Personally, I find it helpful since I work on a bunch of different microservices, each with a slightly different node version. But I'll be happy as long as I (and others) can enable it 😄
👍 sounds good to me, I just copied powerlevel10k. Not to scope creep here, but it would be great if this was eventually configurable.
Completely agree, I think it makes more sense to have one language version item rather than an item for every single version manager out there. For example, I use fnm for node but all I really care about is the output of |
Sorry for the delay, had to finish Finals 😅 Alright, yeah, I agree with you guys. So we remove
Can I ask why? AFAIK basically every node project has a package.json. And I don't want to do file globbing, mostly because its performance sucks.
Configurable functionality isn't the Fish way, it's harder to maintain, and I don't really see much benefit here. P.S. @kidonng |
Description
Adds a
node
item. Note this does overlap withnvm
, but not everyone uses the latter.Screenshots (if appropriate)
How Has This Been Tested
Checklist