-
Notifications
You must be signed in to change notification settings - Fork 2
feat: Vue 2 and Vue 3 compatibility #658
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
Conversation
06bea8c
to
2c13817
Compare
2c13817
to
b9d1d73
Compare
b9d1d73
to
7a35aaf
Compare
"name": "@nextcloud/webpack-vue-config", | ||
"version": "6.2.0", | ||
"description": "A webpack vue config for nextcloud apps", | ||
"author": "John Molakvoæ <skjnldsv@protonmail.com>", |
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.
😿
"url": "git+https://github.com/nextcloud-libraries/webpack-vue-config.git" | ||
}, | ||
"license": "AGPL-3.0-or-later", | ||
"author": "John Molakvoæ <skjnldsv@protonmail.com>", |
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.
😸
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.
Awesome!
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.
Looks valid 👀
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.
Tested and works on twofactor_webauthn
. Many thanks!
(Had to apply #659 as well to fix the build.)
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
|
7a35aaf
to
fb852f4
Compare
Resolves
Makes the package compatible with both Vue 2 and Vue 3
Review is easier by commits.
How it works
vue-loader
in a peer dependency allows both legacy and newvue-loader
.After installation in a
postinstall
this package:vue-loader
for the installedvue
vue-loader
with--no-save
as ghost dependencyThus:
vue-loader
is installed by NPMvue-loader
dependency - it is also installed by NPMvue-loader
dependency - this package installsvue-loader@legacy
as a ghost dependency