{"action":"created","issue":{"url":"https://api.github.com/repos/taptapship/wiredep/issues/149","labels_url":"https://api.github.com/repos/taptapship/wiredep/issues/149/labels{/name}","comments_url":"https://api.github.com/repos/taptapship/wiredep/issues/149/comments","events_url":"https://api.github.com/repos/taptapship/wiredep/issues/149/events","html_url":"https://github.com/taptapship/wiredep/issues/149","id":53664826,"number":149,"title":"Respect 'overrides' defined in dependencies","user":{"login":"xaka","id":504813,"avatar_url":"https://avatars.githubusercontent.com/u/504813?v=3","gravatar_id":"","url":"https://api.github.com/users/xaka","html_url":"https://github.com/xaka","followers_url":"https://api.github.com/users/xaka/followers","following_url":"https://api.github.com/users/xaka/following{/other_user}","gists_url":"https://api.github.com/users/xaka/gists{/gist_id}","starred_url":"https://api.github.com/users/xaka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xaka/subscriptions","organizations_url":"https://api.github.com/users/xaka/orgs","repos_url":"https://api.github.com/users/xaka/repos","events_url":"https://api.github.com/users/xaka/events{/privacy}","received_events_url":"https://api.github.com/users/xaka/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-01-07T18:31:33Z","updated_at":"2015-01-08T17:49:39Z","closed_at":null,"body":"Let's say we have **Package A** with the following `bower.json`:\r\n\r\n```\r\n \"overrides\": {\r\n   \"crypto-js\": {\r\n     \"main\": [\r\n       \"rollups/hmac-sha1.js\",\r\n       \"components/enc-base64.js\"\r\n     ]\r\n   }\r\n }\r\n```\r\n\r\nAnd **Package B** which uses **Package A** as a dependency. When I use `wiredep` inside **Package B** directory, I'm NOT getting files mentioned in `overrides` above.\r\n\r\nAt the same time when I use `wiredep` inside **Package A** directory, everything works as expected.\r\n\r\nI'd say it's a bug because I have to maintain `overrides` section across multiple packages, which is very annoying for lazy people :)"},"comment":{"url":"https://api.github.com/repos/taptapship/wiredep/issues/comments/69218624","html_url":"https://github.com/taptapship/wiredep/issues/149#issuecomment-69218624","issue_url":"https://api.github.com/repos/taptapship/wiredep/issues/149","id":69218624,"user":{"login":"xaka","id":504813,"avatar_url":"https://avatars.githubusercontent.com/u/504813?v=3","gravatar_id":"","url":"https://api.github.com/users/xaka","html_url":"https://github.com/xaka","followers_url":"https://api.github.com/users/xaka/followers","following_url":"https://api.github.com/users/xaka/following{/other_user}","gists_url":"https://api.github.com/users/xaka/gists{/gist_id}","starred_url":"https://api.github.com/users/xaka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xaka/subscriptions","organizations_url":"https://api.github.com/users/xaka/orgs","repos_url":"https://api.github.com/users/xaka/repos","events_url":"https://api.github.com/users/xaka/events{/privacy}","received_events_url":"https://api.github.com/users/xaka/received_events","type":"User","site_admin":false},"created_at":"2015-01-08T17:49:39Z","updated_at":"2015-01-08T17:49:39Z","body":"I mean the directory, which contains `bower.js` file."}}