Closed edumudu closed 9 months ago
vue@2.7.0+
also include @vue/compiler-sfc
.
+1 OP offered to open a PR, that would be nice.
:tada: This issue has been resolved in version 8.0.2 :tada:
The release is available on:
Your semantic-release bot :package::rocket:
Describe the bug When installing
@testing-library/vue
in a project withvue@3.2.13+
and no@vue/compiler-sfc
a warning of missing@vue/compiler-sfc
peer dependencies is shownTo Reproduce Steps to reproduce the behavior:
@testing-library/vue
in a project withvue@3.2.13+
and no@vue/compiler-sfc
You can view the warning in the terminal on Codesandbox
Expected behavior
Is expected to not show any warning about peer deps
Related information:
@testing-library/vue
version: 6.6.0Vue
version: 3.2.37node
version: 16.14.0npm
(oryarn
) version: pnpm@7.3.0Additional context
As of
vue@3.2.13+
the package@vue/compiler-sfc
is included in thevue
and can be accessed asvue/compiler-sfc
. So is not needed anymore to install it separately, but currently, this project set it as a peer dependency and doesn't seem to use it directlyMore info in the package README
I'm opening this issue to know if I am missing something, if it's alright I would be happy to open a PR if needed