Skip to content

[Question] Possible to test out pre-release typescript versions? #2798

Answered by arcanis
JasonKleban asked this question in Q&A
Discussion options

You must be logged in to vote

It is my understanding (possibly dead wrong) that yarn patches typescript with a tsc-version-specific patch to override typescript's private module resolution strategy. Is that true? Where is the code for these patches??

In the TypeScript repo: microsoft/TypeScript#35206

Most importantly, if there is a pre-release version of typescript that we want to test in a yarn 2 monorepo, are we out of luck? I get "Cannot apply hunk ...." during yarn install if I try to resolve to a new version which I figure is because the patch can't be applied to an unrecognized tsc.

This will be solved starting from our next release, the 3.0 (the fix is already in master and can be tried out with yarn set ve…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by merceyz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #2797 on April 23, 2021 22:11.