From 4e32463bb1b71f5ceab9d2daffe6a0a30a7667a5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tha=C3=AFs=20Guigon?= Date: Mon, 29 Apr 2024 10:42:17 +0200 Subject: [PATCH] chore: make graphql:generate command accept config arg override --- nx.json | 5 +++-- packages/twenty-front/project.json | 4 ++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/nx.json b/nx.json index f6cd74cfa3cd..1eab0f5bafcf 100644 --- a/nx.json +++ b/nx.json @@ -124,11 +124,12 @@ "executor": "nx:run-commands", "options": { "cwd": "{projectRoot}", - "command": "cross-var chromatic --project-token=$CHROMATIC_PROJECT_TOKEN --build-script-name=storybook:build" + "command": "cross-var chromatic --project-token=$CHROMATIC_PROJECT_TOKEN --build-script-name=storybook:build --exit-zero-on-changes={args.ci}", + "ci": false }, "configurations": { "ci": { - "args": ["--exit-zero-on-changes"] + "ci": true } } }, diff --git a/packages/twenty-front/project.json b/packages/twenty-front/project.json index 0f7be220a2da..15e86ef7c665 100644 --- a/packages/twenty-front/project.json +++ b/packages/twenty-front/project.json @@ -88,10 +88,10 @@ }, "configurations": { "data": { - "args": ["--config=codegen.cjs"] + "config": "codegen.cjs" }, "metadata": { - "args": ["--config=codegen-metadata.cjs"] + "config": "codegen-metadata.cjs" } } },