Skip to content

fix: re-add peer dependencies but with wider range (#2507) #2511

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

Merged
merged 1 commit into from
Sep 19, 2024
Merged

fix: re-add peer dependencies but with wider range (#2507) #2511

merged 1 commit into from
Sep 19, 2024

Conversation

Gi11i4m
Copy link
Contributor

@Gi11i4m Gi11i4m commented Sep 19, 2024

  • no peer dependencies causes @vue/test-utils to import stuff from the wrong Vue version in monorepos with multiple Vue versions
  • too specific peer dependencies causes dependant projects not to be updated or find a valid Vue version so the range has been widened

closes 2507

- no peer dependencies causes @vue/test-utils to import stuff from the wrong Vue version in monorepos with multiple Vue versions
- too specific peer dependencies causes dependant projects not to be updated or find a valid Vue version so the range has been widened

closes 2507
Copy link

netlify bot commented Sep 19, 2024

Deploy Preview for vue-test-utils-docs ready!

Name Link
🔨 Latest commit 6162002
🔍 Latest deploy log https://app.netlify.com/sites/vue-test-utils-docs/deploys/66ebdf6dcfccf60008b3a6cd
😎 Deploy Preview https://deploy-preview-2511--vue-test-utils-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@cexbrayat cexbrayat merged commit 0497d7a into vuejs:main Sep 19, 2024
6 checks passed
gitworkflows pushed a commit to khulnasoft-lab/khulnasoft-ui that referenced this pull request Jun 3, 2025
This new version includes
vuejs/test-utils@74c9af4,
which means we need to differentiate between Vue warnings and Vue
errors.

We also add `@vue/server-renderer` as a dev dependency. It *should* be
marked as an optional peer dependency, but there hasn't been a release
of VTU@2 with the fix included yet:
vuejs/test-utils#2511.

Furthermore, even though it's "optional", if we don't install it, Jest
complains about not being able to find it, since it ends up being
`require`d in the top level scope of the VTU@2 module.

Finally, the new version also includes a fix that means we can remove
our warning ignore list: vuejs/test-utils#2413.
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.

2 participants