]> git.ipfire.org Git - thirdparty/vuejs/create-vue.git/commitdiff
fix: move vue from devDependencies to dependencies to avoid duplication
authorHaoqun Jiang <haoqunjiang@gmail.com>
Fri, 29 Jul 2022 12:06:49 +0000 (20:06 +0800)
committerHaoqun Jiang <haoqunjiang@gmail.com>
Fri, 29 Jul 2022 12:08:40 +0000 (20:08 +0800)
Note: it is intentional for "vue" to be in this sub-package's
dependencies. It'll be de-duped when generating the actual project.
The reason for it to be here is to eliminate pnpm warnings and make
dependency updates easier to manage via package managers.

Closes #125
Closes #130
Closes #131

template/config/jsx/package.json

index f70c9e701ef962766c7e7aed04339f3f9bc11c72..8deb522581bb29d85ab32704ea02044e701c06c9 100644 (file)
@@ -1,7 +1,9 @@
 {
+  "dependencies": {
+    "vue": "^3.2.37"
+  },
   "devDependencies": {
     "@vitejs/plugin-vue-jsx": "^2.0.0",
-    "vite": "^3.0.1",
-    "vue": "^3.2.37"
+    "vite": "^3.0.1"
   }
 }