Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Tracked by #790
travi opened this issue May 3, 2024 · 0 comments
Open
Tracked by #790

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

travi opened this issue May 3, 2024 · 0 comments

Comments

@travi
Copy link
Member

travi commented May 3, 2024

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
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

No branches or pull requests

1 participant