{"action":"created","issue":{"url":"https://api.github.com/repos/npm/npm/issues/3032","labels_url":"https://api.github.com/repos/npm/npm/issues/3032/labels{/name}","comments_url":"https://api.github.com/repos/npm/npm/issues/3032/comments","events_url":"https://api.github.com/repos/npm/npm/issues/3032/events","html_url":"https://github.com/npm/npm/issues/3032","id":9634294,"number":3032,"title":"`npm unpublish` does not respect publishConfig setting for registry","user":{"login":"jden","id":1106489,"avatar_url":"https://avatars.githubusercontent.com/u/1106489?v=3","gravatar_id":"","url":"https://api.github.com/users/jden","html_url":"https://github.com/jden","followers_url":"https://api.github.com/users/jden/followers","following_url":"https://api.github.com/users/jden/following{/other_user}","gists_url":"https://api.github.com/users/jden/gists{/gist_id}","starred_url":"https://api.github.com/users/jden/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jden/subscriptions","organizations_url":"https://api.github.com/users/jden/orgs","repos_url":"https://api.github.com/users/jden/repos","events_url":"https://api.github.com/users/jden/events{/privacy}","received_events_url":"https://api.github.com/users/jden/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/npm/npm/labels/feature-request","name":"feature-request","color":"ACE1AF"},{"url":"https://api.github.com/repos/npm/npm/labels/patch-welcome","name":"patch-welcome","color":"e102d8"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":11,"created_at":"2013-01-03T02:15:33Z","updated_at":"2015-04-20T16:53:35Z","closed_at":null,"body":"Running `npm publish` in a package's directory will get registry settings by reading the publishConfig section of package.json. However, running `npm unpublish` does not look in `package.json` and instead uses the default global registry.\r\n\r\nWould you accept a patch to make `npm unpublish`'s registry configuration registration behave like `npm publish`?"},"comment":{"url":"https://api.github.com/repos/npm/npm/issues/comments/94507193","html_url":"https://github.com/npm/npm/issues/3032#issuecomment-94507193","issue_url":"https://api.github.com/repos/npm/npm/issues/3032","id":94507193,"user":{"login":"watilde","id":1716463,"avatar_url":"https://avatars.githubusercontent.com/u/1716463?v=3","gravatar_id":"","url":"https://api.github.com/users/watilde","html_url":"https://github.com/watilde","followers_url":"https://api.github.com/users/watilde/followers","following_url":"https://api.github.com/users/watilde/following{/other_user}","gists_url":"https://api.github.com/users/watilde/gists{/gist_id}","starred_url":"https://api.github.com/users/watilde/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/watilde/subscriptions","organizations_url":"https://api.github.com/users/watilde/orgs","repos_url":"https://api.github.com/users/watilde/repos","events_url":"https://api.github.com/users/watilde/events{/privacy}","received_events_url":"https://api.github.com/users/watilde/received_events","type":"User","site_admin":false},"created_at":"2015-04-20T16:53:35Z","updated_at":"2015-04-20T16:53:35Z","body":"I just tried to create a patch at https://github.com/npm/npm/pull/8013."}}