nuxt / test-utils

๐Ÿงช Test utilities for Nuxt
http://nuxt.com/docs/getting-started/testing
MIT License
323 stars 84 forks source link

@nuxt/test-utils should have fewer peer dependencies #1019

Open oskarols opened 4 days ago

oskarols commented 4 days ago

Describe the feature

Hi! ๐Ÿ‘‹

We have peer dependency warnings coming from @nuxt/test-utils due to the fact that it requires peer dependencies for packages used by Nuxt.

โžค YN0002: โ”‚ NuxtExamplePackage doesn't provide h3 (p44b11), requested by @nuxt/test-utils.
โžค YN0002: โ”‚ NuxtExamplePackage doesn't provide nitropack (pc5e56), requested by @nuxt/test-utils.
โžค YN0002: โ”‚ NuxtExamplePackage doesn't provide vite (p9f68f), requested by @nuxt/test-utils.
โžค YN0002: โ”‚ NuxtExamplePackage doesn't provide vue (pf6e3c), requested by @nuxt/test-utils and other dependencies.
โžค YN0002: โ”‚ NuxtExamplePackage doesn't provide vue-router (p80fda), requested by @nuxt/test-utils.

It would be great if @nuxt/test-utils only had the bare minimum of peer dependencies. ๐Ÿ™

Additional information

Final checks