{"action":"created","issue":{"url":"https://api.github.com/repos/duojs/duo/issues/499","labels_url":"https://api.github.com/repos/duojs/duo/issues/499/labels{/name}","comments_url":"https://api.github.com/repos/duojs/duo/issues/499/comments","events_url":"https://api.github.com/repos/duojs/duo/issues/499/events","html_url":"https://github.com/duojs/duo/issues/499","id":105087774,"number":499,"title":"Duo not importing a repo with a component.json","user":{"login":"ismay","id":7355199,"avatar_url":"https://avatars.githubusercontent.com/u/7355199?v=3","gravatar_id":"","url":"https://api.github.com/users/ismay","html_url":"https://github.com/ismay","followers_url":"https://api.github.com/users/ismay/followers","following_url":"https://api.github.com/users/ismay/following{/other_user}","gists_url":"https://api.github.com/users/ismay/gists{/gist_id}","starred_url":"https://api.github.com/users/ismay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ismay/subscriptions","organizations_url":"https://api.github.com/users/ismay/orgs","repos_url":"https://api.github.com/users/ismay/repos","events_url":"https://api.github.com/users/ismay/events{/privacy}","received_events_url":"https://api.github.com/users/ismay/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-09-06T11:21:23Z","updated_at":"2015-09-06T16:07:16Z","closed_at":"2015-09-06T15:32:33Z","body":"A component.json file was recently added to [PhotoSwipe](https://github.com/dimsemenov/PhotoSwipe/blob/master/component.json). As far as I can tell it conforms to the component.json spec, and PhotoSwipe has a commonjs export defined.\r\n\r\nPhotoswipe doesn't have an `index.js` entry point, but the `dist/photoswipe.js` entry point *is* defined in the `main` key of it's `component.json`. The weird thing is that when I [require photoswipe](https://github.com/ismay/ismaywolff.nl/blob/gallery/src/js/index.js#L5), it gets downloaded to my `components` folder, but it isn't included in `duo.json`.\r\n\r\nSo after the build `PhotoSwipe` is `undefined` in `index.js`. Am I doing something wrong here, or is Duo not importing PhotoSwipe correctly?\r\n\r\nBranch with demonstration of the problem: https://github.com/ismay/ismaywolff.nl/commit/67831fb6ffe45ee6982aa0884ce9b81c08c86e3e"},"comment":{"url":"https://api.github.com/repos/duojs/duo/issues/comments/138095542","html_url":"https://github.com/duojs/duo/issues/499#issuecomment-138095542","issue_url":"https://api.github.com/repos/duojs/duo/issues/499","id":138095542,"user":{"login":"ismay","id":7355199,"avatar_url":"https://avatars.githubusercontent.com/u/7355199?v=3","gravatar_id":"","url":"https://api.github.com/users/ismay","html_url":"https://github.com/ismay","followers_url":"https://api.github.com/users/ismay/followers","following_url":"https://api.github.com/users/ismay/following{/other_user}","gists_url":"https://api.github.com/users/ismay/gists{/gist_id}","starred_url":"https://api.github.com/users/ismay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ismay/subscriptions","organizations_url":"https://api.github.com/users/ismay/orgs","repos_url":"https://api.github.com/users/ismay/repos","events_url":"https://api.github.com/users/ismay/events{/privacy}","received_events_url":"https://api.github.com/users/ismay/received_events","type":"User","site_admin":false},"created_at":"2015-09-06T16:07:16Z","updated_at":"2015-09-06T16:07:16Z","body":"Ah of course, that makes sense. Thanks for the help!"}}