{"action":"created","issue":{"url":"https://api.github.com/repos/thlorenz/irish-pub/issues/4","labels_url":"https://api.github.com/repos/thlorenz/irish-pub/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/thlorenz/irish-pub/issues/4/comments","events_url":"https://api.github.com/repos/thlorenz/irish-pub/issues/4/events","html_url":"https://github.com/thlorenz/irish-pub/pull/4","id":55574963,"number":4,"title":"Emit a 'meta' event with publish metadata (pkg name, version, current npm user)","user":{"login":"rprieto","id":189105,"avatar_url":"https://avatars.githubusercontent.com/u/189105?v=3","gravatar_id":"","url":"https://api.github.com/users/rprieto","html_url":"https://github.com/rprieto","followers_url":"https://api.github.com/users/rprieto/followers","following_url":"https://api.github.com/users/rprieto/following{/other_user}","gists_url":"https://api.github.com/users/rprieto/gists{/gist_id}","starred_url":"https://api.github.com/users/rprieto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rprieto/subscriptions","organizations_url":"https://api.github.com/users/rprieto/orgs","repos_url":"https://api.github.com/users/rprieto/repos","events_url":"https://api.github.com/users/rprieto/events{/privacy}","received_events_url":"https://api.github.com/users/rprieto/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-01-27T04:31:25Z","updated_at":"2015-03-22T00:48:13Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/thlorenz/irish-pub/pulls/4","html_url":"https://github.com/thlorenz/irish-pub/pull/4","diff_url":"https://github.com/thlorenz/irish-pub/pull/4.diff","patch_url":"https://github.com/thlorenz/irish-pub/pull/4.patch"},"body":"As proposed in #1, it now outputs:\r\n\r\n```\r\nnpm would publish irish-pub@1.0.0 as thlorenz\r\n\r\npackage.json\r\nREADME.md\r\n...\r\n```\r\n\r\n- I went with a new `metadata` event which is easy to react to (see `irish-pub.js` binary)\r\n- Added a test to cover the new event (does it need more?)\r\n- I also switched the `npm pack` error to be emitted on the stream like the others, so that people using `irish-pub` as a library can also handle it\r\n"},"comment":{"url":"https://api.github.com/repos/thlorenz/irish-pub/issues/comments/84482522","html_url":"https://github.com/thlorenz/irish-pub/pull/4#issuecomment-84482522","issue_url":"https://api.github.com/repos/thlorenz/irish-pub/issues/4","id":84482522,"user":{"login":"ngoldman","id":427322,"avatar_url":"https://avatars.githubusercontent.com/u/427322?v=3","gravatar_id":"","url":"https://api.github.com/users/ngoldman","html_url":"https://github.com/ngoldman","followers_url":"https://api.github.com/users/ngoldman/followers","following_url":"https://api.github.com/users/ngoldman/following{/other_user}","gists_url":"https://api.github.com/users/ngoldman/gists{/gist_id}","starred_url":"https://api.github.com/users/ngoldman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ngoldman/subscriptions","organizations_url":"https://api.github.com/users/ngoldman/orgs","repos_url":"https://api.github.com/users/ngoldman/repos","events_url":"https://api.github.com/users/ngoldman/events{/privacy}","received_events_url":"https://api.github.com/users/ngoldman/received_events","type":"User","site_admin":false},"created_at":"2015-03-22T00:48:13Z","updated_at":"2015-03-22T00:48:13Z","body":"+1\r\n@thlorenz opinions? :grin: "}}