Ability to override pre/postfix for auth, ability to change what gets replaced #161
Replies: 3 comments
-
I think the idea makes sense. Verdaccio by default shows tabs for yarn and pnpm. Those commands are currently also not adjusted by the plugin. Making this configurable sounds a little complicated to me. Especially the conditional stuff. I wonder why Verdaccio shows 3 copy buttons instead of one. I could imagine replacing this with a single copy button and a single multiline text. Then this text could be configured for each package manager and decisions like whether to replace the always-auth command would be implicit since you would just configure whatever you want to see. What are your thoughts and do you have a suggestion for how this could look like in yaml? |
Beta Was this translation helpful? Give feedback.
-
@hybridherbst any thoughts? |
Beta Was this translation helpful? Give feedback.
-
Still playing around in our fork, haven't come to a great solution yet, and some trouble understanding Verdaccio config and how to bubble it through an app it seems 😅 I'll update this with more info once I have a result I like - please feel free to turn this issue into a discussion in the meantime :) |
Beta Was this translation helpful? Give feedback.
-
Feature Request
Currently, the 2nd and 3rd lines in the Registry Info will be replaced by a hardcoded set of strings. It would be nice if this was configurable (e.g. via config.yaml in Verdaccio), for two reasons:
Is your feature request related to a problem? Please describe.
See above
Describe the solution you'd like
Additional context
See very long text here
Beta Was this translation helpful? Give feedback.
All reactions