{"action":"opened","issue":{"url":"https://api.github.com/repos/stealjs/system-bower/issues/25","repository_url":"https://api.github.com/repos/stealjs/system-bower","labels_url":"https://api.github.com/repos/stealjs/system-bower/issues/25/labels{/name}","comments_url":"https://api.github.com/repos/stealjs/system-bower/issues/25/comments","events_url":"https://api.github.com/repos/stealjs/system-bower/issues/25/events","html_url":"https://github.com/stealjs/system-bower/issues/25","id":183965518,"number":25,"title":"Root bowerIgnore should be persisted when parsing dependent bower.json","user":{"login":"matthewp","id":361671,"avatar_url":"https://avatars.githubusercontent.com/u/361671?v=3","gravatar_id":"","url":"https://api.github.com/users/matthewp","html_url":"https://github.com/matthewp","followers_url":"https://api.github.com/users/matthewp/followers","following_url":"https://api.github.com/users/matthewp/following{/other_user}","gists_url":"https://api.github.com/users/matthewp/gists{/gist_id}","starred_url":"https://api.github.com/users/matthewp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matthewp/subscriptions","organizations_url":"https://api.github.com/users/matthewp/orgs","repos_url":"https://api.github.com/users/matthewp/repos","events_url":"https://api.github.com/users/matthewp/events{/privacy}","received_events_url":"https://api.github.com/users/matthewp/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-10-19T13:43:43Z","updated_at":"2016-10-19T13:43:43Z","closed_at":null,"body":"@jcavanagh commented on [Thu Jul 09 2015](https://github.com/stealjs/steal/issues/445)\n\nWhen using the bowerIgnore feature, bad bower.json requests still occur if a bower dependency also references the ignored dependency in their own bower.json file.  \r\n\r\nThis seems to happen because the bower plugin reads each bower.json individually, and it's obviously not going to find a system.bowerIgnore section in a dependency's bower.json.  So, it seems the bower plugin should apply the root bowerIgnore all the way down the dependency chain as well.  \n\n---\n\n@matthewp commented on [Wed Jul 15 2015](https://github.com/stealjs/steal/issues/445#issuecomment-121682498)\n\nI think I understand what you are saying.  Let me know if this is correct:\r\n\r\n### root bower.json\r\n```json\r\n{\r\n  \"dependencies\": {\r\n    \"a\": \"0.0.1\",\r\n    \"b\": \"0.0.1\"\r\n  },\r\n  \"system\": {\r\n     \"bowerIgnore\": [\"b\"]\r\n  }\r\n}\r\n```\r\n\r\n### a bower.json\r\n```json\r\n{\r\n  \"dependencies\": {\r\n    \"b\": \"0.0.1\"\r\n  }\r\n}\r\n```\r\n\r\nb's bower.json will still be fetched.  Is this the problem you are describing?\n\n---\n\n@jcavanagh commented on [Wed Jul 15 2015](https://github.com/stealjs/steal/issues/445#issuecomment-121686636)\n\nYes, indeed - that is correct.\n\n"}}
{"actor":{"display_login":"matthewp"}}