Skip to content
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

[PATCH] bump version check quasar-vite-cli to allow 2.x.x #36

Open
taogaetz opened this issue Jul 13, 2024 · 0 comments
Open

[PATCH] bump version check quasar-vite-cli to allow 2.x.x #36

taogaetz opened this issue Jul 13, 2024 · 0 comments

Comments

@taogaetz
Copy link

Hi! 👋

Firstly, thanks for your work on this project! 🙂

Today I used patch-package to patch @vueauth/quasar-app-extension-auth@1.0.0-alpha.30 for the project I'm working on.

i was facing an issue when running 'quasar dev' where quasar cli was throwing error due to vite-plugin being v2.x.x instead of 1.x.x

Here is the diff that solved my problem:

diff --git a/node_modules/@vueauth/quasar-app-extension-auth/src/index.js b/node_modules/@vueauth/quasar-app-extension-auth/src/index.js
index f5fb326..117774e 100644
--- a/node_modules/@vueauth/quasar-app-extension-auth/src/index.js
+++ b/node_modules/@vueauth/quasar-app-extension-auth/src/index.js
@@ -16,7 +16,7 @@ module.exports = function (api) {
   api.compatibleWith('quasar', '^2.0.0')
 
   if (api.hasVite === true) {
-    api.compatibleWith('@quasar/app-vite', '^1.0.0-beta.0')
+    api.compatibleWith('@quasar/app-vite', '^2.0.0-beta.0')
   } else {
     // api.hasWebpack === true
     api.compatibleWith('@quasar/app-webpack', '^3.0.0')

This issue body was partially generated by patch-package.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant