From b2718e73f428b14f235e4a69c1b2e794add88242 Mon Sep 17 00:00:00 2001 From: Haoqun Jiang Date: Fri, 29 Jul 2022 20:06:49 +0800 Subject: [PATCH] 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 --- template/config/jsx/package.json | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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" } } -- 2.39.5