From 956e2030d095bd785768e1e3c3228c45a5fde51c Mon Sep 17 00:00:00 2001 From: Matthias Kretschmann Date: Wed, 4 Oct 2023 10:47:29 +0000 Subject: [PATCH] run astro sync before type checking --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 5ec33371..4d8b092d 100644 --- a/package.json +++ b/package.json @@ -12,7 +12,7 @@ "preview": "astro preview", "typecheck:astro": "astro check", "typecheck:tsc": "tsc --noEmit --pretty", - "typecheck": "run-p typecheck:astro typecheck:tsc", + "typecheck": "astro sync && run-p typecheck:astro typecheck:tsc", "prebuild": "run-p --silent --continue-on-error create:symlinks create:icons move:downloads", "test:unit": "vitest run --config './test/vitest.config.ts' --coverage", "test:e2e": "playwright test --config './test/playwright.config.ts'",