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

Remove jest from cli peerDependencies #18149

Merged
merged 1 commit into from
May 5, 2022
Merged

Remove jest from cli peerDependencies #18149

merged 1 commit into from
May 5, 2022

Conversation

IanVS
Copy link
Member

@IanVS IanVS commented May 5, 2022

Issue:

Reference: #18111, but not sure this will fix it.

Someone else in discord also had a similar issue, and based on npm/cli#4367, it sounds like it might have something to do with peer dependencies.

What I did

I can't see any reason why the cli would need to have a peer dependency on jest being installed. It was added in #10012, but I think that things have changed since then, because no other packages have a peer dependency on jest@* anymore.

How to test

  • Is this testable with Jest or Chromatic screenshots?
  • Does this need a new example in the kitchen sink apps?
  • Does this need an update to the documentation?

@nx-cloud
Copy link

nx-cloud bot commented May 5, 2022

☁️ Nx Cloud Report

CI is running/has finished running commands for commit 7c82faa. As they complete they will appear below. Click to see the status, the terminal output, and the build insights.

📂 See all runs for this branch


✅ Successfully ran 1 target

Sent with 💌 from NxCloud.

Copy link
Member

@shilman shilman left a comment

Choose a reason for hiding this comment

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

LGTM

@shilman shilman merged commit 19c3749 into next May 5, 2022
@shilman shilman deleted the cli-jest-peer-dep branch May 5, 2022 16:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants