From: Haoqun Jiang Date: Fri, 29 Jul 2022 12:06:49 +0000 (+0800) Subject: fix: move vue from devDependencies to dependencies to avoid duplication X-Git-Tag: v3.3.1~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b2718e73f428b14f235e4a69c1b2e794add88242;p=thirdparty%2Fvuejs%2Fcreate-vue.git fix: move vue from devDependencies to dependencies to avoid duplication 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 --- diff --git a/template/config/jsx/package.json b/template/config/jsx/package.json index f70c9e70..8deb5225 100644 --- a/template/config/jsx/package.json +++ b/template/config/jsx/package.json @@ -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" } }