mirror of
https://github.com/vercel/commerce.git
synced 2025-05-17 15:06:59 +00:00
* sync changes with latest changes Signed-off-by: Chloe <pinkcloudvnn@gmail.com> * fix typescripts Signed-off-by: Chloe <pinkcloudvnn@gmail.com> * fix all types issue and checkout process Signed-off-by: Chloe <pinkcloudvnn@gmail.com> * fix some types Signed-off-by: Chloe <pinkcloudvnn@gmail.com> * several fixes Signed-off-by: Chloe <pinkcloudvnn@gmail.com> * remove console log Signed-off-by: Chloe <pinkcloudvnn@gmail.com> --------- Signed-off-by: Chloe <pinkcloudvnn@gmail.com>
23 lines
409 B
JSON
23 lines
409 B
JSON
{
|
|
"overwrite": true,
|
|
"schema": "http://api.open-commerce.io/graphql",
|
|
"documents": [
|
|
{
|
|
"./src/api/**/*.ts": {
|
|
"noRequire": true
|
|
}
|
|
}
|
|
],
|
|
"generates": {
|
|
"./schema.d.ts": {
|
|
"plugins": ["typescript", "typescript-operations"]
|
|
},
|
|
"./schema.graphql": {
|
|
"plugins": ["schema-ast"]
|
|
}
|
|
},
|
|
"hooks": {
|
|
"afterAllFileWrite": ["prettier --write"]
|
|
}
|
|
}
|