-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(js): only add typescript project references for explicit dependencies in sync generator #28998
fix(js): only add typescript project references for explicit dependencies in sync generator #28998
Conversation
…cies in sync generator This change omits references to implicit dependency tsconfigs for typescript projects in the sync generator, since given that they are not referenced directly in code there is no need for project references. Fixes nrwl#28997
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
View your CI Pipeline Execution ↗ for commit 2bdf541.
☁️ Nx Cloud last updated this comment at |
@Coly010 @leosvelperez - Any updates on this one? I am currently blocked on upgrading NX due to this :( |
…itly referenced in code Co-authored-by: Leosvel Pérez Espinosa <[email protected]>
7f7a544
to
0f4c0bb
Compare
Your CI Pipeline Execution ↗ for commit a830aee is in progress ⏳
☁️ Nx Cloud last updated this comment at |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you!
…cies in sync generator (#28998) This change omits references to implicit dependency tsconfigs for typescript projects in the sync generator, since given that they are not referenced directly in code there is no need for project references. ## Current Behavior TypeScript sync generator adds references to any dependency project which has a tsconfig (where composite is true), including implicit dependencies where these references are unnecessary and can potentially cause build failures. See [example repo](https://github.com/cogwirrel/nx-sync-generator-implicit-deps-example). ## Expected Behavior Only explicit dependencies should be referenced in tsconfigs. ## Related Issue(s) Fixes #28997 --------- Co-authored-by: Leosvel Pérez Espinosa <[email protected]> (cherry picked from commit 9e78142)
This change omits references to implicit dependency tsconfigs for typescript projects in the sync generator, since given that they are not referenced directly in code there is no need for project references.
Current Behavior
TypeScript sync generator adds references to any dependency project which has a tsconfig (where composite is true), including implicit dependencies where these references are unnecessary and can potentially cause build failures.
See example repo.
Expected Behavior
Only explicit dependencies should be referenced in tsconfigs.
Related Issue(s)
Fixes #28997