apollo-cli: move graphql global types to /types
This commit is contained in:
parent
a4fdcc7c62
commit
d164e024b9
@ -10,7 +10,7 @@
|
|||||||
"lint:fix": "next lint -- --fix",
|
"lint:fix": "next lint -- --fix",
|
||||||
"prettier": "prettier --write .",
|
"prettier": "prettier --write .",
|
||||||
"precommit": "yarn prettier && yarn lint:fix",
|
"precommit": "yarn prettier && yarn lint:fix",
|
||||||
"graphql:codegen": "apollo client:codegen --target typescript",
|
"graphql:codegen": "apollo client:codegen --target typescript --globalTypesFile types/graphql.ts",
|
||||||
"graphql:schema": "dotenv -e .env.local apollo client:download-schema graphql/crm.schema.graphql",
|
"graphql:schema": "dotenv -e .env.local apollo client:download-schema graphql/crm.schema.graphql",
|
||||||
"prepare": "husky install"
|
"prepare": "husky install"
|
||||||
},
|
},
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user