Skip to content

npmrc/auth #2

Description

Is there a way to provide/map in an npmrc file for our upstream private repositories when using the Docker route? The functionality addressed by npm login and the npmrc auth settings. I see I am able to set my default UPSTREAM_ADDRESS via the env variable (I am using docker compose, to stand up the redis instance too). Ideally I could supply the username, _password, and _auth parameters per specified registry (avoiding the default npmjs registry altogether).

Activity

  1. rosscdh commented on Mar 15, 2023

    @rosscdh

    Great question..

  2. serisman commented on Aug 10, 2024

    @serisman

    I've added support for passing an auth token to the upstream (private) registry in this fork: https://github.com/wonderlic/npm-cache-proxy
    Seems to work fine with Verdaccio on the other end.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions