-
Notifications
You must be signed in to change notification settings - Fork 110
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
chore: optional compiler-sfc #288
chore: optional compiler-sfc #288
Conversation
Signed-off-by: Yue Yang <g1enyy0ung@gmail.com>
@afontcu Mind taking a look at this PR when you are free? |
Just linking that this PR fixes #272 |
@afontcu I suddenly remembered this PR again. Almost a year has passed and I would appreciate it if you could take the time to review it. |
Was cleaning some dependencies in my project and got a warning for this unneeded peer dependency. |
I think it's just that the author doesn't bother to actively maintain the repository. 😢 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hey! Sorry this went unnoticed (again). Still taking a look at the lib from time to time, but my buffer nowadays is quite full.
Thanks for the PR, merging it now. I reckon we should apply the same change in v5
for Vue 2?
🎉 This PR is included in version 8.0.2 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Hi @afontcu, thank you for your review! I apologize for my slightly negative comments earlier. 🙇♂️ I'm also a maintainer for some repos and I fully understand that we can all get a little busy and thus neglect some contributions.
For this question, I checked the Vue 2 docs (https://v2.vuejs.org/v2/guide/migration-vue-2-7#Vue-CLI-webpack) and it says: Upgrade vue to ^2.7.0. You can also remove vue-template-compiler from the dependencies - it is no longer needed in 2.7.* Note: if you are using @vue/test-utils, you will need to keep vue-template-compiler in the dependencies because test utils rely on some APIs only exposed in this package. So, as vue-testing-library relies on |
That's awesome! Thanks for the quick reply and the speedy version publish 🙇 |
Signed-off-by: Yue Yang g1enyy0ung@gmail.com
Close #272.
Refer to the README, after
v3.2.13
, the@vue/compiler-sfc
can be optional because it has already been included in thevue
package.So I mark this peer dependency as optional.