From 1eca8f2e27914a5409ae69db180f5d1d71c3fdf7 Mon Sep 17 00:00:00 2001 From: Ayo Date: Sat, 5 Nov 2022 08:30:11 +0100 Subject: [PATCH] chore: update build script to run astro check --- apps/demo/package.json | 2 +- apps/docs/package.json | 2 +- apps/landing-page/package.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/demo/package.json b/apps/demo/package.json index b7e8e7b..17a19bf 100644 --- a/apps/demo/package.json +++ b/apps/demo/package.json @@ -8,7 +8,7 @@ "scripts": { "dev": "astro dev", "start": "astro dev", - "build": "astro build", + "build": "astro check && astro build", "preview": "astro preview", "astro": "astro" }, diff --git a/apps/docs/package.json b/apps/docs/package.json index 6aac2ca..c42a8c6 100644 --- a/apps/docs/package.json +++ b/apps/docs/package.json @@ -8,7 +8,7 @@ "start": "astro dev", "docs": "astro dev", "check": "astro check && tsc", - "build": "astro build", + "build": "astro check && astro build", "preview": "astro preview", "astro": "astro" }, diff --git a/apps/landing-page/package.json b/apps/landing-page/package.json index 1ebc9ef..8d270ae 100644 --- a/apps/landing-page/package.json +++ b/apps/landing-page/package.json @@ -6,7 +6,7 @@ "dev": "astro dev", "start": "astro dev", "landing-page": "astro dev", - "build": "astro build", + "build": "astro check && astro build", "preview": "astro preview", "astro": "astro", "format": "prettier --write .",