Skip to content

fix(js): include tsbuildinfo in dependentTasksOutputFiles for tsc tasks#34733

Merged
FrozenPandaz merged 1 commit intomasterfrom
nxc-4041
Mar 6, 2026
Merged

fix(js): include tsbuildinfo in dependentTasksOutputFiles for tsc tasks#34733
FrozenPandaz merged 1 commit intomasterfrom
nxc-4041

Conversation

@leosvelperez
Copy link
Copy Markdown
Member

Current Behavior

The @nx/js/typescript plugin sets dependentTasksOutputFiles: '**/*.d.ts' for tsc tasks with external project references. This misses .tsbuildinfo files that tsc --build reads from referenced projects for incremental compilation, which can lead to incorrect cache hits.

Expected Behavior

dependentTasksOutputFiles uses the glob **/*.{d.ts,tsbuildinfo}, ensuring all files read by tsc --build from dependencies are tracked as inputs for correct cache invalidation.

@leosvelperez leosvelperez requested a review from a team as a code owner March 6, 2026 10:40
@netlify
Copy link
Copy Markdown

netlify Bot commented Mar 6, 2026

Deploy Preview for nx-docs ready!

Name Link
🔨 Latest commit 3d0129a
🔍 Latest deploy log https://app.netlify.com/projects/nx-docs/deploys/69aaaf2ea14cb90008d37489
😎 Deploy Preview https://deploy-preview-34733--nx-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@netlify
Copy link
Copy Markdown

netlify Bot commented Mar 6, 2026

Deploy Preview for nx-dev ready!

Name Link
🔨 Latest commit 3d0129a
🔍 Latest deploy log https://app.netlify.com/projects/nx-dev/deploys/69aaaf2e76b29d000825db92
😎 Deploy Preview https://deploy-preview-34733--nx-dev.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@nx-cloud
Copy link
Copy Markdown
Contributor

nx-cloud Bot commented Mar 6, 2026

View your CI Pipeline Execution ↗ for commit 3d0129a

Command Status Duration Result
nx affected --targets=lint,test,build,e2e,e2e-c... ✅ Succeeded 56m 25s View ↗
nx run-many -t check-imports check-lock-files c... ✅ Succeeded 3m 22s View ↗
nx-cloud record -- nx-cloud conformance:check ✅ Succeeded 8s View ↗
nx-cloud record -- nx format:check ✅ Succeeded 1s View ↗
nx-cloud record -- nx sync:check ✅ Succeeded <1s View ↗

☁️ Nx Cloud last updated this comment at 2026-03-06 11:41:32 UTC

@leosvelperez leosvelperez self-assigned this Mar 6, 2026
@FrozenPandaz FrozenPandaz merged commit 8f44377 into master Mar 6, 2026
24 checks passed
@FrozenPandaz FrozenPandaz deleted the nxc-4041 branch March 6, 2026 22:30
@github-actions
Copy link
Copy Markdown
Contributor

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.

@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Mar 12, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants