{"action":"opened","issue":{"url":"https://api.github.com/repos/rollup/rollup/issues/182","labels_url":"https://api.github.com/repos/rollup/rollup/issues/182/labels{/name}","comments_url":"https://api.github.com/repos/rollup/rollup/issues/182/comments","events_url":"https://api.github.com/repos/rollup/rollup/issues/182/events","html_url":"https://github.com/rollup/rollup/issues/182","id":111135089,"number":182,"title":"Can't include renamed dependencies","user":{"login":"Victorystick","id":703602,"avatar_url":"https://avatars.githubusercontent.com/u/703602?v=3","gravatar_id":"","url":"https://api.github.com/users/Victorystick","html_url":"https://github.com/Victorystick","followers_url":"https://api.github.com/users/Victorystick/followers","following_url":"https://api.github.com/users/Victorystick/following{/other_user}","gists_url":"https://api.github.com/users/Victorystick/gists{/gist_id}","starred_url":"https://api.github.com/users/Victorystick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Victorystick/subscriptions","organizations_url":"https://api.github.com/users/Victorystick/orgs","repos_url":"https://api.github.com/users/Victorystick/repos","events_url":"https://api.github.com/users/Victorystick/events{/privacy}","received_events_url":"https://api.github.com/users/Victorystick/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/rollup/rollup/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/rollup/rollup/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-10-13T08:50:39Z","updated_at":"2015-10-13T08:50:39Z","closed_at":null,"body":"This `package.json`\r\n```json\r\n{\r\n  \"dependencies\": {\r\n    \"a\": \"https://git-xyz.com/user/b.git\"\r\n  }\r\n}\r\n```\r\ncreates the following `node_modules` directory.\r\n```\r\nnode_modules/\r\n  b/\r\n```\r\n\r\nAttempting to import `a`\r\n```js\r\nimport a from 'a';\r\n```\r\nthrows:\r\n```\r\nCould not find package a\r\n```\r\n\r\nAn external `npm` resolver should take this into account."}}