From 5e42d1938dbad7cd5590f46fc1357cfbdff3e3c7 Mon Sep 17 00:00:00 2001 From: robonen Date: Fri, 7 Aug 2026 13:59:37 +0700 Subject: [PATCH] fix: update build script to include type checking before building --- kcal/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kcal/package.json b/kcal/package.json index 9a0fc58..584cd83 100644 --- a/kcal/package.json +++ b/kcal/package.json @@ -6,7 +6,7 @@ "description": "Локальный дневник питания: калории, БЖУ, вес. Vue Vapor + vue-sync-engine + IndexedDB, без бэкенда.", "scripts": { "dev": "vite", - "build": "vite build", + "build": "tsc --noEmit && vite build", "preview": "vite preview", "typecheck": "tsc --noEmit", "test": "vitest run",