{"action":"closed","number":9,"pull_request":{"url":"https://api.github.com/repos/sebastian-software/modern-spa-boilerplate/pulls/9","id":71031804,"html_url":"https://github.com/sebastian-software/modern-spa-boilerplate/pull/9","diff_url":"https://github.com/sebastian-software/modern-spa-boilerplate/pull/9.diff","patch_url":"https://github.com/sebastian-software/modern-spa-boilerplate/pull/9.patch","issue_url":"https://api.github.com/repos/sebastian-software/modern-spa-boilerplate/issues/9","number":9,"state":"closed","locked":false,"title":"Add support for configuration of browserSync middleware","user":{"login":"fastner","id":209969,"avatar_url":"https://avatars.githubusercontent.com/u/209969?v=3","gravatar_id":"","url":"https://api.github.com/users/fastner","html_url":"https://github.com/fastner","followers_url":"https://api.github.com/users/fastner/followers","following_url":"https://api.github.com/users/fastner/following{/other_user}","gists_url":"https://api.github.com/users/fastner/gists{/gist_id}","starred_url":"https://api.github.com/users/fastner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fastner/subscriptions","organizations_url":"https://api.github.com/users/fastner/orgs","repos_url":"https://api.github.com/users/fastner/repos","events_url":"https://api.github.com/users/fastner/events{/privacy}","received_events_url":"https://api.github.com/users/fastner/received_events","type":"User","site_admin":false},"body":"This introduces a global build configuration with support for adding\r\nmiddleware to browserSync, e.g. http-proxy-middleware\r\n\r\nThe introduction of a global config store can be a subject for discussion.\r\n\r\nWe use it as\r\n\r\n````\r\nimport proxyMiddleware from \"http-proxy-middleware\r\nimport requireDir from \"require-dir\"\r\n\r\nconst gulpModules = requireDir(\"gulp\")\r\ngulpModules.config.set(\"browserSync.middleware\", [\r\n  proxyMiddleware(...)\r\n])\r\n````\r\nto proxy backend requests without having CORS problems.","created_at":"2016-05-23T09:42:08Z","updated_at":"2016-05-25T20:48:29Z","closed_at":"2016-05-25T20:48:29Z","merged_at":"2016-05-25T20:48:29Z","merge_commit_sha":"12e03965a611dd6204dbd04dd9446953b075cd39","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/sebastian-software/modern-spa-boilerplate/pulls/9/commits","review_comments_url":"https://api.github.com/repos/sebastian-software/modern-spa-boilerplate/pulls/9/comments","review_comment_url":"https://api.github.com/repos/sebastian-software/modern-spa-boilerplate/pulls/comments{/number}","comments_url":"https://api.github.com/repos/sebastian-software/modern-spa-boilerplate/issues/9/comments","statuses_url":"https://api.github.com/repos/sebastian-software/modern-spa-boilerplate/statuses/88d79104a8946d56ce0cad11494b36592eb14432","head":{"label":"sebastian-software:config-browsersync-middleware","ref":"config-browsersync-middleware","sha":"88d79104a8946d56ce0cad11494b36592eb14432","user":{"login":"sebastian-software","id":2903987,"avatar_url":"https://avatars.githubusercontent.com/u/2903987?v=3","gravatar_id":"","url":"https://api.github.com/users/sebastian-software","html_url":"https://github.com/sebastian-software","followers_url":"https://api.github.com/users/sebastian-software/followers","following_url":"https://api.github.com/users/sebastian-software/following{/other_user}","gists_url":"https://api.github.com/users/sebastian-software/gists{/gist_id}","starred_url":"https://api.github.com/users/sebastian-software/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sebastian-software/subscriptions","organizations_url":"https://api.github.com/users/sebastian-software/orgs","repos_url":"https://api.github.com/users/sebastian-software/repos","events_url":"https://api.github.com/users/sebastian-software/events{/privacy}","received_events_url":"https://api.github.com/users/sebastian-software/received_events","type":"Organization","site_admin":false},"repo":{"id":54489218,"name":"modern-spa-boilerplate","full_name":"sebastian-software/modern-spa-boilerplate","owner":{"login":"sebastian-software","id":2903987,"avatar_url":"https://avatars.githubusercontent.com/u/2903987?v=3","gravatar_id":"","url":"https://api.github.com/users/sebastian-software","html_url":"https://github.com/sebastian-software","followers_url":"https://api.github.com/users/sebastian-software/followers","following_url":"https://api.github.com/users/sebastian-software/following{/other_user}","gists_url":"https://api.github.com/users/sebastian-software/gists{/gist_id}","starred_url":"https://api.github.com/users/sebastian-software/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sebastian-software/subscriptions","organizations_url":"https://api.github.com/users/sebastian-software/orgs","repos_url":"https://api.github.com/users/sebastian-software/repos","events_url":"https://api.github.com/users/sebastian-software/events{/privacy}","received_events_url":"https://api.github.com/users/sebastian-software/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/sebastian-software/modern-spa-boilerplate","description":"Modern Boilerplate for Single Page Applications","fork":false,"url":"https://api.github.com/repos/sebastian-software/modern-spa-boilerplate","forks_url":"https://api.github.com/repos/sebastian-software/modern-spa-boilerplate/forks","keys_url":"https://api.github.com/repos/sebastian-software/modern-spa-boilerplate/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sebastian-software/modern-spa-boilerplate/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sebastian-software/modern-spa-boilerplate/teams","hooks_url":"https://api.github.com/repos/sebastian-software/modern-spa-boilerplate/hooks","issue_events_url":"https://api.github.com/repos/sebastian-software/modern-spa-boilerplate/issues/events{/number}","events_url":"https://api.github.com/repos/sebastian-software/modern-spa-boilerplate/events","assignees_url":"https://api.github.com/repos/sebastian-software/modern-spa-boilerplate/assignees{/user}","branches_url":"https://api.github.com/repos/sebastian-software/modern-spa-boilerplate/branches{/branch}","tags_url":"https://api.github.com/repos/sebastian-software/modern-spa-boilerplate/tags","blobs_url":"https://api.github.com/repos/sebastian-software/modern-spa-boilerplate/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sebastian-software/modern-spa-boilerplate/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sebastian-software/modern-spa-boilerplate/git/refs{/sha}","trees_url":"https://api.github.com/repos/sebastian-software/modern-spa-boilerplate/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sebastian-software/modern-spa-boilerplate/statuses/{sha}","languages_url":"https://api.github.com/repos/sebastian-software/modern-spa-boilerplate/languages","stargazers_url":"https://api.github.com/repos/sebastian-software/modern-spa-boilerplate/stargazers","contributors_url":"https://api.github.com/repos/sebastian-software/modern-spa-boilerplate/contributors","subscribers_url":"https://api.github.com/repos/sebastian-software/modern-spa-boilerplate/subscribers","subscription_url":"https://api.github.com/repos/sebastian-software/modern-spa-boilerplate/subscription","commits_url":"https://api.github.com/repos/sebastian-software/modern-spa-boilerplate/commits{/sha}","git_commits_url":"https://api.github.com/repos/sebastian-software/modern-spa-boilerplate/git/commits{/sha}","comments_url":"https://api.github.com/repos/sebastian-software/modern-spa-boilerplate/comments{/number}","issue_comment_url":"https://api.github.com/repos/sebastian-software/modern-spa-boilerplate/issues/comments{/number}","contents_url":"https://api.github.com/repos/sebastian-software/modern-spa-boilerplate/contents/{+path}","compare_url":"https://api.github.com/repos/sebastian-software/modern-spa-boilerplate/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sebastian-software/modern-spa-boilerplate/merges","archive_url":"https://api.github.com/repos/sebastian-software/modern-spa-boilerplate/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sebastian-software/modern-spa-boilerplate/downloads","issues_url":"https://api.github.com/repos/sebastian-software/modern-spa-boilerplate/issues{/number}","pulls_url":"https://api.github.com/repos/sebastian-software/modern-spa-boilerplate/pulls{/number}","milestones_url":"https://api.github.com/repos/sebastian-software/modern-spa-boilerplate/milestones{/number}","notifications_url":"https://api.github.com/repos/sebastian-software/modern-spa-boilerplate/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sebastian-software/modern-spa-boilerplate/labels{/name}","releases_url":"https://api.github.com/repos/sebastian-software/modern-spa-boilerplate/releases{/id}","deployments_url":"https://api.github.com/repos/sebastian-software/modern-spa-boilerplate/deployments","created_at":"2016-03-22T16:03:11Z","updated_at":"2016-05-25T11:11:39Z","pushed_at":"2016-05-25T20:48:29Z","git_url":"git://github.com/sebastian-software/modern-spa-boilerplate.git","ssh_url":"git@github.com:sebastian-software/modern-spa-boilerplate.git","clone_url":"https://github.com/sebastian-software/modern-spa-boilerplate.git","svn_url":"https://github.com/sebastian-software/modern-spa-boilerplate","homepage":null,"size":3262,"stargazers_count":4,"watchers_count":4,"language":"Vue","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":4,"default_branch":"master"}},"base":{"label":"sebastian-software:master","ref":"master","sha":"8d593c1617111a719e38107bc0c056dcf0061258","user":{"login":"sebastian-software","id":2903987,"avatar_url":"https://avatars.githubusercontent.com/u/2903987?v=3","gravatar_id":"","url":"https://api.github.com/users/sebastian-software","html_url":"https://github.com/sebastian-software","followers_url":"https://api.github.com/users/sebastian-software/followers","following_url":"https://api.github.com/users/sebastian-software/following{/other_user}","gists_url":"https://api.github.com/users/sebastian-software/gists{/gist_id}","starred_url":"https://api.github.com/users/sebastian-software/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sebastian-software/subscriptions","organizations_url":"https://api.github.com/users/sebastian-software/orgs","repos_url":"https://api.github.com/users/sebastian-software/repos","events_url":"https://api.github.com/users/sebastian-software/events{/privacy}","received_events_url":"https://api.github.com/users/sebastian-software/received_events","type":"Organization","site_admin":false},"repo":{"id":54489218,"name":"modern-spa-boilerplate","full_name":"sebastian-software/modern-spa-boilerplate","owner":{"login":"sebastian-software","id":2903987,"avatar_url":"https://avatars.githubusercontent.com/u/2903987?v=3","gravatar_id":"","url":"https://api.github.com/users/sebastian-software","html_url":"https://github.com/sebastian-software","followers_url":"https://api.github.com/users/sebastian-software/followers","following_url":"https://api.github.com/users/sebastian-software/following{/other_user}","gists_url":"https://api.github.com/users/sebastian-software/gists{/gist_id}","starred_url":"https://api.github.com/users/sebastian-software/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sebastian-software/subscriptions","organizations_url":"https://api.github.com/users/sebastian-software/orgs","repos_url":"https://api.github.com/users/sebastian-software/repos","events_url":"https://api.github.com/users/sebastian-software/events{/privacy}","received_events_url":"https://api.github.com/users/sebastian-software/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/sebastian-software/modern-spa-boilerplate","description":"Modern Boilerplate for Single Page Applications","fork":false,"url":"https://api.github.com/repos/sebastian-software/modern-spa-boilerplate","forks_url":"https://api.github.com/repos/sebastian-software/modern-spa-boilerplate/forks","keys_url":"https://api.github.com/repos/sebastian-software/modern-spa-boilerplate/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sebastian-software/modern-spa-boilerplate/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sebastian-software/modern-spa-boilerplate/teams","hooks_url":"https://api.github.com/repos/sebastian-software/modern-spa-boilerplate/hooks","issue_events_url":"https://api.github.com/repos/sebastian-software/modern-spa-boilerplate/issues/events{/number}","events_url":"https://api.github.com/repos/sebastian-software/modern-spa-boilerplate/events","assignees_url":"https://api.github.com/repos/sebastian-software/modern-spa-boilerplate/assignees{/user}","branches_url":"https://api.github.com/repos/sebastian-software/modern-spa-boilerplate/branches{/branch}","tags_url":"https://api.github.com/repos/sebastian-software/modern-spa-boilerplate/tags","blobs_url":"https://api.github.com/repos/sebastian-software/modern-spa-boilerplate/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sebastian-software/modern-spa-boilerplate/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sebastian-software/modern-spa-boilerplate/git/refs{/sha}","trees_url":"https://api.github.com/repos/sebastian-software/modern-spa-boilerplate/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sebastian-software/modern-spa-boilerplate/statuses/{sha}","languages_url":"https://api.github.com/repos/sebastian-software/modern-spa-boilerplate/languages","stargazers_url":"https://api.github.com/repos/sebastian-software/modern-spa-boilerplate/stargazers","contributors_url":"https://api.github.com/repos/sebastian-software/modern-spa-boilerplate/contributors","subscribers_url":"https://api.github.com/repos/sebastian-software/modern-spa-boilerplate/subscribers","subscription_url":"https://api.github.com/repos/sebastian-software/modern-spa-boilerplate/subscription","commits_url":"https://api.github.com/repos/sebastian-software/modern-spa-boilerplate/commits{/sha}","git_commits_url":"https://api.github.com/repos/sebastian-software/modern-spa-boilerplate/git/commits{/sha}","comments_url":"https://api.github.com/repos/sebastian-software/modern-spa-boilerplate/comments{/number}","issue_comment_url":"https://api.github.com/repos/sebastian-software/modern-spa-boilerplate/issues/comments{/number}","contents_url":"https://api.github.com/repos/sebastian-software/modern-spa-boilerplate/contents/{+path}","compare_url":"https://api.github.com/repos/sebastian-software/modern-spa-boilerplate/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sebastian-software/modern-spa-boilerplate/merges","archive_url":"https://api.github.com/repos/sebastian-software/modern-spa-boilerplate/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sebastian-software/modern-spa-boilerplate/downloads","issues_url":"https://api.github.com/repos/sebastian-software/modern-spa-boilerplate/issues{/number}","pulls_url":"https://api.github.com/repos/sebastian-software/modern-spa-boilerplate/pulls{/number}","milestones_url":"https://api.github.com/repos/sebastian-software/modern-spa-boilerplate/milestones{/number}","notifications_url":"https://api.github.com/repos/sebastian-software/modern-spa-boilerplate/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sebastian-software/modern-spa-boilerplate/labels{/name}","releases_url":"https://api.github.com/repos/sebastian-software/modern-spa-boilerplate/releases{/id}","deployments_url":"https://api.github.com/repos/sebastian-software/modern-spa-boilerplate/deployments","created_at":"2016-03-22T16:03:11Z","updated_at":"2016-05-25T11:11:39Z","pushed_at":"2016-05-25T20:48:29Z","git_url":"git://github.com/sebastian-software/modern-spa-boilerplate.git","ssh_url":"git@github.com:sebastian-software/modern-spa-boilerplate.git","clone_url":"https://github.com/sebastian-software/modern-spa-boilerplate.git","svn_url":"https://github.com/sebastian-software/modern-spa-boilerplate","homepage":null,"size":3262,"stargazers_count":4,"watchers_count":4,"language":"Vue","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":4,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/sebastian-software/modern-spa-boilerplate/pulls/9"},"html":{"href":"https://github.com/sebastian-software/modern-spa-boilerplate/pull/9"},"issue":{"href":"https://api.github.com/repos/sebastian-software/modern-spa-boilerplate/issues/9"},"comments":{"href":"https://api.github.com/repos/sebastian-software/modern-spa-boilerplate/issues/9/comments"},"review_comments":{"href":"https://api.github.com/repos/sebastian-software/modern-spa-boilerplate/pulls/9/comments"},"review_comment":{"href":"https://api.github.com/repos/sebastian-software/modern-spa-boilerplate/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/sebastian-software/modern-spa-boilerplate/pulls/9/commits"},"statuses":{"href":"https://api.github.com/repos/sebastian-software/modern-spa-boilerplate/statuses/88d79104a8946d56ce0cad11494b36592eb14432"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"swernerx","id":145201,"avatar_url":"https://avatars.githubusercontent.com/u/145201?v=3","gravatar_id":"","url":"https://api.github.com/users/swernerx","html_url":"https://github.com/swernerx","followers_url":"https://api.github.com/users/swernerx/followers","following_url":"https://api.github.com/users/swernerx/following{/other_user}","gists_url":"https://api.github.com/users/swernerx/gists{/gist_id}","starred_url":"https://api.github.com/users/swernerx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/swernerx/subscriptions","organizations_url":"https://api.github.com/users/swernerx/orgs","repos_url":"https://api.github.com/users/swernerx/repos","events_url":"https://api.github.com/users/swernerx/events{/privacy}","received_events_url":"https://api.github.com/users/swernerx/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":2,"additions":20,"deletions":1,"changed_files":2}}
{"actor":{"display_login":"swernerx"}}