Skip to content

Commit

Permalink
chore: make graphql:generate command accept config arg override
Browse files Browse the repository at this point in the history
  • Loading branch information
thaisguigon committed Apr 29, 2024
1 parent 5b87de2 commit 4e32463
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
5 changes: 3 additions & 2 deletions nx.json
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
}
},
Expand Down
4 changes: 2 additions & 2 deletions packages/twenty-front/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -88,10 +88,10 @@
},
"configurations": {
"data": {
"args": ["--config=codegen.cjs"]
"config": "codegen.cjs"
},
"metadata": {
"args": ["--config=codegen-metadata.cjs"]
"config": "codegen-metadata.cjs"
}
}
},
Expand Down

0 comments on commit 4e32463

Please sign in to comment.