Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions packages/embeds/embed-core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@
"scripts": {
"embed-dev": "yarn workspace @calcom/embed-core dev",
"embed-web-start": "yarn workspace @calcom/web start",
"__build": "yarn tailwind && vite build && tsc --emitDeclarationOnly --declarationDir dist && cp -r ../../../apps/web/public/embed ./dist/",
"__build": "yarn tailwind && vite build && tsc --emitDeclarationOnly --declarationDir dist && npx shx cp -r ../../../apps/web/public/embed ./dist/",
"__dev": "yarn tailwind && vite build --mode development",
"build": "rm -rf dist && NEXT_PUBLIC_EMBED_FINGER_PRINT=$(git rev-parse --short HEAD) NEXT_PUBLIC_EMBED_VERSION=$(node -p 'require(\"./package.json\").version') yarn __build",
"build": "npx rimraf dist && NEXT_PUBLIC_EMBED_FINGER_PRINT=$(git rev-parse --short HEAD) NEXT_PUBLIC_EMBED_VERSION=$(node -p 'require(\"./package.json\").version') yarn __build",
"build-preview": "PREVIEW_BUILD=1 yarn __build ",
"vite": "vite",
"tailwind": "tailwindcss --input ./src/styles.css --output ./src/tailwind.generated.css",
Expand All @@ -35,7 +35,7 @@
"embed-tests-update-snapshots:ci": "yarn embed-tests-quick --update-snapshots",
"withEmbedPublishEnv": "NEXT_PUBLIC_EMBED_LIB_URL='https://app.cal.com/embed/embed.js' NEXT_PUBLIC_WEBAPP_URL='https://app.cal.com' yarn",
"prepack": "yarn ../../../ lint --filter='@calcom/embed-core' && yarn withEmbedPublishEnv build",
"clean": "rm -rf .turbo && rm -rf node_modules && rm -rf ../../../apps/web/public/embed"
"clean": "npx rimraf .turbo node_modules ../../../apps/web/public/embed"
},
"files": [
"dist"
Expand Down
4 changes: 2 additions & 2 deletions packages/embeds/embed-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
},
"scripts": {
"dev": "vite --port=3101 --open",
"build": "rm -rf dist && vite build && cp ./dist/Cal.es.js ./dist/Cal.es.mjs && tsc --emitDeclarationOnly --declarationDir dist",
"build": "npx rimraf dist && vite build && npx shx cp ./dist/Cal.es.js ./dist/Cal.es.mjs && tsc --emitDeclarationOnly --declarationDir dist",
"preview": "vite preview",
"type-check": "tsc --pretty --noEmit",
"type-check:ci": "tsc-absolute --pretty --noEmit",
Expand All @@ -24,7 +24,7 @@
"prepack": "yarn ../../../ lint --filter='@calcom/embed-react' && yarn withEmbedPublishEnv build && yarn packaged:tests",
"embed-web-start": "yarn workspace @calcom/web start",
"embed-dev": "yarn workspace @calcom/embed-react dev",
"clean": "rm -rf .turbo && rm -rf node_modules && rm -rf dist"
"clean": "npx rimraf .turbo node_modules dist"
},
"main": "./dist/Cal.umd.js",
"module": "./dist/Cal.es.mjs",
Expand Down
4 changes: 2 additions & 2 deletions packages/embeds/embed-snippet/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@
"directory": "packages/embeds/embed-snippet"
},
"scripts": {
"build": "rm -rf dist && vite build && tsc --emitDeclarationOnly --declarationDir dist",
"build": "npx rimraf dist && vite build && tsc --emitDeclarationOnly --declarationDir dist",
"type-check": "tsc --pretty --noEmit",
"type-check:ci": "tsc-absolute --pretty --noEmit",
"lint": "eslint --ext .ts,.js src",
"withEmbedPublishEnv": "NEXT_PUBLIC_EMBED_LIB_URL='https://app.cal.com/embed/embed.js' NEXT_PUBLIC_WEBAPP_URL='https://app.cal.com' yarn",
"prepack": "yarn ../../../ lint --filter='@calcom/embed-snippet' && yarn withEmbedPublishEnv build",
"clean": "rm -rf .turbo && rm -rf node_modules && rm -rf dist"
"clean": "npx rimraf .turbo node_modules dist"
},
"files": [
"dist"
Expand Down
2 changes: 1 addition & 1 deletion packages/platform/enums/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
},
"scripts": {
"test": "jest ./tests",
"build": "rm -rf ./dist && tsc --build --force tsconfig.json",
"build": "npx rimraf dist && tsc --build --force tsconfig.json",
"build:watch": "tsc --build --force ./tsconfig.json --watch",
"post-install": "yarn build"
},
Expand Down
4 changes: 2 additions & 2 deletions packages/platform/libraries/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
"build:watch": "yarn vite build --watch",
"watch-lru-fix": "watch -n 1 'sed -i'' -e \"s/const CACHE = new lruCache\\.LRUCache({ max: 1e3 });/const CACHE = new lruCache({ max: 1e3 });/g\" ./dist/index.cjs'",
"build:dev": "yarn vite build && sed -i'' -e 's/const CACHE = new lruCache\\.LRUCache({ max: 1e3 });/const CACHE = new lruCache({ max: 1e3 });/g' ./dist/index.cjs",
"local": "node scripts/local.js && rm -rf dist && yarn build:dev && cd ../../.. && yarn",
"publish-npm": "yarn && node scripts/prepublish.js && rm -rf dist && yarn build && npm publish --access public && node scripts/postpublish.js"
"local": "node scripts/local.js && npx rimraf dist && yarn build:dev && cd ../../.. && yarn",
"publish-npm": "yarn && node scripts/prepublish.js && npx rimraf dist && yarn build && npm publish --access public && node scripts/postpublish.js"
},
"dependencies": {
"@calcom/features": "workspace:*",
Expand Down
2 changes: 1 addition & 1 deletion packages/platform/types/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"private": true,
"scripts": {
"build": "yarn clean && tsc --build --force tsconfig.json",
"clean": "rm -rf ./dist",
"clean": "npx rimraf dist",
"build:watch": "tsc --build --force ./tsconfig.json --watch",
"post-install": "yarn build"
},
Expand Down
Loading