{"action":"opened","number":130,"pull_request":{"url":"https://api.github.com/repos/lore/lore/pulls/130","id":85719494,"html_url":"https://github.com/lore/lore/pull/130","diff_url":"https://github.com/lore/lore/pull/130.diff","patch_url":"https://github.com/lore/lore/pull/130.patch","issue_url":"https://api.github.com/repos/lore/lore/issues/130","number":130,"state":"open","locked":false,"title":"Extract core hooks into external npm packages","user":{"login":"jchansen","id":2637399,"avatar_url":"https://avatars.githubusercontent.com/u/2637399?v=3","gravatar_id":"","url":"https://api.github.com/users/jchansen","html_url":"https://github.com/jchansen","followers_url":"https://api.github.com/users/jchansen/followers","following_url":"https://api.github.com/users/jchansen/following{/other_user}","gists_url":"https://api.github.com/users/jchansen/gists{/gist_id}","starred_url":"https://api.github.com/users/jchansen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jchansen/subscriptions","organizations_url":"https://api.github.com/users/jchansen/orgs","repos_url":"https://api.github.com/users/jchansen/repos","events_url":"https://api.github.com/users/jchansen/events{/privacy}","received_events_url":"https://api.github.com/users/jchansen/received_events","type":"User","site_admin":false},"body":"This PR extracts all of the core hooks out of lore and puts them into formal npm packages. This change means starting with `v0.10` lore will no longer have any default built-in functionality with the current exception of:\r\n\r\n1. Creating the root component that gets mounted to the DOM\r\n2. Mounting the root component to the DOM\r\n\r\nIn time, I expect that functionality will get pulled out as well.\r\n\r\n### Usage\r\nPrior to this change, the `lore.summon()` call in `index.js` looked like this:\r\n\r\n```js\r\nlore.summon();\r\n```\r\n\r\nThis was valid because lore loaded many hooks by default internally. This is no longer the case. With this change, all hooks need to be loaded (and installed) explicitly, so the new `index.js` file will need to look like this (to mirror the previous default):\r\n\r\n```js\r\n// index.js\r\nlore.summon({\r\n  hooks: {\r\n    'action-blueprints': require(\"lore-hook-action-blueprints\"),\r\n    actions: require(\"lore-hook-actions\"),\r\n    collections: require(\"lore-hook-collections\"),\r\n    connect: require(\"lore-hook-connect\"),\r\n    dialog: require(\"lore-hook-dialog\"),\r\n    models: require(\"lore-hook-models\"),\r\n    reducers: require(\"lore-hook-reducers\"),\r\n    redux: require(\"lore-hook-redux\")\r\n  }\r\n});\r\n```\r\n\r\n`action-blueprints` will be collapsed into actions in an upcoming PR.","created_at":"2016-09-18T19:09:48Z","updated_at":"2016-09-18T19:09:48Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e1b7b0fbee0dc20c898316bd1247864908a69761","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/lore/lore/pulls/130/commits","review_comments_url":"https://api.github.com/repos/lore/lore/pulls/130/comments","review_comment_url":"https://api.github.com/repos/lore/lore/pulls/comments{/number}","comments_url":"https://api.github.com/repos/lore/lore/issues/130/comments","statuses_url":"https://api.github.com/repos/lore/lore/statuses/74f3bc7fa0afbe9094c09883cad712458c595184","head":{"label":"lore:extract-core-hooks","ref":"extract-core-hooks","sha":"74f3bc7fa0afbe9094c09883cad712458c595184","user":{"login":"lore","id":17439604,"avatar_url":"https://avatars.githubusercontent.com/u/17439604?v=3","gravatar_id":"","url":"https://api.github.com/users/lore","html_url":"https://github.com/lore","followers_url":"https://api.github.com/users/lore/followers","following_url":"https://api.github.com/users/lore/following{/other_user}","gists_url":"https://api.github.com/users/lore/gists{/gist_id}","starred_url":"https://api.github.com/users/lore/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lore/subscriptions","organizations_url":"https://api.github.com/users/lore/orgs","repos_url":"https://api.github.com/users/lore/repos","events_url":"https://api.github.com/users/lore/events{/privacy}","received_events_url":"https://api.github.com/users/lore/received_events","type":"Organization","site_admin":false},"repo":{"id":50279515,"name":"lore","full_name":"lore/lore","owner":{"login":"lore","id":17439604,"avatar_url":"https://avatars.githubusercontent.com/u/17439604?v=3","gravatar_id":"","url":"https://api.github.com/users/lore","html_url":"https://github.com/lore","followers_url":"https://api.github.com/users/lore/followers","following_url":"https://api.github.com/users/lore/following{/other_user}","gists_url":"https://api.github.com/users/lore/gists{/gist_id}","starred_url":"https://api.github.com/users/lore/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lore/subscriptions","organizations_url":"https://api.github.com/users/lore/orgs","repos_url":"https://api.github.com/users/lore/repos","events_url":"https://api.github.com/users/lore/events{/privacy}","received_events_url":"https://api.github.com/users/lore/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/lore/lore","description":"Respectully opinionated convention-driven framework for building React applications. Built on React, Webpack, Redux, and React-Router.","fork":false,"url":"https://api.github.com/repos/lore/lore","forks_url":"https://api.github.com/repos/lore/lore/forks","keys_url":"https://api.github.com/repos/lore/lore/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lore/lore/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lore/lore/teams","hooks_url":"https://api.github.com/repos/lore/lore/hooks","issue_events_url":"https://api.github.com/repos/lore/lore/issues/events{/number}","events_url":"https://api.github.com/repos/lore/lore/events","assignees_url":"https://api.github.com/repos/lore/lore/assignees{/user}","branches_url":"https://api.github.com/repos/lore/lore/branches{/branch}","tags_url":"https://api.github.com/repos/lore/lore/tags","blobs_url":"https://api.github.com/repos/lore/lore/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lore/lore/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lore/lore/git/refs{/sha}","trees_url":"https://api.github.com/repos/lore/lore/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lore/lore/statuses/{sha}","languages_url":"https://api.github.com/repos/lore/lore/languages","stargazers_url":"https://api.github.com/repos/lore/lore/stargazers","contributors_url":"https://api.github.com/repos/lore/lore/contributors","subscribers_url":"https://api.github.com/repos/lore/lore/subscribers","subscription_url":"https://api.github.com/repos/lore/lore/subscription","commits_url":"https://api.github.com/repos/lore/lore/commits{/sha}","git_commits_url":"https://api.github.com/repos/lore/lore/git/commits{/sha}","comments_url":"https://api.github.com/repos/lore/lore/comments{/number}","issue_comment_url":"https://api.github.com/repos/lore/lore/issues/comments{/number}","contents_url":"https://api.github.com/repos/lore/lore/contents/{+path}","compare_url":"https://api.github.com/repos/lore/lore/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lore/lore/merges","archive_url":"https://api.github.com/repos/lore/lore/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lore/lore/downloads","issues_url":"https://api.github.com/repos/lore/lore/issues{/number}","pulls_url":"https://api.github.com/repos/lore/lore/pulls{/number}","milestones_url":"https://api.github.com/repos/lore/lore/milestones{/number}","notifications_url":"https://api.github.com/repos/lore/lore/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lore/lore/labels{/name}","releases_url":"https://api.github.com/repos/lore/lore/releases{/id}","deployments_url":"https://api.github.com/repos/lore/lore/deployments","created_at":"2016-01-24T08:42:15Z","updated_at":"2016-09-18T06:52:58Z","pushed_at":"2016-09-18T19:02:16Z","git_url":"git://github.com/lore/lore.git","ssh_url":"git@github.com:lore/lore.git","clone_url":"https://github.com/lore/lore.git","svn_url":"https://github.com/lore/lore","homepage":"http://www.lorejs.org","size":4824,"stargazers_count":32,"watchers_count":32,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":12,"forks":4,"open_issues":12,"watchers":32,"default_branch":"master"}},"base":{"label":"lore:master","ref":"master","sha":"0314485dbc0ecfa289468360a337e2dd8cf1e40e","user":{"login":"lore","id":17439604,"avatar_url":"https://avatars.githubusercontent.com/u/17439604?v=3","gravatar_id":"","url":"https://api.github.com/users/lore","html_url":"https://github.com/lore","followers_url":"https://api.github.com/users/lore/followers","following_url":"https://api.github.com/users/lore/following{/other_user}","gists_url":"https://api.github.com/users/lore/gists{/gist_id}","starred_url":"https://api.github.com/users/lore/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lore/subscriptions","organizations_url":"https://api.github.com/users/lore/orgs","repos_url":"https://api.github.com/users/lore/repos","events_url":"https://api.github.com/users/lore/events{/privacy}","received_events_url":"https://api.github.com/users/lore/received_events","type":"Organization","site_admin":false},"repo":{"id":50279515,"name":"lore","full_name":"lore/lore","owner":{"login":"lore","id":17439604,"avatar_url":"https://avatars.githubusercontent.com/u/17439604?v=3","gravatar_id":"","url":"https://api.github.com/users/lore","html_url":"https://github.com/lore","followers_url":"https://api.github.com/users/lore/followers","following_url":"https://api.github.com/users/lore/following{/other_user}","gists_url":"https://api.github.com/users/lore/gists{/gist_id}","starred_url":"https://api.github.com/users/lore/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lore/subscriptions","organizations_url":"https://api.github.com/users/lore/orgs","repos_url":"https://api.github.com/users/lore/repos","events_url":"https://api.github.com/users/lore/events{/privacy}","received_events_url":"https://api.github.com/users/lore/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/lore/lore","description":"Respectully opinionated convention-driven framework for building React applications. Built on React, Webpack, Redux, and React-Router.","fork":false,"url":"https://api.github.com/repos/lore/lore","forks_url":"https://api.github.com/repos/lore/lore/forks","keys_url":"https://api.github.com/repos/lore/lore/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lore/lore/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lore/lore/teams","hooks_url":"https://api.github.com/repos/lore/lore/hooks","issue_events_url":"https://api.github.com/repos/lore/lore/issues/events{/number}","events_url":"https://api.github.com/repos/lore/lore/events","assignees_url":"https://api.github.com/repos/lore/lore/assignees{/user}","branches_url":"https://api.github.com/repos/lore/lore/branches{/branch}","tags_url":"https://api.github.com/repos/lore/lore/tags","blobs_url":"https://api.github.com/repos/lore/lore/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lore/lore/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lore/lore/git/refs{/sha}","trees_url":"https://api.github.com/repos/lore/lore/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lore/lore/statuses/{sha}","languages_url":"https://api.github.com/repos/lore/lore/languages","stargazers_url":"https://api.github.com/repos/lore/lore/stargazers","contributors_url":"https://api.github.com/repos/lore/lore/contributors","subscribers_url":"https://api.github.com/repos/lore/lore/subscribers","subscription_url":"https://api.github.com/repos/lore/lore/subscription","commits_url":"https://api.github.com/repos/lore/lore/commits{/sha}","git_commits_url":"https://api.github.com/repos/lore/lore/git/commits{/sha}","comments_url":"https://api.github.com/repos/lore/lore/comments{/number}","issue_comment_url":"https://api.github.com/repos/lore/lore/issues/comments{/number}","contents_url":"https://api.github.com/repos/lore/lore/contents/{+path}","compare_url":"https://api.github.com/repos/lore/lore/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lore/lore/merges","archive_url":"https://api.github.com/repos/lore/lore/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lore/lore/downloads","issues_url":"https://api.github.com/repos/lore/lore/issues{/number}","pulls_url":"https://api.github.com/repos/lore/lore/pulls{/number}","milestones_url":"https://api.github.com/repos/lore/lore/milestones{/number}","notifications_url":"https://api.github.com/repos/lore/lore/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lore/lore/labels{/name}","releases_url":"https://api.github.com/repos/lore/lore/releases{/id}","deployments_url":"https://api.github.com/repos/lore/lore/deployments","created_at":"2016-01-24T08:42:15Z","updated_at":"2016-09-18T06:52:58Z","pushed_at":"2016-09-18T19:02:16Z","git_url":"git://github.com/lore/lore.git","ssh_url":"git@github.com:lore/lore.git","clone_url":"https://github.com/lore/lore.git","svn_url":"https://github.com/lore/lore","homepage":"http://www.lorejs.org","size":4824,"stargazers_count":32,"watchers_count":32,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":12,"forks":4,"open_issues":12,"watchers":32,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/lore/lore/pulls/130"},"html":{"href":"https://github.com/lore/lore/pull/130"},"issue":{"href":"https://api.github.com/repos/lore/lore/issues/130"},"comments":{"href":"https://api.github.com/repos/lore/lore/issues/130/comments"},"review_comments":{"href":"https://api.github.com/repos/lore/lore/pulls/130/comments"},"review_comment":{"href":"https://api.github.com/repos/lore/lore/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/lore/lore/pulls/130/commits"},"statuses":{"href":"https://api.github.com/repos/lore/lore/statuses/74f3bc7fa0afbe9094c09883cad712458c595184"}},"merged":false,"mergeable":true,"mergeable_state":"unstable","merged_by":null,"comments":0,"review_comments":0,"commits":15,"additions":1131,"deletions":342,"changed_files":137}}
{"actor":{"display_login":"jchansen"}}