Skip to content

Scheduling infrastructure for absolutely everyone.

Improve dx command (#2918)

Hariom Balhara7d2c0ab405f9
diff --git a/package.json b/package.json
index 01c230adbb9..c036cefce7f 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",