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 .",