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
This commit is contained in:
Keith Williams
2025-12-17 16:30:54 -03:00
committed by GitHub
parent 471d1caac9
commit e6d0253950
4 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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": {
+2 -2
View File
@@ -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"
+1 -1
View File
@@ -373,7 +373,7 @@
"cache": false,
"dependsOn": []
},
"@calcom/atoms#build": {
"@calcom/atoms#build-npm": {
"outputs": ["dist/**", "globals.min.css"]
},
"@calcom/api-v2#build": {