{"action":"opened","number":686,"pull_request":{"url":"https://api.github.com/repos/facebook/flow/pulls/686","id":41399099,"html_url":"https://github.com/facebook/flow/pull/686","diff_url":"https://github.com/facebook/flow/pull/686.diff","patch_url":"https://github.com/facebook/flow/pull/686.patch","issue_url":"https://api.github.com/repos/facebook/flow/issues/686","number":686,"state":"open","locked":false,"title":"Flat module system (.flowconfig root~baseUrl)","user":{"login":"popham","id":1271170,"avatar_url":"https://avatars.githubusercontent.com/u/1271170?v=3","gravatar_id":"","url":"https://api.github.com/users/popham","html_url":"https://github.com/popham","followers_url":"https://api.github.com/users/popham/followers","following_url":"https://api.github.com/users/popham/following{/other_user}","gists_url":"https://api.github.com/users/popham/gists{/gist_id}","starred_url":"https://api.github.com/users/popham/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/popham/subscriptions","organizations_url":"https://api.github.com/users/popham/orgs","repos_url":"https://api.github.com/users/popham/repos","events_url":"https://api.github.com/users/popham/events{/privacy}","received_events_url":"https://api.github.com/users/popham/received_events","type":"User","site_admin":false},"body":"This is a trivial module system intended for use with ES6 modules.  Dump all of your libraries in a directory with a .flowconfig, and you can import with absolute paths.  There's no configuration and/or magic to facilitate single word imports, e.g. `import \"someLib\";` will look for `someLib.js` in the .flowconfig root.","created_at":"2015-08-01T09:02:13Z","updated_at":"2015-08-01T09:02:13Z","closed_at":null,"merged_at":null,"merge_commit_sha":"45893d64fbcf26e31f43c6598e5473261698a9bf","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/facebook/flow/pulls/686/commits","review_comments_url":"https://api.github.com/repos/facebook/flow/pulls/686/comments","review_comment_url":"https://api.github.com/repos/facebook/flow/pulls/comments{/number}","comments_url":"https://api.github.com/repos/facebook/flow/issues/686/comments","statuses_url":"https://api.github.com/repos/facebook/flow/statuses/8732a9914935c1e0fd52f77d0f07fd0a726e44ce","head":{"label":"popham:flat-modules","ref":"flat-modules","sha":"8732a9914935c1e0fd52f77d0f07fd0a726e44ce","user":{"login":"popham","id":1271170,"avatar_url":"https://avatars.githubusercontent.com/u/1271170?v=3","gravatar_id":"","url":"https://api.github.com/users/popham","html_url":"https://github.com/popham","followers_url":"https://api.github.com/users/popham/followers","following_url":"https://api.github.com/users/popham/following{/other_user}","gists_url":"https://api.github.com/users/popham/gists{/gist_id}","starred_url":"https://api.github.com/users/popham/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/popham/subscriptions","organizations_url":"https://api.github.com/users/popham/orgs","repos_url":"https://api.github.com/users/popham/repos","events_url":"https://api.github.com/users/popham/events{/privacy}","received_events_url":"https://api.github.com/users/popham/received_events","type":"User","site_admin":false},"repo":{"id":34128437,"name":"flow","full_name":"popham/flow","owner":{"login":"popham","id":1271170,"avatar_url":"https://avatars.githubusercontent.com/u/1271170?v=3","gravatar_id":"","url":"https://api.github.com/users/popham","html_url":"https://github.com/popham","followers_url":"https://api.github.com/users/popham/followers","following_url":"https://api.github.com/users/popham/following{/other_user}","gists_url":"https://api.github.com/users/popham/gists{/gist_id}","starred_url":"https://api.github.com/users/popham/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/popham/subscriptions","organizations_url":"https://api.github.com/users/popham/orgs","repos_url":"https://api.github.com/users/popham/repos","events_url":"https://api.github.com/users/popham/events{/privacy}","received_events_url":"https://api.github.com/users/popham/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/popham/flow","description":"Adds static typing to JavaScript to improve developer productivity and code quality.","fork":true,"url":"https://api.github.com/repos/popham/flow","forks_url":"https://api.github.com/repos/popham/flow/forks","keys_url":"https://api.github.com/repos/popham/flow/keys{/key_id}","collaborators_url":"https://api.github.com/repos/popham/flow/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/popham/flow/teams","hooks_url":"https://api.github.com/repos/popham/flow/hooks","issue_events_url":"https://api.github.com/repos/popham/flow/issues/events{/number}","events_url":"https://api.github.com/repos/popham/flow/events","assignees_url":"https://api.github.com/repos/popham/flow/assignees{/user}","branches_url":"https://api.github.com/repos/popham/flow/branches{/branch}","tags_url":"https://api.github.com/repos/popham/flow/tags","blobs_url":"https://api.github.com/repos/popham/flow/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/popham/flow/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/popham/flow/git/refs{/sha}","trees_url":"https://api.github.com/repos/popham/flow/git/trees{/sha}","statuses_url":"https://api.github.com/repos/popham/flow/statuses/{sha}","languages_url":"https://api.github.com/repos/popham/flow/languages","stargazers_url":"https://api.github.com/repos/popham/flow/stargazers","contributors_url":"https://api.github.com/repos/popham/flow/contributors","subscribers_url":"https://api.github.com/repos/popham/flow/subscribers","subscription_url":"https://api.github.com/repos/popham/flow/subscription","commits_url":"https://api.github.com/repos/popham/flow/commits{/sha}","git_commits_url":"https://api.github.com/repos/popham/flow/git/commits{/sha}","comments_url":"https://api.github.com/repos/popham/flow/comments{/number}","issue_comment_url":"https://api.github.com/repos/popham/flow/issues/comments{/number}","contents_url":"https://api.github.com/repos/popham/flow/contents/{+path}","compare_url":"https://api.github.com/repos/popham/flow/compare/{base}...{head}","merges_url":"https://api.github.com/repos/popham/flow/merges","archive_url":"https://api.github.com/repos/popham/flow/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/popham/flow/downloads","issues_url":"https://api.github.com/repos/popham/flow/issues{/number}","pulls_url":"https://api.github.com/repos/popham/flow/pulls{/number}","milestones_url":"https://api.github.com/repos/popham/flow/milestones{/number}","notifications_url":"https://api.github.com/repos/popham/flow/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/popham/flow/labels{/name}","releases_url":"https://api.github.com/repos/popham/flow/releases{/id}","created_at":"2015-04-17T16:46:26Z","updated_at":"2015-04-17T16:46:27Z","pushed_at":"2015-08-01T08:49:01Z","git_url":"git://github.com/popham/flow.git","ssh_url":"git@github.com:popham/flow.git","clone_url":"https://github.com/popham/flow.git","svn_url":"https://github.com/popham/flow","homepage":"http://flowtype.org/","size":87344,"stargazers_count":0,"watchers_count":0,"language":"OCaml","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"facebook:master","ref":"master","sha":"a2ca7185c3abbf4c16ed13e6f3be7dfd07252c67","user":{"login":"facebook","id":69631,"avatar_url":"https://avatars.githubusercontent.com/u/69631?v=3","gravatar_id":"","url":"https://api.github.com/users/facebook","html_url":"https://github.com/facebook","followers_url":"https://api.github.com/users/facebook/followers","following_url":"https://api.github.com/users/facebook/following{/other_user}","gists_url":"https://api.github.com/users/facebook/gists{/gist_id}","starred_url":"https://api.github.com/users/facebook/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/facebook/subscriptions","organizations_url":"https://api.github.com/users/facebook/orgs","repos_url":"https://api.github.com/users/facebook/repos","events_url":"https://api.github.com/users/facebook/events{/privacy}","received_events_url":"https://api.github.com/users/facebook/received_events","type":"Organization","site_admin":false},"repo":{"id":25880891,"name":"flow","full_name":"facebook/flow","owner":{"login":"facebook","id":69631,"avatar_url":"https://avatars.githubusercontent.com/u/69631?v=3","gravatar_id":"","url":"https://api.github.com/users/facebook","html_url":"https://github.com/facebook","followers_url":"https://api.github.com/users/facebook/followers","following_url":"https://api.github.com/users/facebook/following{/other_user}","gists_url":"https://api.github.com/users/facebook/gists{/gist_id}","starred_url":"https://api.github.com/users/facebook/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/facebook/subscriptions","organizations_url":"https://api.github.com/users/facebook/orgs","repos_url":"https://api.github.com/users/facebook/repos","events_url":"https://api.github.com/users/facebook/events{/privacy}","received_events_url":"https://api.github.com/users/facebook/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/facebook/flow","description":"Adds static typing to JavaScript to improve developer productivity and code quality.","fork":false,"url":"https://api.github.com/repos/facebook/flow","forks_url":"https://api.github.com/repos/facebook/flow/forks","keys_url":"https://api.github.com/repos/facebook/flow/keys{/key_id}","collaborators_url":"https://api.github.com/repos/facebook/flow/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/facebook/flow/teams","hooks_url":"https://api.github.com/repos/facebook/flow/hooks","issue_events_url":"https://api.github.com/repos/facebook/flow/issues/events{/number}","events_url":"https://api.github.com/repos/facebook/flow/events","assignees_url":"https://api.github.com/repos/facebook/flow/assignees{/user}","branches_url":"https://api.github.com/repos/facebook/flow/branches{/branch}","tags_url":"https://api.github.com/repos/facebook/flow/tags","blobs_url":"https://api.github.com/repos/facebook/flow/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/facebook/flow/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/facebook/flow/git/refs{/sha}","trees_url":"https://api.github.com/repos/facebook/flow/git/trees{/sha}","statuses_url":"https://api.github.com/repos/facebook/flow/statuses/{sha}","languages_url":"https://api.github.com/repos/facebook/flow/languages","stargazers_url":"https://api.github.com/repos/facebook/flow/stargazers","contributors_url":"https://api.github.com/repos/facebook/flow/contributors","subscribers_url":"https://api.github.com/repos/facebook/flow/subscribers","subscription_url":"https://api.github.com/repos/facebook/flow/subscription","commits_url":"https://api.github.com/repos/facebook/flow/commits{/sha}","git_commits_url":"https://api.github.com/repos/facebook/flow/git/commits{/sha}","comments_url":"https://api.github.com/repos/facebook/flow/comments{/number}","issue_comment_url":"https://api.github.com/repos/facebook/flow/issues/comments{/number}","contents_url":"https://api.github.com/repos/facebook/flow/contents/{+path}","compare_url":"https://api.github.com/repos/facebook/flow/compare/{base}...{head}","merges_url":"https://api.github.com/repos/facebook/flow/merges","archive_url":"https://api.github.com/repos/facebook/flow/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/facebook/flow/downloads","issues_url":"https://api.github.com/repos/facebook/flow/issues{/number}","pulls_url":"https://api.github.com/repos/facebook/flow/pulls{/number}","milestones_url":"https://api.github.com/repos/facebook/flow/milestones{/number}","notifications_url":"https://api.github.com/repos/facebook/flow/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/facebook/flow/labels{/name}","releases_url":"https://api.github.com/repos/facebook/flow/releases{/id}","created_at":"2014-10-28T17:17:45Z","updated_at":"2015-08-01T08:43:50Z","pushed_at":"2015-08-01T09:02:13Z","git_url":"git://github.com/facebook/flow.git","ssh_url":"git@github.com:facebook/flow.git","clone_url":"https://github.com/facebook/flow.git","svn_url":"https://github.com/facebook/flow","homepage":"http://flowtype.org/","size":111392,"stargazers_count":5020,"watchers_count":5020,"language":"OCaml","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":260,"mirror_url":null,"open_issues_count":215,"forks":260,"open_issues":215,"watchers":5020,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/facebook/flow/pulls/686"},"html":{"href":"https://github.com/facebook/flow/pull/686"},"issue":{"href":"https://api.github.com/repos/facebook/flow/issues/686"},"comments":{"href":"https://api.github.com/repos/facebook/flow/issues/686/comments"},"review_comments":{"href":"https://api.github.com/repos/facebook/flow/pulls/686/comments"},"review_comment":{"href":"https://api.github.com/repos/facebook/flow/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/facebook/flow/pulls/686/commits"},"statuses":{"href":"https://api.github.com/repos/facebook/flow/statuses/8732a9914935c1e0fd52f77d0f07fd0a726e44ce"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":105,"deletions":17,"changed_files":11}}