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

add "validation" to check if user has valid npm credentials for package #58

Closed
FrancescoCioria opened this issue Jan 5, 2017 · 0 comments

Comments

@FrancescoCioria
Copy link
Contributor

FrancescoCioria commented Jan 5, 2017

requirements

If user has no credentials or has invalid credentials npm publish throws an error.
We should prevent this (common) error with a new validation check

specs

  1. user must be logged in npm whoami
  2. logged user must have read-write permission (npm access ls-collaborators ${packageName})

misc

{optional: other useful info}

@nemobot nemobot added the WIP label Jan 5, 2017
@FrancescoCioria FrancescoCioria changed the title add "validation" to check if user has valid credentials for package add "validation" to check if user has valid npm credentials for package Jan 8, 2017
@nemobot nemobot removed the WIP label Jan 21, 2017
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

2 participants