{"action":"created","issue":{"url":"https://api.github.com/repos/guardian/frontend/issues/10127","labels_url":"https://api.github.com/repos/guardian/frontend/issues/10127/labels{/name}","comments_url":"https://api.github.com/repos/guardian/frontend/issues/10127/comments","events_url":"https://api.github.com/repos/guardian/frontend/issues/10127/events","html_url":"https://github.com/guardian/frontend/pull/10127","id":100568237,"number":10127,"title":"add commit hook to ensure npm-shrinkwrap.json is added with package.json","user":{"login":"desbo","id":1064734,"avatar_url":"https://avatars.githubusercontent.com/u/1064734?v=3","gravatar_id":"","url":"https://api.github.com/users/desbo","html_url":"https://github.com/desbo","followers_url":"https://api.github.com/users/desbo/followers","following_url":"https://api.github.com/users/desbo/following{/other_user}","gists_url":"https://api.github.com/users/desbo/gists{/gist_id}","starred_url":"https://api.github.com/users/desbo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/desbo/subscriptions","organizations_url":"https://api.github.com/users/desbo/orgs","repos_url":"https://api.github.com/users/desbo/repos","events_url":"https://api.github.com/users/desbo/events{/privacy}","received_events_url":"https://api.github.com/users/desbo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-08-12T15:20:50Z","updated_at":"2015-08-12T15:56:32Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/guardian/frontend/pulls/10127","html_url":"https://github.com/guardian/frontend/pull/10127","diff_url":"https://github.com/guardian/frontend/pull/10127.diff","patch_url":"https://github.com/guardian/frontend/pull/10127.patch"},"body":"also change git-hooks/update-message.js to support different messages\r\n\r\n@sndrs @rich-nguyen @OliverJAsh :eyes: "},"comment":{"url":"https://api.github.com/repos/guardian/frontend/issues/comments/130354058","html_url":"https://github.com/guardian/frontend/pull/10127#issuecomment-130354058","issue_url":"https://api.github.com/repos/guardian/frontend/issues/10127","id":130354058,"user":{"login":"desbo","id":1064734,"avatar_url":"https://avatars.githubusercontent.com/u/1064734?v=3","gravatar_id":"","url":"https://api.github.com/users/desbo","html_url":"https://github.com/desbo","followers_url":"https://api.github.com/users/desbo/followers","following_url":"https://api.github.com/users/desbo/following{/other_user}","gists_url":"https://api.github.com/users/desbo/gists{/gist_id}","starred_url":"https://api.github.com/users/desbo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/desbo/subscriptions","organizations_url":"https://api.github.com/users/desbo/orgs","repos_url":"https://api.github.com/users/desbo/repos","events_url":"https://api.github.com/users/desbo/events{/privacy}","received_events_url":"https://api.github.com/users/desbo/received_events","type":"User","site_admin":false},"created_at":"2015-08-12T15:56:32Z","updated_at":"2015-08-12T15:56:32Z","body":"hmm, to get the changes we'd need to read the output of `git diff`, which has no notion of it being JSON. I've added an extra check that will allow the commit to go through if `systemjs-config.js` is staged. \r\n\r\nmetadata should be fine - I tested changing the name (and nothing else) in `package.json` and it was shrinkwrapped. "}}