{"action":"opened","number":5137,"pull_request":{"url":"https://api.github.com/repos/pouchdb/pouchdb/pulls/5137","id":69234763,"html_url":"https://github.com/pouchdb/pouchdb/pull/5137","diff_url":"https://github.com/pouchdb/pouchdb/pull/5137.diff","patch_url":"https://github.com/pouchdb/pouchdb/pull/5137.patch","issue_url":"https://api.github.com/repos/pouchdb/pouchdb/issues/5137","number":5137,"state":"open","locked":false,"title":"(#5128) - WIP - monorepo with separate modules","user":{"login":"nolanlawson","id":283842,"avatar_url":"https://avatars.githubusercontent.com/u/283842?v=3","gravatar_id":"","url":"https://api.github.com/users/nolanlawson","html_url":"https://github.com/nolanlawson","followers_url":"https://api.github.com/users/nolanlawson/followers","following_url":"https://api.github.com/users/nolanlawson/following{/other_user}","gists_url":"https://api.github.com/users/nolanlawson/gists{/gist_id}","starred_url":"https://api.github.com/users/nolanlawson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nolanlawson/subscriptions","organizations_url":"https://api.github.com/users/nolanlawson/orgs","repos_url":"https://api.github.com/users/nolanlawson/repos","events_url":"https://api.github.com/users/nolanlawson/events{/privacy}","received_events_url":"https://api.github.com/users/nolanlawson/received_events","type":"User","site_admin":false},"body":"This is just a work in progress to determine what's broken and what's not. It's also to provide more visibility into what I'm working on.\n\nStuff I still need to fix/address:\n\n- more APIs are exposed now on `PouchDB.utils` in order for unit/coverage tests to pass. This can be avoided potentially, e.g. via a `pouchdb-for-testing` submodule\n- reduce API surface of sub-modules (if possible? it might also not be a big deal to expose things like `PouchDB.adapter()` to users, but maybe we should avoid it)\n- version independently? also might not be a big deal, except I'm worried about breaking changes in `pouchdb-utils`\n- need PRs to Lerna and Rollup to enable the build script, currently using a fork of Lerna to make it work\n- Cordova tests broken (do we care? maybe we should remove them)\n- submodules need descriptions and READMEs\n- how to handle optional deps? I say just skip optional deps now that folks have an npm-based workaround\n- `npm run build-node` is gone, I don't even know if it's possible to resurrect","created_at":"2016-05-07T06:20:38Z","updated_at":"2016-05-07T06:20:38Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/pouchdb/pouchdb/pulls/5137/commits","review_comments_url":"https://api.github.com/repos/pouchdb/pouchdb/pulls/5137/comments","review_comment_url":"https://api.github.com/repos/pouchdb/pouchdb/pulls/comments{/number}","comments_url":"https://api.github.com/repos/pouchdb/pouchdb/issues/5137/comments","statuses_url":"https://api.github.com/repos/pouchdb/pouchdb/statuses/2c2c625a6a965c40b6016d73a8ce9e5f0babae9b","head":{"label":"pouchdb:monorepo","ref":"monorepo","sha":"2c2c625a6a965c40b6016d73a8ce9e5f0babae9b","user":{"login":"pouchdb","id":3406112,"avatar_url":"https://avatars.githubusercontent.com/u/3406112?v=3","gravatar_id":"","url":"https://api.github.com/users/pouchdb","html_url":"https://github.com/pouchdb","followers_url":"https://api.github.com/users/pouchdb/followers","following_url":"https://api.github.com/users/pouchdb/following{/other_user}","gists_url":"https://api.github.com/users/pouchdb/gists{/gist_id}","starred_url":"https://api.github.com/users/pouchdb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pouchdb/subscriptions","organizations_url":"https://api.github.com/users/pouchdb/orgs","repos_url":"https://api.github.com/users/pouchdb/repos","events_url":"https://api.github.com/users/pouchdb/events{/privacy}","received_events_url":"https://api.github.com/users/pouchdb/received_events","type":"Organization","site_admin":false},"repo":{"id":714074,"name":"pouchdb","full_name":"pouchdb/pouchdb","owner":{"login":"pouchdb","id":3406112,"avatar_url":"https://avatars.githubusercontent.com/u/3406112?v=3","gravatar_id":"","url":"https://api.github.com/users/pouchdb","html_url":"https://github.com/pouchdb","followers_url":"https://api.github.com/users/pouchdb/followers","following_url":"https://api.github.com/users/pouchdb/following{/other_user}","gists_url":"https://api.github.com/users/pouchdb/gists{/gist_id}","starred_url":"https://api.github.com/users/pouchdb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pouchdb/subscriptions","organizations_url":"https://api.github.com/users/pouchdb/orgs","repos_url":"https://api.github.com/users/pouchdb/repos","events_url":"https://api.github.com/users/pouchdb/events{/privacy}","received_events_url":"https://api.github.com/users/pouchdb/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/pouchdb/pouchdb","description":":koala: - PouchDB is a pocket-sized database.","fork":false,"url":"https://api.github.com/repos/pouchdb/pouchdb","forks_url":"https://api.github.com/repos/pouchdb/pouchdb/forks","keys_url":"https://api.github.com/repos/pouchdb/pouchdb/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pouchdb/pouchdb/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pouchdb/pouchdb/teams","hooks_url":"https://api.github.com/repos/pouchdb/pouchdb/hooks","issue_events_url":"https://api.github.com/repos/pouchdb/pouchdb/issues/events{/number}","events_url":"https://api.github.com/repos/pouchdb/pouchdb/events","assignees_url":"https://api.github.com/repos/pouchdb/pouchdb/assignees{/user}","branches_url":"https://api.github.com/repos/pouchdb/pouchdb/branches{/branch}","tags_url":"https://api.github.com/repos/pouchdb/pouchdb/tags","blobs_url":"https://api.github.com/repos/pouchdb/pouchdb/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pouchdb/pouchdb/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pouchdb/pouchdb/git/refs{/sha}","trees_url":"https://api.github.com/repos/pouchdb/pouchdb/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pouchdb/pouchdb/statuses/{sha}","languages_url":"https://api.github.com/repos/pouchdb/pouchdb/languages","stargazers_url":"https://api.github.com/repos/pouchdb/pouchdb/stargazers","contributors_url":"https://api.github.com/repos/pouchdb/pouchdb/contributors","subscribers_url":"https://api.github.com/repos/pouchdb/pouchdb/subscribers","subscription_url":"https://api.github.com/repos/pouchdb/pouchdb/subscription","commits_url":"https://api.github.com/repos/pouchdb/pouchdb/commits{/sha}","git_commits_url":"https://api.github.com/repos/pouchdb/pouchdb/git/commits{/sha}","comments_url":"https://api.github.com/repos/pouchdb/pouchdb/comments{/number}","issue_comment_url":"https://api.github.com/repos/pouchdb/pouchdb/issues/comments{/number}","contents_url":"https://api.github.com/repos/pouchdb/pouchdb/contents/{+path}","compare_url":"https://api.github.com/repos/pouchdb/pouchdb/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pouchdb/pouchdb/merges","archive_url":"https://api.github.com/repos/pouchdb/pouchdb/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pouchdb/pouchdb/downloads","issues_url":"https://api.github.com/repos/pouchdb/pouchdb/issues{/number}","pulls_url":"https://api.github.com/repos/pouchdb/pouchdb/pulls{/number}","milestones_url":"https://api.github.com/repos/pouchdb/pouchdb/milestones{/number}","notifications_url":"https://api.github.com/repos/pouchdb/pouchdb/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pouchdb/pouchdb/labels{/name}","releases_url":"https://api.github.com/repos/pouchdb/pouchdb/releases{/id}","deployments_url":"https://api.github.com/repos/pouchdb/pouchdb/deployments","created_at":"2010-06-10T18:34:24Z","updated_at":"2016-05-07T05:02:10Z","pushed_at":"2016-05-07T06:14:52Z","git_url":"git://github.com/pouchdb/pouchdb.git","ssh_url":"git@github.com:pouchdb/pouchdb.git","clone_url":"https://github.com/pouchdb/pouchdb.git","svn_url":"https://github.com/pouchdb/pouchdb","homepage":"http://pouchdb.com/","size":145661,"stargazers_count":6183,"watchers_count":6183,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":689,"mirror_url":null,"open_issues_count":149,"forks":689,"open_issues":149,"watchers":6183,"default_branch":"master"}},"base":{"label":"pouchdb:master","ref":"master","sha":"1bff5002f1ccb340086d2141a7d99ae7111cab12","user":{"login":"pouchdb","id":3406112,"avatar_url":"https://avatars.githubusercontent.com/u/3406112?v=3","gravatar_id":"","url":"https://api.github.com/users/pouchdb","html_url":"https://github.com/pouchdb","followers_url":"https://api.github.com/users/pouchdb/followers","following_url":"https://api.github.com/users/pouchdb/following{/other_user}","gists_url":"https://api.github.com/users/pouchdb/gists{/gist_id}","starred_url":"https://api.github.com/users/pouchdb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pouchdb/subscriptions","organizations_url":"https://api.github.com/users/pouchdb/orgs","repos_url":"https://api.github.com/users/pouchdb/repos","events_url":"https://api.github.com/users/pouchdb/events{/privacy}","received_events_url":"https://api.github.com/users/pouchdb/received_events","type":"Organization","site_admin":false},"repo":{"id":714074,"name":"pouchdb","full_name":"pouchdb/pouchdb","owner":{"login":"pouchdb","id":3406112,"avatar_url":"https://avatars.githubusercontent.com/u/3406112?v=3","gravatar_id":"","url":"https://api.github.com/users/pouchdb","html_url":"https://github.com/pouchdb","followers_url":"https://api.github.com/users/pouchdb/followers","following_url":"https://api.github.com/users/pouchdb/following{/other_user}","gists_url":"https://api.github.com/users/pouchdb/gists{/gist_id}","starred_url":"https://api.github.com/users/pouchdb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pouchdb/subscriptions","organizations_url":"https://api.github.com/users/pouchdb/orgs","repos_url":"https://api.github.com/users/pouchdb/repos","events_url":"https://api.github.com/users/pouchdb/events{/privacy}","received_events_url":"https://api.github.com/users/pouchdb/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/pouchdb/pouchdb","description":":koala: - PouchDB is a pocket-sized database.","fork":false,"url":"https://api.github.com/repos/pouchdb/pouchdb","forks_url":"https://api.github.com/repos/pouchdb/pouchdb/forks","keys_url":"https://api.github.com/repos/pouchdb/pouchdb/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pouchdb/pouchdb/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pouchdb/pouchdb/teams","hooks_url":"https://api.github.com/repos/pouchdb/pouchdb/hooks","issue_events_url":"https://api.github.com/repos/pouchdb/pouchdb/issues/events{/number}","events_url":"https://api.github.com/repos/pouchdb/pouchdb/events","assignees_url":"https://api.github.com/repos/pouchdb/pouchdb/assignees{/user}","branches_url":"https://api.github.com/repos/pouchdb/pouchdb/branches{/branch}","tags_url":"https://api.github.com/repos/pouchdb/pouchdb/tags","blobs_url":"https://api.github.com/repos/pouchdb/pouchdb/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pouchdb/pouchdb/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pouchdb/pouchdb/git/refs{/sha}","trees_url":"https://api.github.com/repos/pouchdb/pouchdb/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pouchdb/pouchdb/statuses/{sha}","languages_url":"https://api.github.com/repos/pouchdb/pouchdb/languages","stargazers_url":"https://api.github.com/repos/pouchdb/pouchdb/stargazers","contributors_url":"https://api.github.com/repos/pouchdb/pouchdb/contributors","subscribers_url":"https://api.github.com/repos/pouchdb/pouchdb/subscribers","subscription_url":"https://api.github.com/repos/pouchdb/pouchdb/subscription","commits_url":"https://api.github.com/repos/pouchdb/pouchdb/commits{/sha}","git_commits_url":"https://api.github.com/repos/pouchdb/pouchdb/git/commits{/sha}","comments_url":"https://api.github.com/repos/pouchdb/pouchdb/comments{/number}","issue_comment_url":"https://api.github.com/repos/pouchdb/pouchdb/issues/comments{/number}","contents_url":"https://api.github.com/repos/pouchdb/pouchdb/contents/{+path}","compare_url":"https://api.github.com/repos/pouchdb/pouchdb/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pouchdb/pouchdb/merges","archive_url":"https://api.github.com/repos/pouchdb/pouchdb/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pouchdb/pouchdb/downloads","issues_url":"https://api.github.com/repos/pouchdb/pouchdb/issues{/number}","pulls_url":"https://api.github.com/repos/pouchdb/pouchdb/pulls{/number}","milestones_url":"https://api.github.com/repos/pouchdb/pouchdb/milestones{/number}","notifications_url":"https://api.github.com/repos/pouchdb/pouchdb/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pouchdb/pouchdb/labels{/name}","releases_url":"https://api.github.com/repos/pouchdb/pouchdb/releases{/id}","deployments_url":"https://api.github.com/repos/pouchdb/pouchdb/deployments","created_at":"2010-06-10T18:34:24Z","updated_at":"2016-05-07T05:02:10Z","pushed_at":"2016-05-07T06:14:52Z","git_url":"git://github.com/pouchdb/pouchdb.git","ssh_url":"git@github.com:pouchdb/pouchdb.git","clone_url":"https://github.com/pouchdb/pouchdb.git","svn_url":"https://github.com/pouchdb/pouchdb","homepage":"http://pouchdb.com/","size":145661,"stargazers_count":6183,"watchers_count":6183,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":689,"mirror_url":null,"open_issues_count":149,"forks":689,"open_issues":149,"watchers":6183,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/pouchdb/pouchdb/pulls/5137"},"html":{"href":"https://github.com/pouchdb/pouchdb/pull/5137"},"issue":{"href":"https://api.github.com/repos/pouchdb/pouchdb/issues/5137"},"comments":{"href":"https://api.github.com/repos/pouchdb/pouchdb/issues/5137/comments"},"review_comments":{"href":"https://api.github.com/repos/pouchdb/pouchdb/pulls/5137/comments"},"review_comment":{"href":"https://api.github.com/repos/pouchdb/pouchdb/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/pouchdb/pouchdb/pulls/5137/commits"},"statuses":{"href":"https://api.github.com/repos/pouchdb/pouchdb/statuses/2c2c625a6a965c40b6016d73a8ce9e5f0babae9b"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":1683,"deletions":836,"changed_files":242}}