Skip to content

Ability to override pre/postfix for auth, ability to change what gets replaced #137

Description

@hybridherbst

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:

  • we're using a different package manager (Unity Package Manager) and want to adjust the text there
  • currently the text becomes very long when a package is selected (so all commands look the same).

Is your feature request related to a problem? Please describe.

See above

Describe the solution you'd like

  1. Ability to use Verdaccio's config.yaml to specify a string, e.g. "myprefix {{auth}} mypostfix"
  2. Ability to specify if the always-auth command is also replaced
  3. Ability to specify in the config under which conditions this is replaced (e.g. we only want that "Unity Package Manager" tab actually)

Additional context

See very long text here
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions