File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ To add an NPM script to generate your types and show Payload where to find your
4545``` json
4646{
4747 "scripts" : {
48- "generate:types " : " PAYLOAD_CONFIG_PATH=src/payload.config.ts payload generate:types " ,
48+ "generate:graphQLSchema " : " PAYLOAD_CONFIG_PATH=src/payload.config.ts payload generate:graphQLSchema " ,
4949 },
5050}
5151```
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ export function generateGraphQLSchema(): void {
1717
1818 logger . info ( 'Compiling GraphQL schema...' ) ;
1919 fs . writeFileSync ( config . graphQL . schemaOutputFile , printSchema ( payload . schema ) ) ;
20- logger . info ( `GraphQL written to ${ config . typescript . outputFile } ` ) ;
20+ logger . info ( `GraphQL written to ${ config . graphQL . schemaOutputFile } ` ) ;
2121}
2222
2323// when generateGraphQLSchema.js is launched directly
You can’t perform that action at this time.
0 commit comments