{"action":"created","comment":{"url":"https://api.github.com/repos/oblador/loki/pulls/comments/202105918","pull_request_review_id":136739174,"id":202105918,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwMjEwNTkxOA==","diff_hunk":"@@ -65,8 +65,27 @@ function decorateStorybook(storybook) {\n         return storiesOf;\n       },\n     });\n+  } else {\n+    console.warn(","path":"src/targets/decorate-storybook.js","position":14,"original_position":14,"commit_id":"c88aad9eb69525f123be15c4e1df20f87ec61b68","original_commit_id":"c88aad9eb69525f123be15c4e1df20f87ec61b68","user":{"login":"oblador","id":378279,"node_id":"MDQ6VXNlcjM3ODI3OQ==","avatar_url":"https://avatars0.githubusercontent.com/u/378279?v=4","gravatar_id":"","url":"https://api.github.com/users/oblador","html_url":"https://github.com/oblador","followers_url":"https://api.github.com/users/oblador/followers","following_url":"https://api.github.com/users/oblador/following{/other_user}","gists_url":"https://api.github.com/users/oblador/gists{/gist_id}","starred_url":"https://api.github.com/users/oblador/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oblador/subscriptions","organizations_url":"https://api.github.com/users/oblador/orgs","repos_url":"https://api.github.com/users/oblador/repos","events_url":"https://api.github.com/users/oblador/events{/privacy}","received_events_url":"https://api.github.com/users/oblador/received_events","type":"User","site_admin":false},"body":"Don't think we need to warn about this as this is the new way forward. ","created_at":"2018-07-12T16:52:21Z","updated_at":"2018-07-12T16:52:21Z","html_url":"https://github.com/oblador/loki/pull/79#discussion_r202105918","pull_request_url":"https://api.github.com/repos/oblador/loki/pulls/79","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/oblador/loki/pulls/comments/202105918"},"html":{"href":"https://github.com/oblador/loki/pull/79#discussion_r202105918"},"pull_request":{"href":"https://api.github.com/repos/oblador/loki/pulls/79"}}},"pull_request":{"url":"https://api.github.com/repos/oblador/loki/pulls/79","id":200461119,"node_id":"MDExOlB1bGxSZXF1ZXN0MjAwNDYxMTE5","html_url":"https://github.com/oblador/loki/pull/79","diff_url":"https://github.com/oblador/loki/pull/79.diff","patch_url":"https://github.com/oblador/loki/pull/79.patch","issue_url":"https://api.github.com/repos/oblador/loki/issues/79","number":79,"state":"open","locked":false,"title":"Switch to setAddon to expose loki methods instead of (async, skip)","user":{"login":"nowells","id":23833,"node_id":"MDQ6VXNlcjIzODMz","avatar_url":"https://avatars2.githubusercontent.com/u/23833?v=4","gravatar_id":"","url":"https://api.github.com/users/nowells","html_url":"https://github.com/nowells","followers_url":"https://api.github.com/users/nowells/followers","following_url":"https://api.github.com/users/nowells/following{/other_user}","gists_url":"https://api.github.com/users/nowells/gists{/gist_id}","starred_url":"https://api.github.com/users/nowells/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nowells/subscriptions","organizations_url":"https://api.github.com/users/nowells/orgs","repos_url":"https://api.github.com/users/nowells/repos","events_url":"https://api.github.com/users/nowells/events{/privacy}","received_events_url":"https://api.github.com/users/nowells/received_events","type":"User","site_admin":false},"body":"I will leave the old methods (which break in `@storybook/react@4`) but warn when they cannot be created. We should standardize on the new setAddon methods instead going forward.\r\n\r\nThis fixes a bug when using loki with `@storybook/react@4` which we introduced in https://github.com/oblador/loki/pull/66. It appears that the `storiesOf` is now an  ES6 module export, which cannot be redefined, so our previous approach of clobbering/monkeypatching `storiesOf` no longer works.","created_at":"2018-07-10T16:52:43Z","updated_at":"2018-07-12T16:52:21Z","closed_at":null,"merged_at":null,"merge_commit_sha":"62934d3e4ed1eae8795928b8048318088fca3efc","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/oblador/loki/pulls/79/commits","review_comments_url":"https://api.github.com/repos/oblador/loki/pulls/79/comments","review_comment_url":"https://api.github.com/repos/oblador/loki/pulls/comments{/number}","comments_url":"https://api.github.com/repos/oblador/loki/issues/79/comments","statuses_url":"https://api.github.com/repos/oblador/loki/statuses/c88aad9eb69525f123be15c4e1df20f87ec61b68","head":{"label":"nowells:set-addon","ref":"set-addon","sha":"c88aad9eb69525f123be15c4e1df20f87ec61b68","user":{"login":"nowells","id":23833,"node_id":"MDQ6VXNlcjIzODMz","avatar_url":"https://avatars2.githubusercontent.com/u/23833?v=4","gravatar_id":"","url":"https://api.github.com/users/nowells","html_url":"https://github.com/nowells","followers_url":"https://api.github.com/users/nowells/followers","following_url":"https://api.github.com/users/nowells/following{/other_user}","gists_url":"https://api.github.com/users/nowells/gists{/gist_id}","starred_url":"https://api.github.com/users/nowells/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nowells/subscriptions","organizations_url":"https://api.github.com/users/nowells/orgs","repos_url":"https://api.github.com/users/nowells/repos","events_url":"https://api.github.com/users/nowells/events{/privacy}","received_events_url":"https://api.github.com/users/nowells/received_events","type":"User","site_admin":false},"repo":{"id":137758272,"node_id":"MDEwOlJlcG9zaXRvcnkxMzc3NTgyNzI=","name":"loki","full_name":"nowells/loki","owner":{"login":"nowells","id":23833,"node_id":"MDQ6VXNlcjIzODMz","avatar_url":"https://avatars2.githubusercontent.com/u/23833?v=4","gravatar_id":"","url":"https://api.github.com/users/nowells","html_url":"https://github.com/nowells","followers_url":"https://api.github.com/users/nowells/followers","following_url":"https://api.github.com/users/nowells/following{/other_user}","gists_url":"https://api.github.com/users/nowells/gists{/gist_id}","starred_url":"https://api.github.com/users/nowells/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nowells/subscriptions","organizations_url":"https://api.github.com/users/nowells/orgs","repos_url":"https://api.github.com/users/nowells/repos","events_url":"https://api.github.com/users/nowells/events{/privacy}","received_events_url":"https://api.github.com/users/nowells/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/nowells/loki","description":"👁 Visual Regression Testing for Storybook","fork":true,"url":"https://api.github.com/repos/nowells/loki","forks_url":"https://api.github.com/repos/nowells/loki/forks","keys_url":"https://api.github.com/repos/nowells/loki/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nowells/loki/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nowells/loki/teams","hooks_url":"https://api.github.com/repos/nowells/loki/hooks","issue_events_url":"https://api.github.com/repos/nowells/loki/issues/events{/number}","events_url":"https://api.github.com/repos/nowells/loki/events","assignees_url":"https://api.github.com/repos/nowells/loki/assignees{/user}","branches_url":"https://api.github.com/repos/nowells/loki/branches{/branch}","tags_url":"https://api.github.com/repos/nowells/loki/tags","blobs_url":"https://api.github.com/repos/nowells/loki/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nowells/loki/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nowells/loki/git/refs{/sha}","trees_url":"https://api.github.com/repos/nowells/loki/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nowells/loki/statuses/{sha}","languages_url":"https://api.github.com/repos/nowells/loki/languages","stargazers_url":"https://api.github.com/repos/nowells/loki/stargazers","contributors_url":"https://api.github.com/repos/nowells/loki/contributors","subscribers_url":"https://api.github.com/repos/nowells/loki/subscribers","subscription_url":"https://api.github.com/repos/nowells/loki/subscription","commits_url":"https://api.github.com/repos/nowells/loki/commits{/sha}","git_commits_url":"https://api.github.com/repos/nowells/loki/git/commits{/sha}","comments_url":"https://api.github.com/repos/nowells/loki/comments{/number}","issue_comment_url":"https://api.github.com/repos/nowells/loki/issues/comments{/number}","contents_url":"https://api.github.com/repos/nowells/loki/contents/{+path}","compare_url":"https://api.github.com/repos/nowells/loki/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nowells/loki/merges","archive_url":"https://api.github.com/repos/nowells/loki/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nowells/loki/downloads","issues_url":"https://api.github.com/repos/nowells/loki/issues{/number}","pulls_url":"https://api.github.com/repos/nowells/loki/pulls{/number}","milestones_url":"https://api.github.com/repos/nowells/loki/milestones{/number}","notifications_url":"https://api.github.com/repos/nowells/loki/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nowells/loki/labels{/name}","releases_url":"https://api.github.com/repos/nowells/loki/releases{/id}","deployments_url":"https://api.github.com/repos/nowells/loki/deployments","created_at":"2018-06-18T13:57:02Z","updated_at":"2018-06-18T13:57:04Z","pushed_at":"2018-07-10T17:19:38Z","git_url":"git://github.com/nowells/loki.git","ssh_url":"git@github.com:nowells/loki.git","clone_url":"https://github.com/nowells/loki.git","svn_url":"https://github.com/nowells/loki","homepage":"https://loki.js.org/","size":3043,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"oblador:master","ref":"master","sha":"da41d33af00ab37be42d66fe1d5afd018278718d","user":{"login":"oblador","id":378279,"node_id":"MDQ6VXNlcjM3ODI3OQ==","avatar_url":"https://avatars0.githubusercontent.com/u/378279?v=4","gravatar_id":"","url":"https://api.github.com/users/oblador","html_url":"https://github.com/oblador","followers_url":"https://api.github.com/users/oblador/followers","following_url":"https://api.github.com/users/oblador/following{/other_user}","gists_url":"https://api.github.com/users/oblador/gists{/gist_id}","starred_url":"https://api.github.com/users/oblador/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oblador/subscriptions","organizations_url":"https://api.github.com/users/oblador/orgs","repos_url":"https://api.github.com/users/oblador/repos","events_url":"https://api.github.com/users/oblador/events{/privacy}","received_events_url":"https://api.github.com/users/oblador/received_events","type":"User","site_admin":false},"repo":{"id":96754761,"node_id":"MDEwOlJlcG9zaXRvcnk5Njc1NDc2MQ==","name":"loki","full_name":"oblador/loki","owner":{"login":"oblador","id":378279,"node_id":"MDQ6VXNlcjM3ODI3OQ==","avatar_url":"https://avatars0.githubusercontent.com/u/378279?v=4","gravatar_id":"","url":"https://api.github.com/users/oblador","html_url":"https://github.com/oblador","followers_url":"https://api.github.com/users/oblador/followers","following_url":"https://api.github.com/users/oblador/following{/other_user}","gists_url":"https://api.github.com/users/oblador/gists{/gist_id}","starred_url":"https://api.github.com/users/oblador/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oblador/subscriptions","organizations_url":"https://api.github.com/users/oblador/orgs","repos_url":"https://api.github.com/users/oblador/repos","events_url":"https://api.github.com/users/oblador/events{/privacy}","received_events_url":"https://api.github.com/users/oblador/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/oblador/loki","description":"👁 Visual Regression Testing for Storybook","fork":false,"url":"https://api.github.com/repos/oblador/loki","forks_url":"https://api.github.com/repos/oblador/loki/forks","keys_url":"https://api.github.com/repos/oblador/loki/keys{/key_id}","collaborators_url":"https://api.github.com/repos/oblador/loki/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/oblador/loki/teams","hooks_url":"https://api.github.com/repos/oblador/loki/hooks","issue_events_url":"https://api.github.com/repos/oblador/loki/issues/events{/number}","events_url":"https://api.github.com/repos/oblador/loki/events","assignees_url":"https://api.github.com/repos/oblador/loki/assignees{/user}","branches_url":"https://api.github.com/repos/oblador/loki/branches{/branch}","tags_url":"https://api.github.com/repos/oblador/loki/tags","blobs_url":"https://api.github.com/repos/oblador/loki/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/oblador/loki/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/oblador/loki/git/refs{/sha}","trees_url":"https://api.github.com/repos/oblador/loki/git/trees{/sha}","statuses_url":"https://api.github.com/repos/oblador/loki/statuses/{sha}","languages_url":"https://api.github.com/repos/oblador/loki/languages","stargazers_url":"https://api.github.com/repos/oblador/loki/stargazers","contributors_url":"https://api.github.com/repos/oblador/loki/contributors","subscribers_url":"https://api.github.com/repos/oblador/loki/subscribers","subscription_url":"https://api.github.com/repos/oblador/loki/subscription","commits_url":"https://api.github.com/repos/oblador/loki/commits{/sha}","git_commits_url":"https://api.github.com/repos/oblador/loki/git/commits{/sha}","comments_url":"https://api.github.com/repos/oblador/loki/comments{/number}","issue_comment_url":"https://api.github.com/repos/oblador/loki/issues/comments{/number}","contents_url":"https://api.github.com/repos/oblador/loki/contents/{+path}","compare_url":"https://api.github.com/repos/oblador/loki/compare/{base}...{head}","merges_url":"https://api.github.com/repos/oblador/loki/merges","archive_url":"https://api.github.com/repos/oblador/loki/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/oblador/loki/downloads","issues_url":"https://api.github.com/repos/oblador/loki/issues{/number}","pulls_url":"https://api.github.com/repos/oblador/loki/pulls{/number}","milestones_url":"https://api.github.com/repos/oblador/loki/milestones{/number}","notifications_url":"https://api.github.com/repos/oblador/loki/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/oblador/loki/labels{/name}","releases_url":"https://api.github.com/repos/oblador/loki/releases{/id}","deployments_url":"https://api.github.com/repos/oblador/loki/deployments","created_at":"2017-07-10T08:33:52Z","updated_at":"2018-07-11T23:01:19Z","pushed_at":"2018-07-10T17:19:40Z","git_url":"git://github.com/oblador/loki.git","ssh_url":"git@github.com:oblador/loki.git","clone_url":"https://github.com/oblador/loki.git","svn_url":"https://github.com/oblador/loki","homepage":"https://loki.js.org/","size":3002,"stargazers_count":269,"watchers_count":269,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":23,"mirror_url":null,"archived":false,"open_issues_count":15,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":23,"open_issues":15,"watchers":269,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/oblador/loki/pulls/79"},"html":{"href":"https://github.com/oblador/loki/pull/79"},"issue":{"href":"https://api.github.com/repos/oblador/loki/issues/79"},"comments":{"href":"https://api.github.com/repos/oblador/loki/issues/79/comments"},"review_comments":{"href":"https://api.github.com/repos/oblador/loki/pulls/79/comments"},"review_comment":{"href":"https://api.github.com/repos/oblador/loki/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/oblador/loki/pulls/79/commits"},"statuses":{"href":"https://api.github.com/repos/oblador/loki/statuses/c88aad9eb69525f123be15c4e1df20f87ec61b68"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"oblador"}}