-
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): generated tsconfig extends path #28317
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎ 1 Skipped Deployment
|
☁️ Nx Cloud ReportCI is running/has finished running commands for commit 96aa635. As they complete they will appear below. Click to see the status, the terminal output, and the build insights. 📂 See all runs for this CI Pipeline Execution ✅ Successfully ran 4 targets
Sent with 💌 from NxCloud. |
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.
hey @SebastienGllmt! Thanks for the detailed investigation!
Let's revert the current change and normalize the file in the helper correctly. That way, we'll guarantee that every consumer of the helper is correct regardless of the path they provide.
@leosvelperez would you be able to take that on? I'm not sure exactly where you'd like the normalization to take place. You can create your own PR if you want |
Superseded by #29121. |
This pull request has already been merged/closed. If you experience issues related to these changes, please open a new issue referencing this pull request. |
Current Behavior
The generated
extends
path in tsconfig is incorrectly generated, causing the build to succeed even if it does nothingExpected Behavior
The paths should either both be absolute, or both be relative.
The easiest way to do this was to pass in the relative path into the
checkDependencies
function (since thetsConfig
variable is not accessed anywhere except to calculategeneratedTsConfig.extends
), but changingdirnameTsConfig
to always be absolute would also be okayRelated Issue(s)
Fixes #28316