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: add @jest/transform as an optional peer dependency #4287

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

G-Rath
Copy link
Contributor

@G-Rath G-Rath commented Apr 6, 2024

Summary

import type { TransformedSource, Transformer, TransformOptions } from '@jest/transform'

The above import means when using TypeScript there is a dependency on @jest/transform which is currently not expressed, making Yarn Berry unhappy when using the PnP linker.

From what I understand, specifying this dependency as an optional peer dependency should resolve this.

Test plan

Does this PR introduce a breaking change?

  • Yes
  • No

Other information

@G-Rath G-Rath requested a review from kulshekhar as a code owner April 6, 2024 22:38
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.

None yet

1 participant