From 6dd73a499cdc21d2cf1575078736bd3243f14ab7 Mon Sep 17 00:00:00 2001 From: Jeyhun Abilov Date: Fri, 5 Sep 2025 16:01:49 +0400 Subject: [PATCH 1/2] Update build command in package.json some d.ts files will generate after build. type-check fails when those files aren't generated. That is why we should build first --- template/config/typescript/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/template/config/typescript/package.json b/template/config/typescript/package.json index 942453271..6b2ac2ac1 100644 --- a/template/config/typescript/package.json +++ b/template/config/typescript/package.json @@ -1,6 +1,6 @@ { "scripts": { - "build": "run-p type-check \"build-only {@}\" --", + "build": "run-p build-only \"type-check {@}\" --", "build-only": "vite build", "type-check": "vue-tsc --build" }, From 45250c903c15141bf0d3365209284c9137e5d80d Mon Sep 17 00:00:00 2001 From: Jeyhun Abilov Date: Fri, 5 Sep 2025 22:11:23 +0400 Subject: [PATCH 2/2] Update package.json --- template/config/typescript/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/template/config/typescript/package.json b/template/config/typescript/package.json index 6b2ac2ac1..e2385f36e 100644 --- a/template/config/typescript/package.json +++ b/template/config/typescript/package.json @@ -1,6 +1,6 @@ { "scripts": { - "build": "run-p build-only \"type-check {@}\" --", + "build": "run-p build-only {@}\"type-check \" --", "build-only": "vite build", "type-check": "vue-tsc --build" },