Skip to content

Scheduling infrastructure for absolutely everyone.

... doesnt seem to run dependencies first. So, ensure that using pipeline (#3254)

Hariom Balharaf9cc71d1200e
diff --git a/packages/embeds/embed-core/package.json b/packages/embeds/embed-core/package.json
index 206e3428a55..81a8307306c 100644
--- a/packages/embeds/embed-core/package.json
+++ b/packages/embeds/embed-core/package.json
@@ -28,7 +28,8 @@
"embed-tests-quick": "QUICK=true yarn embed-tests",
"embed-tests-update-snapshots:ci": "yarn embed-tests-quick --update-snapshots",
"prepare": "NEXT_PUBLIC_WEBAPP_URL='https://app.cal.com' yarn build",
- "publish-prod:patch": "yarn publish --access public --patch"
+ "publish-prod:patch": "yarn publish --access public --patch",
+ "clean": "rm -rf .turbo && rm -rf node_modules && rm -rf ../../../apps/web/public/embed"
},
"files": [
"dist"
diff --git a/packages/embeds/embed-react/package.json b/packages/embeds/embed-react/package.json
index a1df57d1408..0e6acfc8a19 100644
--- a/packages/embeds/embed-react/package.json
+++ b/packages/embeds/embed-react/package.json
@@ -20,7 +20,8 @@
"embed-tests-update-snapshots:ci": "yarn embed-tests-quick --update-snapshots",
"embed-web-start": "yarn workspace @calcom/web start",
"embed-dev": "yarn workspace @calcom/embed-react dev",
- "publish-prod:patch": "yarn publish --access public --patch"
+ "publish-prod:patch": "yarn publish --access public --patch",
+ "clean": "rm -rf .turbo && rm -rf node_modules && rm -rf dist"
},
"main": "./dist/Cal.umd.js",
"module": "./dist/Cal.es.js",
diff --git a/packages/embeds/embed-snippet/package.json b/packages/embeds/embed-snippet/package.json
index ef164f0cb04..131f8a1d1f4 100644
--- a/packages/embeds/embed-snippet/package.json
+++ b/packages/embeds/embed-snippet/package.json
@@ -15,7 +15,8 @@
"type-check": "tsc --pretty --noEmit",
"lint": "eslint --ext .ts,.js src",
"prepare": "NEXT_PUBLIC_EMBED_LIB_URL='https://app.cal.com/embed/embed.js' NEXT_PUBLIC_WEBAPP_URL='https://app.cal.com' yarn build",
- "publish-prod:patch": "yarn publish --access public --patch"
+ "publish-prod:patch": "yarn publish --access public --patch",
+ "clean": "rm -rf .turbo && rm -rf node_modules && rm -rf dist"
},
"files": [
"dist"
diff --git a/turbo.json b/turbo.json
index ec53759d16f..2f6019b706e 100644
--- a/turbo.json
+++ b/turbo.json
@@ -55,6 +55,7 @@
},
"@calcom/website#build": {
"dependsOn": [
+ "^build",
"$NEXT_PUBLIC_STRIPE_FREE_PLAN_PRICE",
"$NEXT_PUBLIC_STRIPE_PREMIUM_PLAN_PRICE",
"$NEXT_PUBLIC_STRIPE_PRO_PLAN_PRICE",