Skip to content

Commit

Permalink
Fix small missed rename to index.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
Ambroos committed Oct 14, 2023
1 parent 83f7440 commit 3f593e4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ambroos/graphql-codegen-preset-monorepo-client",
"version": "1.1.0",
"version": "1.1.1",
"repository": {
"type": "git",
"url": "git+https://github.com/ambroos/graphql-codegen-preset-monorepo-client.git"
Expand Down
4 changes: 2 additions & 2 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ export type packagePresetConfig = ClientPresetConfig & {
* presetConfig: {
* schemaTypesPath: '@mymonorepo/graphql-schema',
* // or
* schemaTypesPath: '../graphql-schema/schemaTypes.ts',
* schemaTypesPath: '../graphql-schema', // which contains index.ts
* }
* },
* },
Expand Down Expand Up @@ -463,7 +463,7 @@ export const schemaPreset: Types.OutputPreset<SchemaPresetConfig> = {

return [
{
filename: `${options.baseOutputDir}schemaTypes.ts`,
filename: `${options.baseOutputDir}index.ts`,
plugins: [{ [`typescript`]: {} }],
pluginMap,
schema: options.schema,
Expand Down

0 comments on commit 3f593e4

Please sign in to comment.