From e6d02539509ee0373b185fd3eeb23d0c1c02f009 Mon Sep 17 00:00:00 2001 From: Keith Williams Date: Wed, 17 Dec 2025 16:30:54 -0300 Subject: [PATCH] chore: Change atoms build command to build-npm (#25996) * chore: Change atoms build command to build-npm to avoid turbo compilations * Updated turbo.json atoms#build reference * Updated atoms production build for CI --- .github/workflows/atoms-production-build.yml | 2 +- package.json | 2 +- packages/platform/atoms/package.json | 4 ++-- turbo.json | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/atoms-production-build.yml b/.github/workflows/atoms-production-build.yml index cbdf1393b7..fd555400a8 100644 --- a/.github/workflows/atoms-production-build.yml +++ b/.github/workflows/atoms-production-build.yml @@ -37,5 +37,5 @@ jobs: export NODE_OPTIONS="--max_old_space_size=8192" rm -rf packages/platform/atoms/node_modules yarn install - yarn workspace @calcom/atoms run build + yarn workspace @calcom/atoms run build-npm shell: bash diff --git a/package.json b/package.json index 89bd052f3a..ebb0492915 100644 --- a/package.json +++ b/package.json @@ -81,7 +81,7 @@ "web": "yarn workspace @calcom/web", "changesets-add": "yarn changeset add", "changesets-version": "yarn changeset version", - "changesets-release": "NODE_OPTIONS='--max_old_space_size=12288' turbo run build --filter=@calcom/atoms && yarn changeset publish", + "changesets-release": "NODE_OPTIONS='--max_old_space_size=12288' turbo run build-npm --filter=@calcom/atoms && yarn changeset publish", "lint-staged": "lint-staged" }, "devDependencies": { diff --git a/packages/platform/atoms/package.json b/packages/platform/atoms/package.json index 4aa37bd835..3f4474bab9 100644 --- a/packages/platform/atoms/package.json +++ b/packages/platform/atoms/package.json @@ -11,8 +11,8 @@ }, "scripts": { "dev": "yarn vite build --watch & npx postcss ./globals.css -o ./globals.min.css", - "build": "NODE_OPTIONS='--max_old_space_size=12288' rm -rf dist && yarn vite build && npx postcss ./globals.css -o ./globals.min.css", - "publish-npm": "yarn build && npm publish --access public", + "build-npm": "NODE_OPTIONS='--max_old_space_size=12288' rm -rf dist && yarn vite build && npx postcss ./globals.css -o ./globals.min.css", + "publish-npm": "yarn build-npm && npm publish --access public", "test": "jest", "dev-on": "node scripts/dev-on.js", "dev-off": "git checkout -- package.json vite.config.ts" diff --git a/turbo.json b/turbo.json index b4f08c41fe..ecfc6cdbec 100644 --- a/turbo.json +++ b/turbo.json @@ -373,7 +373,7 @@ "cache": false, "dependsOn": [] }, - "@calcom/atoms#build": { + "@calcom/atoms#build-npm": { "outputs": ["dist/**", "globals.min.css"] }, "@calcom/api-v2#build": {