Skip to content

account for deprecation of _auth in existing .npmrc files #792

@travi

Description

@travi

as highlighted in #777 (comment):

i see that registry-auth-token does find and return a token from an .npmrc file that uses the legacy unscoped approach

we should:

  • at minimum, provide a more helpful warning that legacy config was found and highlight which file it was found in, so the error from npm is easier for users to track down and resolve.
  • likely also not accept the legacy token in verifyConditions

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions