forked from Shopify/hydrogen
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.graphqlrc.yml
21 lines (21 loc) · 1.19 KB
/
.graphqlrc.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# This file should be part of the demo-store template, but the GraphQL VSCode plugin doesn't actually look at folders when searching for this file, so it has to live at the root.
# There is a duplicated file in templates/demo-store/ , and it's kept there so that if someone were to spin up the demo-store on their own then it would be included and "just work"
projects:
default:
schema: 'packages/hydrogen-react/storefront.schema.json'
documents:
- 'templates/**/app/**/*.{graphql,js,ts,jsx,tsx}'
- 'examples/**/app/**/*.{graphql,js,ts,jsx,tsx}'
- '!templates/**/app/graphql/**/*.{graphql,js,ts,jsx,tsx}'
- '!examples/**/app/graphql/**/*.{graphql,js,ts,jsx,tsx}'
customer-account:
schema: 'packages/hydrogen-react/customer-account.schema.json'
documents:
- 'templates/**/app/graphql/customer-account/**/*.{graphql,js,ts,jsx,tsx}'
- 'examples/**/app/graphql/customer-account/**/*.{graphql,js,ts,jsx,tsx}'
admin:
schema: 'packages/cli/admin.schema.json'
documents: 'packages/cli/src/**/graphql/admin/**/*.ts'
business-platform:
schema: 'packages/cli/business-platform.schema.json'
documents: 'packages/cli/src/**/graphql/business-platform/**/*.ts'