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:
@@ -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
@@ -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": {
|
||||
|
||||
@@ -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
@@ -373,7 +373,7 @@
|
||||
"cache": false,
|
||||
"dependsOn": []
|
||||
},
|
||||
"@calcom/atoms#build": {
|
||||
"@calcom/atoms#build-npm": {
|
||||
"outputs": ["dist/**", "globals.min.css"]
|
||||
},
|
||||
"@calcom/api-v2#build": {
|
||||
|
||||
Reference in New Issue
Block a user