From: Haoqun Jiang Date: Wed, 1 Jun 2022 05:16:14 +0000 (+0800) Subject: fix: build task should do type-check when vitest is used (#107) X-Git-Tag: v3.1.12~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9e93799c24ab32c05850fd7023b860aced482c7a;p=thirdparty%2Fvuejs%2Fcreate-vue.git fix: build task should do type-check when vitest is used (#107) --- diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 5c218edf..31b78a88 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -812,6 +812,7 @@ importers: '@types/node': ^16.11.36 '@vitejs/plugin-vue': ^2.3.3 '@vue/tsconfig': ^0.1.3 + npm-run-all: ^4.1.5 typescript: ~4.7.2 vite: ^2.9.9 vue: ^3.2.36 @@ -822,6 +823,7 @@ importers: '@types/node': 16.11.36 '@vitejs/plugin-vue': 2.3.3_vite@2.9.9+vue@3.2.36 '@vue/tsconfig': 0.1.3_@types+node@16.11.36 + npm-run-all: 4.1.5 typescript: 4.7.2 vite: 2.9.9 vue-tsc: 0.35.2_typescript@4.7.2 @@ -834,6 +836,7 @@ importers: '@vitejs/plugin-vue': ^2.3.3 '@vue/tsconfig': ^0.1.3 cypress: ^9.7.0 + npm-run-all: ^4.1.5 start-server-and-test: ^1.14.0 typescript: ~4.7.2 vite: ^2.9.9 @@ -848,6 +851,7 @@ importers: '@vitejs/plugin-vue': 2.3.3_vite@2.9.9+vue@3.2.36 '@vue/tsconfig': 0.1.3_@types+node@16.11.36 cypress: 9.7.0 + npm-run-all: 4.1.5 start-server-and-test: 1.14.0 typescript: 4.7.2 vite: 2.9.9 @@ -859,6 +863,7 @@ importers: '@vitejs/plugin-vue': ^2.3.3 '@vitejs/plugin-vue-jsx': ^1.3.10 '@vue/tsconfig': ^0.1.3 + npm-run-all: ^4.1.5 typescript: ~4.7.2 vite: ^2.9.9 vue: ^3.2.36 @@ -870,6 +875,7 @@ importers: '@vitejs/plugin-vue': 2.3.3_vite@2.9.9+vue@3.2.36 '@vitejs/plugin-vue-jsx': 1.3.10 '@vue/tsconfig': 0.1.3_@types+node@16.11.36 + npm-run-all: 4.1.5 typescript: 4.7.2 vite: 2.9.9 vue-tsc: 0.35.2_typescript@4.7.2 @@ -883,6 +889,7 @@ importers: '@vitejs/plugin-vue-jsx': ^1.3.10 '@vue/tsconfig': ^0.1.3 cypress: ^9.7.0 + npm-run-all: ^4.1.5 start-server-and-test: ^1.14.0 typescript: ~4.7.2 vite: ^2.9.9 @@ -898,6 +905,7 @@ importers: '@vitejs/plugin-vue-jsx': 1.3.10 '@vue/tsconfig': 0.1.3_@types+node@16.11.36 cypress: 9.7.0 + npm-run-all: 4.1.5 start-server-and-test: 1.14.0 typescript: 4.7.2 vite: 2.9.9 @@ -909,6 +917,7 @@ importers: '@vitejs/plugin-vue': ^2.3.3 '@vitejs/plugin-vue-jsx': ^1.3.10 '@vue/tsconfig': ^0.1.3 + npm-run-all: ^4.1.5 pinia: ^2.0.14 typescript: ~4.7.2 vite: ^2.9.9 @@ -922,6 +931,7 @@ importers: '@vitejs/plugin-vue': 2.3.3_vite@2.9.9+vue@3.2.36 '@vitejs/plugin-vue-jsx': 1.3.10 '@vue/tsconfig': 0.1.3_@types+node@16.11.36 + npm-run-all: 4.1.5 typescript: 4.7.2 vite: 2.9.9 vue-tsc: 0.35.2_typescript@4.7.2 @@ -935,6 +945,7 @@ importers: '@vitejs/plugin-vue-jsx': ^1.3.10 '@vue/tsconfig': ^0.1.3 cypress: ^9.7.0 + npm-run-all: ^4.1.5 pinia: ^2.0.14 start-server-and-test: ^1.14.0 typescript: ~4.7.2 @@ -952,6 +963,7 @@ importers: '@vitejs/plugin-vue-jsx': 1.3.10 '@vue/tsconfig': 0.1.3_@types+node@16.11.36 cypress: 9.7.0 + npm-run-all: 4.1.5 start-server-and-test: 1.14.0 typescript: 4.7.2 vite: 2.9.9 @@ -966,6 +978,7 @@ importers: '@vue/test-utils': ^2.0.0 '@vue/tsconfig': ^0.1.3 jsdom: ^19.0.0 + npm-run-all: ^4.1.5 pinia: ^2.0.14 typescript: ~4.7.2 vite: ^2.9.9 @@ -983,6 +996,7 @@ importers: '@vue/test-utils': 2.0.0_vue@3.2.36 '@vue/tsconfig': 0.1.3_@types+node@16.11.36 jsdom: 19.0.0 + npm-run-all: 4.1.5 typescript: 4.7.2 vite: 2.9.9 vitest: 0.13.0_jsdom@19.0.0 @@ -998,6 +1012,7 @@ importers: '@vue/tsconfig': ^0.1.3 cypress: ^9.7.0 jsdom: ^19.0.0 + npm-run-all: ^4.1.5 pinia: ^2.0.14 start-server-and-test: ^1.14.0 typescript: ~4.7.2 @@ -1017,6 +1032,7 @@ importers: '@vue/tsconfig': 0.1.3_@types+node@16.11.36 cypress: 9.7.0 jsdom: 19.0.0 + npm-run-all: 4.1.5 start-server-and-test: 1.14.0 typescript: 4.7.2 vite: 2.9.9 @@ -1033,6 +1049,7 @@ importers: '@vue/tsconfig': ^0.1.3 cypress: ^9.7.0 jsdom: ^19.0.0 + npm-run-all: ^4.1.5 pinia: ^2.0.14 start-server-and-test: ^1.14.0 typescript: ~4.7.2 @@ -1052,6 +1069,7 @@ importers: '@vue/tsconfig': 0.1.3_@types+node@16.11.36 cypress: 9.7.0 jsdom: 19.0.0 + npm-run-all: 4.1.5 start-server-and-test: 1.14.0 typescript: 4.7.2 vite: 2.9.9 @@ -1064,6 +1082,7 @@ importers: '@vitejs/plugin-vue': ^2.3.3 '@vitejs/plugin-vue-jsx': ^1.3.10 '@vue/tsconfig': ^0.1.3 + npm-run-all: ^4.1.5 typescript: ~4.7.2 vite: ^2.9.9 vue: ^3.2.36 @@ -1077,6 +1096,7 @@ importers: '@vitejs/plugin-vue': 2.3.3_vite@2.9.9+vue@3.2.36 '@vitejs/plugin-vue-jsx': 1.3.10 '@vue/tsconfig': 0.1.3_@types+node@16.11.36 + npm-run-all: 4.1.5 typescript: 4.7.2 vite: 2.9.9 vue-tsc: 0.35.2_typescript@4.7.2 @@ -1090,6 +1110,7 @@ importers: '@vitejs/plugin-vue-jsx': ^1.3.10 '@vue/tsconfig': ^0.1.3 cypress: ^9.7.0 + npm-run-all: ^4.1.5 start-server-and-test: ^1.14.0 typescript: ~4.7.2 vite: ^2.9.9 @@ -1107,6 +1128,7 @@ importers: '@vitejs/plugin-vue-jsx': 1.3.10 '@vue/tsconfig': 0.1.3_@types+node@16.11.36 cypress: 9.7.0 + npm-run-all: 4.1.5 start-server-and-test: 1.14.0 typescript: 4.7.2 vite: 2.9.9 @@ -1118,6 +1140,7 @@ importers: '@vitejs/plugin-vue': ^2.3.3 '@vitejs/plugin-vue-jsx': ^1.3.10 '@vue/tsconfig': ^0.1.3 + npm-run-all: ^4.1.5 pinia: ^2.0.14 typescript: ~4.7.2 vite: ^2.9.9 @@ -1133,6 +1156,7 @@ importers: '@vitejs/plugin-vue': 2.3.3_vite@2.9.9+vue@3.2.36 '@vitejs/plugin-vue-jsx': 1.3.10 '@vue/tsconfig': 0.1.3_@types+node@16.11.36 + npm-run-all: 4.1.5 typescript: 4.7.2 vite: 2.9.9 vue-tsc: 0.35.2_typescript@4.7.2 @@ -1146,6 +1170,7 @@ importers: '@vitejs/plugin-vue-jsx': ^1.3.10 '@vue/tsconfig': ^0.1.3 cypress: ^9.7.0 + npm-run-all: ^4.1.5 pinia: ^2.0.14 start-server-and-test: ^1.14.0 typescript: ~4.7.2 @@ -1165,6 +1190,7 @@ importers: '@vitejs/plugin-vue-jsx': 1.3.10 '@vue/tsconfig': 0.1.3_@types+node@16.11.36 cypress: 9.7.0 + npm-run-all: 4.1.5 start-server-and-test: 1.14.0 typescript: 4.7.2 vite: 2.9.9 @@ -1179,6 +1205,7 @@ importers: '@vue/test-utils': ^2.0.0 '@vue/tsconfig': ^0.1.3 jsdom: ^19.0.0 + npm-run-all: ^4.1.5 pinia: ^2.0.14 typescript: ~4.7.2 vite: ^2.9.9 @@ -1198,6 +1225,7 @@ importers: '@vue/test-utils': 2.0.0_vue@3.2.36 '@vue/tsconfig': 0.1.3_@types+node@16.11.36 jsdom: 19.0.0 + npm-run-all: 4.1.5 typescript: 4.7.2 vite: 2.9.9 vitest: 0.13.0_jsdom@19.0.0 @@ -1213,6 +1241,7 @@ importers: '@vue/tsconfig': ^0.1.3 cypress: ^9.7.0 jsdom: ^19.0.0 + npm-run-all: ^4.1.5 pinia: ^2.0.14 start-server-and-test: ^1.14.0 typescript: ~4.7.2 @@ -1234,6 +1263,7 @@ importers: '@vue/tsconfig': 0.1.3_@types+node@16.11.36 cypress: 9.7.0 jsdom: 19.0.0 + npm-run-all: 4.1.5 start-server-and-test: 1.14.0 typescript: 4.7.2 vite: 2.9.9 @@ -1250,6 +1280,7 @@ importers: '@vue/tsconfig': ^0.1.3 cypress: ^9.7.0 jsdom: ^19.0.0 + npm-run-all: ^4.1.5 pinia: ^2.0.14 start-server-and-test: ^1.14.0 typescript: ~4.7.2 @@ -1271,6 +1302,7 @@ importers: '@vue/tsconfig': 0.1.3_@types+node@16.11.36 cypress: 9.7.0 jsdom: 19.0.0 + npm-run-all: 4.1.5 start-server-and-test: 1.14.0 typescript: 4.7.2 vite: 2.9.9 @@ -1286,6 +1318,7 @@ importers: '@vue/test-utils': ^2.0.0 '@vue/tsconfig': ^0.1.3 jsdom: ^19.0.0 + npm-run-all: ^4.1.5 typescript: ~4.7.2 vite: ^2.9.9 vitest: ^0.13.0 @@ -1303,6 +1336,7 @@ importers: '@vue/test-utils': 2.0.0_vue@3.2.36 '@vue/tsconfig': 0.1.3_@types+node@16.11.36 jsdom: 19.0.0 + npm-run-all: 4.1.5 typescript: 4.7.2 vite: 2.9.9 vitest: 0.13.0_jsdom@19.0.0 @@ -1318,6 +1352,7 @@ importers: '@vue/tsconfig': ^0.1.3 cypress: ^9.7.0 jsdom: ^19.0.0 + npm-run-all: ^4.1.5 start-server-and-test: ^1.14.0 typescript: ~4.7.2 vite: ^2.9.9 @@ -1337,6 +1372,7 @@ importers: '@vue/tsconfig': 0.1.3_@types+node@16.11.36 cypress: 9.7.0 jsdom: 19.0.0 + npm-run-all: 4.1.5 start-server-and-test: 1.14.0 typescript: 4.7.2 vite: 2.9.9 @@ -1353,6 +1389,7 @@ importers: '@vue/tsconfig': ^0.1.3 cypress: ^9.7.0 jsdom: ^19.0.0 + npm-run-all: ^4.1.5 start-server-and-test: ^1.14.0 typescript: ~4.7.2 vite: ^2.9.9 @@ -1372,6 +1409,7 @@ importers: '@vue/tsconfig': 0.1.3_@types+node@16.11.36 cypress: 9.7.0 jsdom: 19.0.0 + npm-run-all: 4.1.5 start-server-and-test: 1.14.0 typescript: 4.7.2 vite: 2.9.9 @@ -1387,6 +1425,7 @@ importers: '@vue/test-utils': ^2.0.0 '@vue/tsconfig': ^0.1.3 jsdom: ^19.0.0 + npm-run-all: ^4.1.5 typescript: ~4.7.2 vite: ^2.9.9 vitest: ^0.13.0 @@ -1402,6 +1441,7 @@ importers: '@vue/test-utils': 2.0.0_vue@3.2.36 '@vue/tsconfig': 0.1.3_@types+node@16.11.36 jsdom: 19.0.0 + npm-run-all: 4.1.5 typescript: 4.7.2 vite: 2.9.9 vitest: 0.13.0_jsdom@19.0.0 @@ -1417,6 +1457,7 @@ importers: '@vue/tsconfig': ^0.1.3 cypress: ^9.7.0 jsdom: ^19.0.0 + npm-run-all: ^4.1.5 start-server-and-test: ^1.14.0 typescript: ~4.7.2 vite: ^2.9.9 @@ -1434,6 +1475,7 @@ importers: '@vue/tsconfig': 0.1.3_@types+node@16.11.36 cypress: 9.7.0 jsdom: 19.0.0 + npm-run-all: 4.1.5 start-server-and-test: 1.14.0 typescript: 4.7.2 vite: 2.9.9 @@ -1450,6 +1492,7 @@ importers: '@vue/tsconfig': ^0.1.3 cypress: ^9.7.0 jsdom: ^19.0.0 + npm-run-all: ^4.1.5 start-server-and-test: ^1.14.0 typescript: ~4.7.2 vite: ^2.9.9 @@ -1467,6 +1510,7 @@ importers: '@vue/tsconfig': 0.1.3_@types+node@16.11.36 cypress: 9.7.0 jsdom: 19.0.0 + npm-run-all: 4.1.5 start-server-and-test: 1.14.0 typescript: 4.7.2 vite: 2.9.9 @@ -1478,6 +1522,7 @@ importers: '@types/node': ^16.11.36 '@vitejs/plugin-vue': ^2.3.3 '@vue/tsconfig': ^0.1.3 + npm-run-all: ^4.1.5 pinia: ^2.0.14 typescript: ~4.7.2 vite: ^2.9.9 @@ -1490,6 +1535,7 @@ importers: '@types/node': 16.11.36 '@vitejs/plugin-vue': 2.3.3_vite@2.9.9+vue@3.2.36 '@vue/tsconfig': 0.1.3_@types+node@16.11.36 + npm-run-all: 4.1.5 typescript: 4.7.2 vite: 2.9.9 vue-tsc: 0.35.2_typescript@4.7.2 @@ -1502,6 +1548,7 @@ importers: '@vitejs/plugin-vue': ^2.3.3 '@vue/tsconfig': ^0.1.3 cypress: ^9.7.0 + npm-run-all: ^4.1.5 pinia: ^2.0.14 start-server-and-test: ^1.14.0 typescript: ~4.7.2 @@ -1518,6 +1565,7 @@ importers: '@vitejs/plugin-vue': 2.3.3_vite@2.9.9+vue@3.2.36 '@vue/tsconfig': 0.1.3_@types+node@16.11.36 cypress: 9.7.0 + npm-run-all: 4.1.5 start-server-and-test: 1.14.0 typescript: 4.7.2 vite: 2.9.9 @@ -1531,6 +1579,7 @@ importers: '@vue/test-utils': ^2.0.0 '@vue/tsconfig': ^0.1.3 jsdom: ^19.0.0 + npm-run-all: ^4.1.5 pinia: ^2.0.14 typescript: ~4.7.2 vite: ^2.9.9 @@ -1547,6 +1596,7 @@ importers: '@vue/test-utils': 2.0.0_vue@3.2.36 '@vue/tsconfig': 0.1.3_@types+node@16.11.36 jsdom: 19.0.0 + npm-run-all: 4.1.5 typescript: 4.7.2 vite: 2.9.9 vitest: 0.13.0_jsdom@19.0.0 @@ -1561,6 +1611,7 @@ importers: '@vue/tsconfig': ^0.1.3 cypress: ^9.7.0 jsdom: ^19.0.0 + npm-run-all: ^4.1.5 pinia: ^2.0.14 start-server-and-test: ^1.14.0 typescript: ~4.7.2 @@ -1579,6 +1630,7 @@ importers: '@vue/tsconfig': 0.1.3_@types+node@16.11.36 cypress: 9.7.0 jsdom: 19.0.0 + npm-run-all: 4.1.5 start-server-and-test: 1.14.0 typescript: 4.7.2 vite: 2.9.9 @@ -1594,6 +1646,7 @@ importers: '@vue/tsconfig': ^0.1.3 cypress: ^9.7.0 jsdom: ^19.0.0 + npm-run-all: ^4.1.5 pinia: ^2.0.14 start-server-and-test: ^1.14.0 typescript: ~4.7.2 @@ -1612,6 +1665,7 @@ importers: '@vue/tsconfig': 0.1.3_@types+node@16.11.36 cypress: 9.7.0 jsdom: 19.0.0 + npm-run-all: 4.1.5 start-server-and-test: 1.14.0 typescript: 4.7.2 vite: 2.9.9 @@ -1623,6 +1677,7 @@ importers: '@types/node': ^16.11.36 '@vitejs/plugin-vue': ^2.3.3 '@vue/tsconfig': ^0.1.3 + npm-run-all: ^4.1.5 typescript: ~4.7.2 vite: ^2.9.9 vue: ^3.2.36 @@ -1635,6 +1690,7 @@ importers: '@types/node': 16.11.36 '@vitejs/plugin-vue': 2.3.3_vite@2.9.9+vue@3.2.36 '@vue/tsconfig': 0.1.3_@types+node@16.11.36 + npm-run-all: 4.1.5 typescript: 4.7.2 vite: 2.9.9 vue-tsc: 0.35.2_typescript@4.7.2 @@ -1647,6 +1703,7 @@ importers: '@vitejs/plugin-vue': ^2.3.3 '@vue/tsconfig': ^0.1.3 cypress: ^9.7.0 + npm-run-all: ^4.1.5 start-server-and-test: ^1.14.0 typescript: ~4.7.2 vite: ^2.9.9 @@ -1663,6 +1720,7 @@ importers: '@vitejs/plugin-vue': 2.3.3_vite@2.9.9+vue@3.2.36 '@vue/tsconfig': 0.1.3_@types+node@16.11.36 cypress: 9.7.0 + npm-run-all: 4.1.5 start-server-and-test: 1.14.0 typescript: 4.7.2 vite: 2.9.9 @@ -1673,6 +1731,7 @@ importers: '@types/node': ^16.11.36 '@vitejs/plugin-vue': ^2.3.3 '@vue/tsconfig': ^0.1.3 + npm-run-all: ^4.1.5 pinia: ^2.0.14 typescript: ~4.7.2 vite: ^2.9.9 @@ -1687,6 +1746,7 @@ importers: '@types/node': 16.11.36 '@vitejs/plugin-vue': 2.3.3_vite@2.9.9+vue@3.2.36 '@vue/tsconfig': 0.1.3_@types+node@16.11.36 + npm-run-all: 4.1.5 typescript: 4.7.2 vite: 2.9.9 vue-tsc: 0.35.2_typescript@4.7.2 @@ -1699,6 +1759,7 @@ importers: '@vitejs/plugin-vue': ^2.3.3 '@vue/tsconfig': ^0.1.3 cypress: ^9.7.0 + npm-run-all: ^4.1.5 pinia: ^2.0.14 start-server-and-test: ^1.14.0 typescript: ~4.7.2 @@ -1717,6 +1778,7 @@ importers: '@vitejs/plugin-vue': 2.3.3_vite@2.9.9+vue@3.2.36 '@vue/tsconfig': 0.1.3_@types+node@16.11.36 cypress: 9.7.0 + npm-run-all: 4.1.5 start-server-and-test: 1.14.0 typescript: 4.7.2 vite: 2.9.9 @@ -1730,6 +1792,7 @@ importers: '@vue/test-utils': ^2.0.0 '@vue/tsconfig': ^0.1.3 jsdom: ^19.0.0 + npm-run-all: ^4.1.5 pinia: ^2.0.14 typescript: ~4.7.2 vite: ^2.9.9 @@ -1748,6 +1811,7 @@ importers: '@vue/test-utils': 2.0.0_vue@3.2.36 '@vue/tsconfig': 0.1.3_@types+node@16.11.36 jsdom: 19.0.0 + npm-run-all: 4.1.5 typescript: 4.7.2 vite: 2.9.9 vitest: 0.13.0_jsdom@19.0.0 @@ -1762,6 +1826,7 @@ importers: '@vue/tsconfig': ^0.1.3 cypress: ^9.7.0 jsdom: ^19.0.0 + npm-run-all: ^4.1.5 pinia: ^2.0.14 start-server-and-test: ^1.14.0 typescript: ~4.7.2 @@ -1782,6 +1847,7 @@ importers: '@vue/tsconfig': 0.1.3_@types+node@16.11.36 cypress: 9.7.0 jsdom: 19.0.0 + npm-run-all: 4.1.5 start-server-and-test: 1.14.0 typescript: 4.7.2 vite: 2.9.9 @@ -1797,6 +1863,7 @@ importers: '@vue/tsconfig': ^0.1.3 cypress: ^9.7.0 jsdom: ^19.0.0 + npm-run-all: ^4.1.5 pinia: ^2.0.14 start-server-and-test: ^1.14.0 typescript: ~4.7.2 @@ -1817,6 +1884,7 @@ importers: '@vue/tsconfig': 0.1.3_@types+node@16.11.36 cypress: 9.7.0 jsdom: 19.0.0 + npm-run-all: 4.1.5 start-server-and-test: 1.14.0 typescript: 4.7.2 vite: 2.9.9 @@ -1831,6 +1899,7 @@ importers: '@vue/test-utils': ^2.0.0 '@vue/tsconfig': ^0.1.3 jsdom: ^19.0.0 + npm-run-all: ^4.1.5 typescript: ~4.7.2 vite: ^2.9.9 vitest: ^0.13.0 @@ -1847,6 +1916,7 @@ importers: '@vue/test-utils': 2.0.0_vue@3.2.36 '@vue/tsconfig': 0.1.3_@types+node@16.11.36 jsdom: 19.0.0 + npm-run-all: 4.1.5 typescript: 4.7.2 vite: 2.9.9 vitest: 0.13.0_jsdom@19.0.0 @@ -1861,6 +1931,7 @@ importers: '@vue/tsconfig': ^0.1.3 cypress: ^9.7.0 jsdom: ^19.0.0 + npm-run-all: ^4.1.5 start-server-and-test: ^1.14.0 typescript: ~4.7.2 vite: ^2.9.9 @@ -1879,6 +1950,7 @@ importers: '@vue/tsconfig': 0.1.3_@types+node@16.11.36 cypress: 9.7.0 jsdom: 19.0.0 + npm-run-all: 4.1.5 start-server-and-test: 1.14.0 typescript: 4.7.2 vite: 2.9.9 @@ -1894,6 +1966,7 @@ importers: '@vue/tsconfig': ^0.1.3 cypress: ^9.7.0 jsdom: ^19.0.0 + npm-run-all: ^4.1.5 start-server-and-test: ^1.14.0 typescript: ~4.7.2 vite: ^2.9.9 @@ -1912,6 +1985,7 @@ importers: '@vue/tsconfig': 0.1.3_@types+node@16.11.36 cypress: 9.7.0 jsdom: 19.0.0 + npm-run-all: 4.1.5 start-server-and-test: 1.14.0 typescript: 4.7.2 vite: 2.9.9 @@ -1926,6 +2000,7 @@ importers: '@vue/test-utils': ^2.0.0 '@vue/tsconfig': ^0.1.3 jsdom: ^19.0.0 + npm-run-all: ^4.1.5 typescript: ~4.7.2 vite: ^2.9.9 vitest: ^0.13.0 @@ -1940,6 +2015,7 @@ importers: '@vue/test-utils': 2.0.0_vue@3.2.36 '@vue/tsconfig': 0.1.3_@types+node@16.11.36 jsdom: 19.0.0 + npm-run-all: 4.1.5 typescript: 4.7.2 vite: 2.9.9 vitest: 0.13.0_jsdom@19.0.0 @@ -1954,6 +2030,7 @@ importers: '@vue/tsconfig': ^0.1.3 cypress: ^9.7.0 jsdom: ^19.0.0 + npm-run-all: ^4.1.5 start-server-and-test: ^1.14.0 typescript: ~4.7.2 vite: ^2.9.9 @@ -1970,6 +2047,7 @@ importers: '@vue/tsconfig': 0.1.3_@types+node@16.11.36 cypress: 9.7.0 jsdom: 19.0.0 + npm-run-all: 4.1.5 start-server-and-test: 1.14.0 typescript: 4.7.2 vite: 2.9.9 @@ -1985,6 +2063,7 @@ importers: '@vue/tsconfig': ^0.1.3 cypress: ^9.7.0 jsdom: ^19.0.0 + npm-run-all: ^4.1.5 start-server-and-test: ^1.14.0 typescript: ~4.7.2 vite: ^2.9.9 @@ -2001,6 +2080,7 @@ importers: '@vue/tsconfig': 0.1.3_@types+node@16.11.36 cypress: 9.7.0 jsdom: 19.0.0 + npm-run-all: 4.1.5 start-server-and-test: 1.14.0 typescript: 4.7.2 vite: 2.9.9 @@ -2125,10 +2205,12 @@ importers: template/config/typescript: specifiers: '@types/node': ^16.11.36 + npm-run-all: ^4.1.5 typescript: ~4.7.2 vue-tsc: ^0.35.2 devDependencies: '@types/node': 16.11.36 + npm-run-all: 4.1.5 typescript: 4.7.2 vue-tsc: 0.35.2_typescript@4.7.2 diff --git a/template/config/typescript/package.json b/template/config/typescript/package.json index 22295596..3cb6df72 100644 --- a/template/config/typescript/package.json +++ b/template/config/typescript/package.json @@ -1,10 +1,12 @@ { "scripts": { - "build": "vue-tsc --noEmit && vite build", - "typecheck": "vue-tsc --noEmit" + "build": "run-p type-check build-only", + "build-only": "vite build", + "type-check": "vue-tsc --noEmit" }, "devDependencies": { "@types/node": "^16.11.36", + "npm-run-all": "^4.1.5", "typescript": "~4.7.2", "vue-tsc": "^0.35.2" } diff --git a/template/tsconfig/vitest/package.json b/template/tsconfig/vitest/package.json index 29b8d178..ec8ee29a 100644 --- a/template/tsconfig/vitest/package.json +++ b/template/tsconfig/vitest/package.json @@ -1,6 +1,6 @@ { "scripts": { - "typecheck": "vue-tsc --noEmit -p tsconfig.vitest.json --composite false" + "type-check": "vue-tsc --noEmit -p tsconfig.vitest.json --composite false" }, "devDependencies": { "@types/jsdom": "^16.2.14"