Skip to content
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

Handle root files listed in project config from referenced project to be same as if they were included through import #58560

Merged
merged 4 commits into from
May 20, 2024

Conversation

sheetalkamat
Copy link
Member

@sheetalkamat sheetalkamat commented May 17, 2024

  • Always look if file looking is redirect to output of referenced project
  • In buildInfo store if root file is not same as resolved path so tsc --b can use it to determine correct checks on input hash

Fixes #58156

@typescript-bot typescript-bot added Author: Team For Milestone Bug PRs that fix a bug with a specific milestone labels May 17, 2024
Copy link
Member

@jakebailey jakebailey left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm less familiar with this but so take my review with a grain of salt 😅

src/compiler/builder.ts Outdated Show resolved Hide resolved
@sheetalkamat sheetalkamat merged commit d84431e into main May 20, 2024
28 checks passed
@sheetalkamat sheetalkamat deleted the rootFiles branch May 20, 2024 17:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Author: Team For Milestone Bug PRs that fix a bug with a specific milestone
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Upstream file not correctly recognized as output of other project when using path mappings
3 participants