diff --git a/packages/embeds/embed-core/package.json b/packages/embeds/embed-core/package.json index 206e3428a5..81a8307306 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 a1df57d140..0e6acfc8a1 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 ef164f0cb0..131f8a1d1f 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 ec53759d16..2f6019b706 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",