{"action":"created","issue":{"url":"https://api.github.com/repos/alan-agius4/ng-mono-repo-starter/issues/53","repository_url":"https://api.github.com/repos/alan-agius4/ng-mono-repo-starter","labels_url":"https://api.github.com/repos/alan-agius4/ng-mono-repo-starter/issues/53/labels{/name}","comments_url":"https://api.github.com/repos/alan-agius4/ng-mono-repo-starter/issues/53/comments","events_url":"https://api.github.com/repos/alan-agius4/ng-mono-repo-starter/issues/53/events","html_url":"https://github.com/alan-agius4/ng-mono-repo-starter/issues/53","id":346459022,"node_id":"MDU6SXNzdWUzNDY0NTkwMjI=","number":53,"title":"Watch mode errors with '<package-1/every-file>' is not under 'rootDir' for package-2","user":{"login":"cormacrelf","id":378760,"node_id":"MDQ6VXNlcjM3ODc2MA==","avatar_url":"https://avatars3.githubusercontent.com/u/378760?v=4","gravatar_id":"","url":"https://api.github.com/users/cormacrelf","html_url":"https://github.com/cormacrelf","followers_url":"https://api.github.com/users/cormacrelf/followers","following_url":"https://api.github.com/users/cormacrelf/following{/other_user}","gists_url":"https://api.github.com/users/cormacrelf/gists{/gist_id}","starred_url":"https://api.github.com/users/cormacrelf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cormacrelf/subscriptions","organizations_url":"https://api.github.com/users/cormacrelf/orgs","repos_url":"https://api.github.com/users/cormacrelf/repos","events_url":"https://api.github.com/users/cormacrelf/events{/privacy}","received_events_url":"https://api.github.com/users/cormacrelf/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-08-01T06:01:07Z","updated_at":"2018-08-01T07:50:22Z","closed_at":"2018-08-01T07:48:58Z","author_association":"NONE","body":"Repro:\r\n\r\n```sh\r\n# clone, yarn ...\r\nyarn watch\r\n```\r\n\r\nResult: see below. When building package-2, ngc is somehow only getting paths that have already been transformed through the tsconfig.\r\n\r\n* * *\r\n\r\n```\r\nyarn run v1.7.0\r\n$ set WATCH_MODE=true&& lerna exec --concurrency=1 --parallel node ../../tools/tasks/build\r\n@speedy/package-2: Building Angular Package\r\n@speedy/package-1: Building Angular Package\r\n@speedy/package-2: Building entry point '@speedy/package-2'\r\n@speedy/package-2: Compiling TypeScript sources through ngc\r\n@speedy/package-1: Building entry point '@speedy/package-1'\r\n@speedy/package-1: Compiling TypeScript sources through ngc\r\n@speedy/package-2: BUILD ERROR\r\n@speedy/package-2: error TS6059: File '/Users/cormac/git/cormacrelf/monostart/packages/package-1/src/module.ts' is not under 'rootDir' '/Users/cormac/git/cormacrelf/monostart/packages/package-2'. 'rootDir' is expected to contain all source files.\r\n@speedy/package-2: error TS6059: File '/Users/cormac/git/cormacrelf/monostart/packages/package-1/src/skeleton/skeleton.component.ts' is not under 'rootDir' '/Users/cormac/git/cormacrelf/monostart/packages/package-2'. 'rootDir' is expected to contain all source files.\r\n@speedy/package-2: Error: error TS6059: File '/Users/cormac/git/cormacrelf/monostart/packages/package-1/src/module.ts' is not under 'rootDir' '/Users/cormac/git/cormacrelf/monostart/packages/package-2'. 'rootDir' is expected to contain all source files.\r\n@speedy/package-2: error TS6059: File '/Users/cormac/git/cormacrelf/monostart/packages/package-1/src/skeleton/skeleton.component.ts' is not under 'rootDir' '/Users/cormac/git/cormacrelf/monostart/packages/package-2'. 'rootDir' is expected to contain all source files.\r\n@speedy/package-2:     at Object.<anonymous> (/Users/cormac/git/cormacrelf/monostart/node_modules/ng-packagr/lib/ngc/compile-source-files.js:53:68)\r\n@speedy/package-2:     at Generator.next (<anonymous>)\r\n@speedy/package-2:     at /Users/cormac/git/cormacrelf/monostart/node_modules/ng-packagr/lib/ngc/compile-source-files.js:7:71\r\n@speedy/package-2:     at new Promise (<anonymous>)\r\n@speedy/package-2:     at __awaiter (/Users/cormac/git/cormacrelf/monostart/node_modules/ng-packagr/lib/ngc/compile-source-files.js:3:12)\r\n@speedy/package-2:     at Object.compileSourceFiles (/Users/cormac/git/cormacrelf/monostart/node_modules/ng-packagr/lib/ngc/compile-source-files.js:19:12)\r\n@speedy/package-2:     at Object.<anonymous> (/Users/cormac/git/cormacrelf/monostart/node_modules/ng-packagr/lib/ng-v5/entry-point/ts/compile-ngc.transform.js:28:32)\r\n@speedy/package-2:     at Generator.next (<anonymous>)\r\n@speedy/package-2:     at /Users/cormac/git/cormacrelf/monostart/node_modules/ng-packagr/lib/ng-v5/entry-point/ts/compile-ngc.transform.js:7:71\r\n@speedy/package-2:     at new Promise (<anonymous>)\r\n@speedy/package-1: Bundling to FESM2015\r\n@speedy/package-1: Bundling to FESM5\r\n@speedy/package-1: Bundling to UMD\r\n@speedy/package-1: Minifying UMD bundle\r\n@speedy/package-1: Copying declaration files\r\n@speedy/package-1: Writing package metadata\r\n@speedy/package-1: Removing scripts section in package.json as it's considered a potential security vulnerability.\r\n@speedy/package-1: Built @speedy/package-1\r\n@speedy/package-1: Building entry point '@speedy/package-1/testing'\r\n@speedy/package-1: Compiling TypeScript sources through ngc\r\n@speedy/package-1: Bundling to FESM2015\r\n@speedy/package-1: Bundling to FESM5\r\n@speedy/package-1: Bundling to UMD\r\n@speedy/package-1: Minifying UMD bundle\r\n@speedy/package-1: Copying declaration files\r\n@speedy/package-1: Writing package metadata\r\n@speedy/package-1: Removing scripts section in package.json as it's considered a potential security vulnerability.\r\n@speedy/package-1: Built @speedy/package-1/testing\r\n@speedy/package-1: Built Angular Package!\r\n@speedy/package-1:  - from: /Users/cormac/git/cormacrelf/monostart/packages/package-1\r\n@speedy/package-1:  - to:   /Users/cormac/git/cormacrelf/monostart/packages/package-1/dist\r\n@speedy/package-1: Bundling SCSS\r\ninfo Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.\r\n```"},"comment":{"url":"https://api.github.com/repos/alan-agius4/ng-mono-repo-starter/issues/comments/409483611","html_url":"https://github.com/alan-agius4/ng-mono-repo-starter/issues/53#issuecomment-409483611","issue_url":"https://api.github.com/repos/alan-agius4/ng-mono-repo-starter/issues/53","id":409483611,"node_id":"MDEyOklzc3VlQ29tbWVudDQwOTQ4MzYxMQ==","user":{"login":"alan-agius4","id":17563226,"node_id":"MDQ6VXNlcjE3NTYzMjI2","avatar_url":"https://avatars3.githubusercontent.com/u/17563226?v=4","gravatar_id":"","url":"https://api.github.com/users/alan-agius4","html_url":"https://github.com/alan-agius4","followers_url":"https://api.github.com/users/alan-agius4/followers","following_url":"https://api.github.com/users/alan-agius4/following{/other_user}","gists_url":"https://api.github.com/users/alan-agius4/gists{/gist_id}","starred_url":"https://api.github.com/users/alan-agius4/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alan-agius4/subscriptions","organizations_url":"https://api.github.com/users/alan-agius4/orgs","repos_url":"https://api.github.com/users/alan-agius4/repos","events_url":"https://api.github.com/users/alan-agius4/events{/privacy}","received_events_url":"https://api.github.com/users/alan-agius4/received_events","type":"User","site_admin":false},"created_at":"2018-08-01T07:50:21Z","updated_at":"2018-08-01T07:50:21Z","author_association":"OWNER","body":"Thanks for trying this project out. \r\n\r\nYour issue has been solved https://github.com/alan-agius4/ng-mono-repo-starter/pull/54"}}
{"actor":{"display_login":"alan-agius4"}}