You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm stuck running a command one by one (or creating a loong script)
currently I do npm run graphql-codegen -- --project proj1 npm run graphql-codegen -- --project proj2 npm run graphql-codegen -- --project proj3
...
I can also create a package.json script such as "graphql-codegen-all-projects": "graphql-codegen --project proj1 && graphql-codegen --project proj2..."
But that also requires some manual tweaking if we add/remove projects
I couldnt find, is there a flag such as: graphql-codegen --all-projects ?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I'm stuck running a command one by one (or creating a loong script)
currently I do
npm run graphql-codegen -- --project proj1
npm run graphql-codegen -- --project proj2
npm run graphql-codegen -- --project proj3
...
I can also create a package.json script such as
"graphql-codegen-all-projects": "graphql-codegen --project proj1 && graphql-codegen --project proj2..."
But that also requires some manual tweaking if we add/remove projects
I couldnt find, is there a flag such as:
graphql-codegen --all-projects
?Beta Was this translation helpful? Give feedback.
All reactions