From 7d2c0ab405f9d3955728a512dae2be5033961ea5 Mon Sep 17 00:00:00 2001 From: Hariom Balhara Date: Tue, 31 May 2022 03:41:22 +0530 Subject: [PATCH] Improve dx command (#2918) --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 01c230adbb..c036cefce7 100644 --- a/package.json +++ b/package.json @@ -24,7 +24,7 @@ "docs-dev": "yarn predev && turbo run dev --scope=\"@calcom/docs\"", "docs-build": "turbo run build --scope=\"@calcom/docs\" --include-dependencies", "docs-start": "turbo run start --scope=\"@calcom/docs\"", - "dx": "yarn predev && turbo run dx", + "dx": "yarn predev && (git submodule update || true) && turbo run dx", "format": "prettier --write \"**/*.{ts,tsx,md}\"", "heroku-postbuild": "turbo run @calcom/web#build", "lint": "turbo run lint", @@ -33,7 +33,7 @@ "pre-commit": "lint-staged", "env-check:common": "dotenv-checker --schema .env.example --env .env", "env-check:app-store": "dotenv-checker --schema .env.appStore.example --env .env.appStore", - "predev": "yarn env-check:common && yarn env-check:app-store ", + "predev": "yarn && yarn env-check:common && yarn env-check:app-store ", "prepare": "husky install", "start": "turbo run start --scope=\"@calcom/web\"", "test": "turbo run test",