Skip to content

feat: add getReplacementDescription util#488

Closed
gameroman wants to merge 1 commit intoe18e:mainfrom
gameroman:getReplacementDescription
Closed

feat: add getReplacementDescription util#488
gameroman wants to merge 1 commit intoe18e:mainfrom
gameroman:getReplacementDescription

Conversation

@gameroman
Copy link
Copy Markdown
Contributor

🔗 Linked issue

📚 Description

Add getReplacementDescription util

See #481 and npmx-dev/npmx.dev#2068 (comment)

@43081j
Copy link
Copy Markdown
Contributor

43081j commented Apr 3, 2026

in the npmx PR i was specific that this belongs there rather than here because i knew the suggestion would be to put it here 😅

i'm not strongly opposed to it being here but no other consumer needs it right now. e.g. the CLI doesn't need to do this as we just narrow and handle each type.

this right now is pretty much an npmx-only function.

@dreyfus92 what do you think?

@gameroman gameroman closed this Apr 3, 2026
@gameroman gameroman deleted the getReplacementDescription branch April 3, 2026 14:47
@ghostdevv
Copy link
Copy Markdown
Collaborator

exporting some utils would be cool, but in this case maybe the narrow is too simple to warrant a fn?

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.

3 participants