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

Missing author's login #3

Closed
redox opened this issue Dec 19, 2016 · 2 comments
Closed

Missing author's login #3

redox opened this issue Dec 19, 2016 · 2 comments
Assignees
Labels

Comments

@redox
Copy link
Contributor

redox commented Dec 19, 2016

we have:

  "author": {
    "name": "Angular Core Team",
    "email": "angular-core+npm@google.com"
  },

and need:

  "author": {
    "login": "angularcore",
    "name": "Angular Core Team",
    "email": "angular-core+npm@google.com"
  },

to link to https://www.npmjs.com/~angularcore

@vvo
Copy link
Contributor

vvo commented Dec 19, 2016

@redox The npm name to use as for the "owner" of the package is in lastPublisher.name. This is the npm login of the last user that did npm push. This is usually what is chown on npm website amd what should matters. See https://www.npmjs.com/package/angular

You can also use owners to show all the other owners that are not the last publisher. I think the "author" field is just the parsed author field of the package.json file, not the actual npm user name used to push (This can be different, you can put anything inside author, like we put Algolia, Inc https://www.algolia.com).

Works for you?

@vvo vvo added the question label Dec 19, 2016
@vvo vvo self-assigned this Dec 19, 2016
@redox
Copy link
Contributor Author

redox commented Dec 19, 2016

Works for you?

yes I think that works 👍

@vvo vvo closed this as completed Dec 20, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants