Skip to content

[Feature] Check npm login and registry before publishing #55

Closed
JetBrains/ring-ui
#355

Description

@jamiebuilds

If you aren't logged in to npm, lerna should stop and ask you to login. It would be good if it logged you back out afterwards.

Activity

  1. sebmck commented on Feb 13, 2016

    @sebmck
    Contributor

    If you're doing this for security then it's pointless.

  2. jamiebuilds commented on Feb 13, 2016

    @jamiebuilds
    ContributorAuthor

    I have to switch between npm profiles for different (public and private) registries

  3. jamiebuilds commented on Feb 20, 2016

    @jamiebuilds
    ContributorAuthor

    I'm going to just do a check at the beginning to make sure that you're logged in to the right registry.

    $ npm whoami
    $ npm config get registry
    

    Logging in is overkill, but I think the more checks we can do at the beginning is good.

  4. changed the title [-]npm login on publish[/-] [+]Check npm login and registry before publishing[/+] on Feb 20, 2016
  5. changed the title [-]Check npm login and registry before publishing[/-] [+][Feature] Check npm login and registry before publishing[/+] on Nov 16, 2016
  6. lock commented on Dec 27, 2018

    @lock

    This thread has been automatically locked because there has not been any recent activity after it was closed. Please open a new issue for related bugs.

  7. locked as resolved and limited conversation to collaborators on Dec 27, 2018
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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions