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

Fix "typesVersions" support in plugin-compat typescript patch #2215

Closed
wants to merge 2 commits into from

Conversation

cspotcode
Copy link

@cspotcode cspotcode commented Dec 5, 2020

What's the problem this PR addresses?

Imports of the form @jest/types/build/Config (with a sub-path within the target paackage) do not respect a "typesVersions" configuration in its package.json. For example https://unpkg.com/@jest/[email protected]/package.json

Fixes #2223

How did you fix it?

Fixed via this modification to the typescript patch.
arcanis/TypeScript#5

Checklist

  • I have set the packages that need to be released for my changes to be effective.
  • I will check that all automated PR checks pass before the PR gets reviewed.

cspotcode added a commit to cspotcode/tsdx that referenced this pull request Dec 5, 2020
- Update yarn2 to build from yarnpkg/berry#2215,
which fixes bug in yarn2's typescript patch
- adding 2x missing dependencies which were being picked up due to
node_modules hoisting
@merceyz merceyz mentioned this pull request Feb 5, 2021
3 tasks
@arcanis arcanis closed this in #2440 Feb 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug] patched typescript does not respect typesVersions
1 participant