{"action":"created","issue":{"url":"https://api.github.com/repos/lerna/lerna/issues/11","repository_url":"https://api.github.com/repos/lerna/lerna","labels_url":"https://api.github.com/repos/lerna/lerna/issues/11/labels{/name}","comments_url":"https://api.github.com/repos/lerna/lerna/issues/11/comments","events_url":"https://api.github.com/repos/lerna/lerna/issues/11/events","html_url":"https://github.com/lerna/lerna/issues/11","id":125308229,"number":11,"title":"Nested directory support","user":{"login":"patrickheeney","id":1407228,"avatar_url":"https://avatars.githubusercontent.com/u/1407228?v=3","gravatar_id":"","url":"https://api.github.com/users/patrickheeney","html_url":"https://github.com/patrickheeney","followers_url":"https://api.github.com/users/patrickheeney/followers","following_url":"https://api.github.com/users/patrickheeney/following{/other_user}","gists_url":"https://api.github.com/users/patrickheeney/gists{/gist_id}","starred_url":"https://api.github.com/users/patrickheeney/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/patrickheeney/subscriptions","organizations_url":"https://api.github.com/users/patrickheeney/orgs","repos_url":"https://api.github.com/users/patrickheeney/repos","events_url":"https://api.github.com/users/patrickheeney/events{/privacy}","received_events_url":"https://api.github.com/users/patrickheeney/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/lerna/lerna/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":32,"created_at":"2016-01-07T02:28:51Z","updated_at":"2016-07-24T20:39:49Z","closed_at":null,"body":"I currently access packages like this `import { foo } from 'foo/bar';`. It seems the current bootstrap only creates `node_modules/foo/index.js` with `module.exports = require('/full/path/packages/foo');`. Thus when accessing `foo/bar`, it `Error: Cannot find module`. \r\n\r\nWhat would be the best path forward for supporting this? The only thing I can think of is to find all `*.js` paths and then create that path with matching exports. "},"comment":{"url":"https://api.github.com/repos/lerna/lerna/issues/comments/234800819","html_url":"https://github.com/lerna/lerna/issues/11#issuecomment-234800819","issue_url":"https://api.github.com/repos/lerna/lerna/issues/11","id":234800819,"user":{"login":"patrickheeney","id":1407228,"avatar_url":"https://avatars.githubusercontent.com/u/1407228?v=3","gravatar_id":"","url":"https://api.github.com/users/patrickheeney","html_url":"https://github.com/patrickheeney","followers_url":"https://api.github.com/users/patrickheeney/followers","following_url":"https://api.github.com/users/patrickheeney/following{/other_user}","gists_url":"https://api.github.com/users/patrickheeney/gists{/gist_id}","starred_url":"https://api.github.com/users/patrickheeney/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/patrickheeney/subscriptions","organizations_url":"https://api.github.com/users/patrickheeney/orgs","repos_url":"https://api.github.com/users/patrickheeney/repos","events_url":"https://api.github.com/users/patrickheeney/events{/privacy}","received_events_url":"https://api.github.com/users/patrickheeney/received_events","type":"User","site_admin":false},"created_at":"2016-07-24T20:39:49Z","updated_at":"2016-07-24T20:39:49Z","body":"This would fall under the **Symlink** section above which was tried and reverted. Those issues would likely need to be resolved in order to consider that option. "}}
{"actor":{"display_login":"patrickheeney"}}