{"id":28413832,"url":"https://github.com/moltar/projen-graphql-codegen","last_synced_at":"2026-07-15T10:32:21.469Z","repository":{"id":57331182,"uuid":"459007832","full_name":"moltar/projen-graphql-codegen","owner":"moltar","description":null,"archived":false,"fork":false,"pushed_at":"2022-02-14T11:01:59.000Z","size":381,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-26T22:07:54.285Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/moltar.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-02-14T03:52:24.000Z","updated_at":"2022-12-14T23:00:51.000Z","dependencies_parsed_at":"2022-09-01T15:31:23.881Z","dependency_job_id":null,"html_url":"https://github.com/moltar/projen-graphql-codegen","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/moltar/projen-graphql-codegen","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moltar%2Fprojen-graphql-codegen","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moltar%2Fprojen-graphql-codegen/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moltar%2Fprojen-graphql-codegen/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moltar%2Fprojen-graphql-codegen/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/moltar","download_url":"https://codeload.github.com/moltar/projen-graphql-codegen/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moltar%2Fprojen-graphql-codegen/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35501664,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-07-15T02:00:06.706Z","response_time":131,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-06-03T06:09:33.761Z","updated_at":"2026-07-15T10:32:21.459Z","avatar_url":"https://github.com/moltar.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 📦 `projen-graphql-codegen`\n\n\u003e Projen project type for [GraphQL Code Generator](https://github.com/dotansimha/graphql-code-generator).\n\n## Usage\n\n```ts\nconst projen = new ProjenGraphQLCodegenProject({\n  // ... required projen options\n\n  // projen-graphql-codegen options\n  schema: 'my-schema.graphql',\n  eslintGraphQLConfig: 'schema-recommended',\n  generators: {\n    './src/types.ts': {\n      plugins: ['typescript'],\n      config: {\n        avoidOptionals: true,\n      },\n    },\n  },\n});\n\n// add more generators later\nprojen.addGenerator('./src/foo.ts', {\n  plugins: ['typescript'],\n})\n\n// finally synth the project\nprojen.synth()\n```\n\nThen:\n\n```sh\n## build (codegen) your schema\nprojen build\n\n## build \u0026 watch\nprojen watch\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmoltar%2Fprojen-graphql-codegen","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmoltar%2Fprojen-graphql-codegen","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmoltar%2Fprojen-graphql-codegen/lists"}