{"action":"opened","number":3277,"pull_request":{"url":"https://api.github.com/repos/babel/babel/pulls/3277","id":56335258,"html_url":"https://github.com/babel/babel/pull/3277","diff_url":"https://github.com/babel/babel/pull/3277.diff","patch_url":"https://github.com/babel/babel/pull/3277.patch","issue_url":"https://api.github.com/repos/babel/babel/issues/3277","number":3277,"state":"open","locked":false,"title":"Use project-local gulp binstub rather than system gulp","user":{"login":"charliesome","id":179065,"avatar_url":"https://avatars.githubusercontent.com/u/179065?v=3","gravatar_id":"","url":"https://api.github.com/users/charliesome","html_url":"https://github.com/charliesome","followers_url":"https://api.github.com/users/charliesome/followers","following_url":"https://api.github.com/users/charliesome/following{/other_user}","gists_url":"https://api.github.com/users/charliesome/gists{/gist_id}","starred_url":"https://api.github.com/users/charliesome/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/charliesome/subscriptions","organizations_url":"https://api.github.com/users/charliesome/orgs","repos_url":"https://api.github.com/users/charliesome/repos","events_url":"https://api.github.com/users/charliesome/events{/privacy}","received_events_url":"https://api.github.com/users/charliesome/received_events","type":"User","site_admin":true},"body":"The Makefile's `build`, `watch`, and `test-cov` targets currently assume that a `gulp` binary exists on `PATH`. If `node_modules/.bin/` is not on `PATH`, this will either use a globally installed `gulp` binary if one exists, or it'll fail:\r\n\r\n```\r\nλ make build\r\nrm -rf packages/*/test/tmp\r\nrm -rf packages/*/test-fixtures.json\r\nrm -rf packages/babel-polyfill/browser*\r\nrm -rf coverage\r\nrm -rf packages/*/npm-debug*\r\n.node_modules/bin/gulp build\r\nmake: .node_modules/bin/gulp: No such file or directory\r\nmake: *** [build] Error 1\r\n```\r\n\r\nThis pull request updates `gulp` invocations in the Makefile to invoke the `gulp` binstub under `node_modules/.bin/` instead. This has the added benefit of ensuring the correct version of gulp is invoked as per `package.json`.","created_at":"2016-01-18T12:13:26Z","updated_at":"2016-01-18T12:13:26Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/babel/babel/pulls/3277/commits","review_comments_url":"https://api.github.com/repos/babel/babel/pulls/3277/comments","review_comment_url":"https://api.github.com/repos/babel/babel/pulls/comments{/number}","comments_url":"https://api.github.com/repos/babel/babel/issues/3277/comments","statuses_url":"https://api.github.com/repos/babel/babel/statuses/00f72f47354fa3bb23b89bef805cdf2f03bcf873","head":{"label":"charliesome:gulp-binstub","ref":"gulp-binstub","sha":"00f72f47354fa3bb23b89bef805cdf2f03bcf873","user":{"login":"charliesome","id":179065,"avatar_url":"https://avatars.githubusercontent.com/u/179065?v=3","gravatar_id":"","url":"https://api.github.com/users/charliesome","html_url":"https://github.com/charliesome","followers_url":"https://api.github.com/users/charliesome/followers","following_url":"https://api.github.com/users/charliesome/following{/other_user}","gists_url":"https://api.github.com/users/charliesome/gists{/gist_id}","starred_url":"https://api.github.com/users/charliesome/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/charliesome/subscriptions","organizations_url":"https://api.github.com/users/charliesome/orgs","repos_url":"https://api.github.com/users/charliesome/repos","events_url":"https://api.github.com/users/charliesome/events{/privacy}","received_events_url":"https://api.github.com/users/charliesome/received_events","type":"User","site_admin":true},"repo":{"id":49874317,"name":"babel","full_name":"charliesome/babel","owner":{"login":"charliesome","id":179065,"avatar_url":"https://avatars.githubusercontent.com/u/179065?v=3","gravatar_id":"","url":"https://api.github.com/users/charliesome","html_url":"https://github.com/charliesome","followers_url":"https://api.github.com/users/charliesome/followers","following_url":"https://api.github.com/users/charliesome/following{/other_user}","gists_url":"https://api.github.com/users/charliesome/gists{/gist_id}","starred_url":"https://api.github.com/users/charliesome/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/charliesome/subscriptions","organizations_url":"https://api.github.com/users/charliesome/orgs","repos_url":"https://api.github.com/users/charliesome/repos","events_url":"https://api.github.com/users/charliesome/events{/privacy}","received_events_url":"https://api.github.com/users/charliesome/received_events","type":"User","site_admin":true},"private":false,"html_url":"https://github.com/charliesome/babel","description":"Babel is a compiler for writing next generation JavaScript.","fork":true,"url":"https://api.github.com/repos/charliesome/babel","forks_url":"https://api.github.com/repos/charliesome/babel/forks","keys_url":"https://api.github.com/repos/charliesome/babel/keys{/key_id}","collaborators_url":"https://api.github.com/repos/charliesome/babel/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/charliesome/babel/teams","hooks_url":"https://api.github.com/repos/charliesome/babel/hooks","issue_events_url":"https://api.github.com/repos/charliesome/babel/issues/events{/number}","events_url":"https://api.github.com/repos/charliesome/babel/events","assignees_url":"https://api.github.com/repos/charliesome/babel/assignees{/user}","branches_url":"https://api.github.com/repos/charliesome/babel/branches{/branch}","tags_url":"https://api.github.com/repos/charliesome/babel/tags","blobs_url":"https://api.github.com/repos/charliesome/babel/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/charliesome/babel/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/charliesome/babel/git/refs{/sha}","trees_url":"https://api.github.com/repos/charliesome/babel/git/trees{/sha}","statuses_url":"https://api.github.com/repos/charliesome/babel/statuses/{sha}","languages_url":"https://api.github.com/repos/charliesome/babel/languages","stargazers_url":"https://api.github.com/repos/charliesome/babel/stargazers","contributors_url":"https://api.github.com/repos/charliesome/babel/contributors","subscribers_url":"https://api.github.com/repos/charliesome/babel/subscribers","subscription_url":"https://api.github.com/repos/charliesome/babel/subscription","commits_url":"https://api.github.com/repos/charliesome/babel/commits{/sha}","git_commits_url":"https://api.github.com/repos/charliesome/babel/git/commits{/sha}","comments_url":"https://api.github.com/repos/charliesome/babel/comments{/number}","issue_comment_url":"https://api.github.com/repos/charliesome/babel/issues/comments{/number}","contents_url":"https://api.github.com/repos/charliesome/babel/contents/{+path}","compare_url":"https://api.github.com/repos/charliesome/babel/compare/{base}...{head}","merges_url":"https://api.github.com/repos/charliesome/babel/merges","archive_url":"https://api.github.com/repos/charliesome/babel/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/charliesome/babel/downloads","issues_url":"https://api.github.com/repos/charliesome/babel/issues{/number}","pulls_url":"https://api.github.com/repos/charliesome/babel/pulls{/number}","milestones_url":"https://api.github.com/repos/charliesome/babel/milestones{/number}","notifications_url":"https://api.github.com/repos/charliesome/babel/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/charliesome/babel/labels{/name}","releases_url":"https://api.github.com/repos/charliesome/babel/releases{/id}","created_at":"2016-01-18T12:08:20Z","updated_at":"2016-01-18T12:08:29Z","pushed_at":"2016-01-18T12:09:57Z","git_url":"git://github.com/charliesome/babel.git","ssh_url":"git@github.com:charliesome/babel.git","clone_url":"https://github.com/charliesome/babel.git","svn_url":"https://github.com/charliesome/babel","homepage":"https://babeljs.io/","size":12889,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"babel:master","ref":"master","sha":"d8c3ad0d6387b17305c1d48be3ecbb6ddc89eb28","user":{"login":"babel","id":9637642,"avatar_url":"https://avatars.githubusercontent.com/u/9637642?v=3","gravatar_id":"","url":"https://api.github.com/users/babel","html_url":"https://github.com/babel","followers_url":"https://api.github.com/users/babel/followers","following_url":"https://api.github.com/users/babel/following{/other_user}","gists_url":"https://api.github.com/users/babel/gists{/gist_id}","starred_url":"https://api.github.com/users/babel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/babel/subscriptions","organizations_url":"https://api.github.com/users/babel/orgs","repos_url":"https://api.github.com/users/babel/repos","events_url":"https://api.github.com/users/babel/events{/privacy}","received_events_url":"https://api.github.com/users/babel/received_events","type":"Organization","site_admin":false},"repo":{"id":24560307,"name":"babel","full_name":"babel/babel","owner":{"login":"babel","id":9637642,"avatar_url":"https://avatars.githubusercontent.com/u/9637642?v=3","gravatar_id":"","url":"https://api.github.com/users/babel","html_url":"https://github.com/babel","followers_url":"https://api.github.com/users/babel/followers","following_url":"https://api.github.com/users/babel/following{/other_user}","gists_url":"https://api.github.com/users/babel/gists{/gist_id}","starred_url":"https://api.github.com/users/babel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/babel/subscriptions","organizations_url":"https://api.github.com/users/babel/orgs","repos_url":"https://api.github.com/users/babel/repos","events_url":"https://api.github.com/users/babel/events{/privacy}","received_events_url":"https://api.github.com/users/babel/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/babel/babel","description":"Babel is a compiler for writing next generation JavaScript.","fork":false,"url":"https://api.github.com/repos/babel/babel","forks_url":"https://api.github.com/repos/babel/babel/forks","keys_url":"https://api.github.com/repos/babel/babel/keys{/key_id}","collaborators_url":"https://api.github.com/repos/babel/babel/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/babel/babel/teams","hooks_url":"https://api.github.com/repos/babel/babel/hooks","issue_events_url":"https://api.github.com/repos/babel/babel/issues/events{/number}","events_url":"https://api.github.com/repos/babel/babel/events","assignees_url":"https://api.github.com/repos/babel/babel/assignees{/user}","branches_url":"https://api.github.com/repos/babel/babel/branches{/branch}","tags_url":"https://api.github.com/repos/babel/babel/tags","blobs_url":"https://api.github.com/repos/babel/babel/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/babel/babel/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/babel/babel/git/refs{/sha}","trees_url":"https://api.github.com/repos/babel/babel/git/trees{/sha}","statuses_url":"https://api.github.com/repos/babel/babel/statuses/{sha}","languages_url":"https://api.github.com/repos/babel/babel/languages","stargazers_url":"https://api.github.com/repos/babel/babel/stargazers","contributors_url":"https://api.github.com/repos/babel/babel/contributors","subscribers_url":"https://api.github.com/repos/babel/babel/subscribers","subscription_url":"https://api.github.com/repos/babel/babel/subscription","commits_url":"https://api.github.com/repos/babel/babel/commits{/sha}","git_commits_url":"https://api.github.com/repos/babel/babel/git/commits{/sha}","comments_url":"https://api.github.com/repos/babel/babel/comments{/number}","issue_comment_url":"https://api.github.com/repos/babel/babel/issues/comments{/number}","contents_url":"https://api.github.com/repos/babel/babel/contents/{+path}","compare_url":"https://api.github.com/repos/babel/babel/compare/{base}...{head}","merges_url":"https://api.github.com/repos/babel/babel/merges","archive_url":"https://api.github.com/repos/babel/babel/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/babel/babel/downloads","issues_url":"https://api.github.com/repos/babel/babel/issues{/number}","pulls_url":"https://api.github.com/repos/babel/babel/pulls{/number}","milestones_url":"https://api.github.com/repos/babel/babel/milestones{/number}","notifications_url":"https://api.github.com/repos/babel/babel/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/babel/babel/labels{/name}","releases_url":"https://api.github.com/repos/babel/babel/releases{/id}","created_at":"2014-09-28T13:38:23Z","updated_at":"2016-01-18T11:59:04Z","pushed_at":"2016-01-18T12:13:26Z","git_url":"git://github.com/babel/babel.git","ssh_url":"git@github.com:babel/babel.git","clone_url":"https://github.com/babel/babel.git","svn_url":"https://github.com/babel/babel","homepage":"https://babeljs.io/","size":13605,"stargazers_count":13132,"watchers_count":13132,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":833,"mirror_url":null,"open_issues_count":186,"forks":833,"open_issues":186,"watchers":13132,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/babel/babel/pulls/3277"},"html":{"href":"https://github.com/babel/babel/pull/3277"},"issue":{"href":"https://api.github.com/repos/babel/babel/issues/3277"},"comments":{"href":"https://api.github.com/repos/babel/babel/issues/3277/comments"},"review_comments":{"href":"https://api.github.com/repos/babel/babel/pulls/3277/comments"},"review_comment":{"href":"https://api.github.com/repos/babel/babel/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/babel/babel/pulls/3277/commits"},"statuses":{"href":"https://api.github.com/repos/babel/babel/statuses/00f72f47354fa3bb23b89bef805cdf2f03bcf873"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":3,"deletions":3,"changed_files":1}}