Skip to content

Commit

Permalink
docs: update config docs
Browse files Browse the repository at this point in the history
  • Loading branch information
danadajian committed Jun 30, 2024
1 parent f581537 commit 98fcfb4
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 1 addition & 3 deletions docs/docs/getting-started.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,6 @@ bun add -d @expediagroup/graphql-kotlin-codegen
</TabItem>
</Tabs>

The configuration is a superset of the [existing configuration](https://the-guild.dev/graphql/codegen/docs/config-reference/codegen-config#configuration-options) in graphql-codegen.

## Usage

Example `codegen.yml`:
Expand All @@ -58,7 +56,7 @@ schema:
generates:
output/Types.kt:
plugins:
- /@expediagroup/graphql-kotlin-codegen:
- "@expediagroup/graphql-kotlin-codegen":
namingConvention: "keep" # graphql-codegen config
packageName: "com.example" # graphql-kotlin-codegen config
```
Expand Down
2 changes: 2 additions & 0 deletions docs/partials/main.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,6 @@ sidebar_position: 3

# Configuration

The configuration is a superset of the [existing configuration](https://the-guild.dev/graphql/codegen/docs/config-reference/codegen-config#configuration-options) in graphql-codegen.

{{>all-docs~}}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@expediagroup/graphql-kotlin-codegen",
"packageManager": "[email protected].10",
"packageManager": "[email protected].17",
"main": "dist/plugin.cjs",
"types": "dist/plugin.d.cts",
"files": [
Expand Down

0 comments on commit 98fcfb4

Please sign in to comment.