-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
peerDependencies on vue missing for @vueuse/core and @vueuse/shared #2781
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
Comments
I am not sure what is happening. From want I understand:
In which |
Parent packages need to declare the non-optional peer dependencies of packages in their dependencies as peer or optional peer dependencies. It would be optional peer dependencies with https://yarnpkg.com/advanced/error-codes#yn0002---missing_peer_dependency I.e for each |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Bump |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Issue still active |
also related to #1912. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Not stale |
According to vue-demi's README, plugins/libraries using vue-demi need to also provide the https://github.com/vueuse/vue-demi#usage That would be the recommended fix for this issue. Otherwise, for now, users of packageExtensions:
#"@vueuse/<package>@<version>:
#e.g.:
"@vueuse/core@10.4.1":
peerDependencies:
vue: ^3.0.0-0 || ^2.6.0 |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Still relevant |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Not stale |
I'm using Here are my changes to
|
@antfu is this still relevant with v12? |
Since |
Uh oh!
There was an error while loading. Please reload this page.
Describe the bug
When requesting
@vueuse/core
with Yarn, it complains about a missing dependency on vue due to using vue-demi:This is due to the removal of the
vue
peerDependency and peerDependenciesMeta in this commit: 1b258acReproduction
https://github.com/wopian/vueuse-repro (run
yarn
after cloning this repo to see above message)System Info
Used Package Manager
yarn
Validations
The text was updated successfully, but these errors were encountered: