{"action":"created","issue":{"url":"https://api.github.com/repos/nrwl/nx/issues/602","repository_url":"https://api.github.com/repos/nrwl/nx","labels_url":"https://api.github.com/repos/nrwl/nx/issues/602/labels{/name}","comments_url":"https://api.github.com/repos/nrwl/nx/issues/602/comments","events_url":"https://api.github.com/repos/nrwl/nx/issues/602/events","html_url":"https://github.com/nrwl/nx/issues/602","id":335009523,"node_id":"MDU6SXNzdWUzMzUwMDk1MjM=","number":602,"title":"Importing a publishable library into another publishable library fails","user":{"login":"Singularity222","id":974296,"node_id":"MDQ6VXNlcjk3NDI5Ng==","avatar_url":"https://avatars3.githubusercontent.com/u/974296?v=4","gravatar_id":"","url":"https://api.github.com/users/Singularity222","html_url":"https://github.com/Singularity222","followers_url":"https://api.github.com/users/Singularity222/followers","following_url":"https://api.github.com/users/Singularity222/following{/other_user}","gists_url":"https://api.github.com/users/Singularity222/gists{/gist_id}","starred_url":"https://api.github.com/users/Singularity222/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Singularity222/subscriptions","organizations_url":"https://api.github.com/users/Singularity222/orgs","repos_url":"https://api.github.com/users/Singularity222/repos","events_url":"https://api.github.com/users/Singularity222/events{/privacy}","received_events_url":"https://api.github.com/users/Singularity222/received_events","type":"User","site_admin":false},"labels":[{"id":717145942,"node_id":"MDU6TGFiZWw3MTcxNDU5NDI=","url":"https://api.github.com/repos/nrwl/nx/labels/blocked:%20repro%20needed","name":"blocked: repro needed","color":"f9d0c4","default":false},{"id":666969767,"node_id":"MDU6TGFiZWw2NjY5Njk3Njc=","url":"https://api.github.com/repos/nrwl/nx/labels/type:%20bug","name":"type: bug","color":"e99695","default":false}],"state":"open","locked":false,"assignee":{"login":"bcabanes","id":3447705,"node_id":"MDQ6VXNlcjM0NDc3MDU=","avatar_url":"https://avatars3.githubusercontent.com/u/3447705?v=4","gravatar_id":"","url":"https://api.github.com/users/bcabanes","html_url":"https://github.com/bcabanes","followers_url":"https://api.github.com/users/bcabanes/followers","following_url":"https://api.github.com/users/bcabanes/following{/other_user}","gists_url":"https://api.github.com/users/bcabanes/gists{/gist_id}","starred_url":"https://api.github.com/users/bcabanes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bcabanes/subscriptions","organizations_url":"https://api.github.com/users/bcabanes/orgs","repos_url":"https://api.github.com/users/bcabanes/repos","events_url":"https://api.github.com/users/bcabanes/events{/privacy}","received_events_url":"https://api.github.com/users/bcabanes/received_events","type":"User","site_admin":false},"assignees":[{"login":"bcabanes","id":3447705,"node_id":"MDQ6VXNlcjM0NDc3MDU=","avatar_url":"https://avatars3.githubusercontent.com/u/3447705?v=4","gravatar_id":"","url":"https://api.github.com/users/bcabanes","html_url":"https://github.com/bcabanes","followers_url":"https://api.github.com/users/bcabanes/followers","following_url":"https://api.github.com/users/bcabanes/following{/other_user}","gists_url":"https://api.github.com/users/bcabanes/gists{/gist_id}","starred_url":"https://api.github.com/users/bcabanes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bcabanes/subscriptions","organizations_url":"https://api.github.com/users/bcabanes/orgs","repos_url":"https://api.github.com/users/bcabanes/repos","events_url":"https://api.github.com/users/bcabanes/events{/privacy}","received_events_url":"https://api.github.com/users/bcabanes/received_events","type":"User","site_admin":false}],"milestone":null,"comments":29,"created_at":"2018-06-22T20:29:45Z","updated_at":"2018-11-19T08:01:02Z","closed_at":null,"author_association":"NONE","body":"I've been working on a proof of concept using nx extensions. What I'd like to do is create multiple publishable libraries that will be hosted in an npm feed. In addition, the nx-workspace contains an app that would import these libraries.\r\n\r\nSo I have Lib1, Lib2, and Lib3. Lib1 contains core components + services. Lib2 imports Lib1 to use some of those dumb components. Finally, Lib2 is imported into the application in the workspace. Running the application and this all works correctly. I see my dumb components from Lib1 working correctly inside my Lib2 components. However, when I build Lib2 using \"ng build Lib2\" (which imports Lib1) to get it ready for publish on an npm feed, I get the following error: \r\n\r\nFile 'lib1.module.ts' is not under 'rootDir' 'lib2\\src'. 'rootDir' is expected to contain all source files.\r\n\r\nFrom doing research on the topic, it seems like this is an issue with ng-packgr potentially? Is importing one publishable library into another supported in an nx-workspace?\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/nrwl/nx/issues/comments/439802920","html_url":"https://github.com/nrwl/nx/issues/602#issuecomment-439802920","issue_url":"https://api.github.com/repos/nrwl/nx/issues/602","id":439802920,"node_id":"MDEyOklzc3VlQ29tbWVudDQzOTgwMjkyMA==","user":{"login":"marcopetreri","id":42040690,"node_id":"MDQ6VXNlcjQyMDQwNjkw","avatar_url":"https://avatars0.githubusercontent.com/u/42040690?v=4","gravatar_id":"","url":"https://api.github.com/users/marcopetreri","html_url":"https://github.com/marcopetreri","followers_url":"https://api.github.com/users/marcopetreri/followers","following_url":"https://api.github.com/users/marcopetreri/following{/other_user}","gists_url":"https://api.github.com/users/marcopetreri/gists{/gist_id}","starred_url":"https://api.github.com/users/marcopetreri/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marcopetreri/subscriptions","organizations_url":"https://api.github.com/users/marcopetreri/orgs","repos_url":"https://api.github.com/users/marcopetreri/repos","events_url":"https://api.github.com/users/marcopetreri/events{/privacy}","received_events_url":"https://api.github.com/users/marcopetreri/received_events","type":"User","site_admin":false},"created_at":"2018-11-19T08:01:02Z","updated_at":"2018-11-19T08:01:02Z","author_association":"NONE","body":"Any news about this issue?"}}
{"actor":{"display_login":"marcopetreri"}}