I'm assuming you're using Apollo. This can be changed
-
Install a few dependencies:
yarn add -WD @graphql-codegen/cli @graphql-codegen/typescript @graphql-codegen/typescript-operations @graphql-codegen/typescript-react-apollo @graphql-codegen/typescript-resolvers npm-run-all ts-node
-
In my setup, I also threw in
npm-run-all
and made some edits to my root package.json "scripts":yarn add -WD npm-run-all
"dev": "npm-run-all --parallel dev:**",
"dev:rw": "rw dev",