-
Notifications
You must be signed in to change notification settings - Fork 12.8k
This handles when packages are symbol links in mono repo like scenarios to use source files instead of output d.ts from project reference #34743
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
Conversation
@typescript-bot pack this |
Heya @sheetalkamat, I've started to run the tarball bundle task on this PR at 66f1a79. You can monitor the build here. It should now contribute to this PR's status checks. |
Hey @sheetalkamat, I've packed this into an installable tgz. You can install it for testing by referencing it in your
and then running |
Hey @sheetalkamat, something went wrong when looking for the build artifact. (You can check the log here). |
This works! I've updated my branch to contain the tgz from this fix. Feel free to test that out as well! |
@RyanCavanaugh @DanielRosenwasser do we want this for 3.7 and is there going to be another 3.7 patch? I chatted with @kenotron offline and it seems to work for his scenario. |
This is almost immediately going to provide lots of value for the 3.7 proj refs to source feature in monorepo scenarios. Lots of happy monorepo TS users there! |
Just tried this out myself and can confirm that it works (typescript + yarn workspaces). After updating typescript's version, I just needed to restart Good job @sheetalkamat & @kenotron - I'd love this included in |
@typescript-bot cherry-pick this to release-3.7 |
Hey @DanielRosenwasser, I've opened #34781 for you. |
Component commits: 06fda26 Fix incorrect outDir usage instead of out 66f1a79 Handle symlinks of packages in mono repo like packages Fixes microsoft#34723
Fixes #34723