1
0
mirror of https://github.com/kremalicious/blog.git synced 2024-11-22 09:56:51 +01:00

run astro sync before type checking

This commit is contained in:
Matthias Kretschmann 2023-10-04 10:47:29 +00:00 committed by GitHub
parent 0657af254f
commit 956e2030d0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -12,7 +12,7 @@
"preview": "astro preview", "preview": "astro preview",
"typecheck:astro": "astro check", "typecheck:astro": "astro check",
"typecheck:tsc": "tsc --noEmit --pretty", "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", "prebuild": "run-p --silent --continue-on-error create:symlinks create:icons move:downloads",
"test:unit": "vitest run --config './test/vitest.config.ts' --coverage", "test:unit": "vitest run --config './test/vitest.config.ts' --coverage",
"test:e2e": "playwright test --config './test/playwright.config.ts'", "test:e2e": "playwright test --config './test/playwright.config.ts'",