npm · #3667 most downloaded on npm
@graphql-codegen/typescript
6.1.0dotansimha/graphql-code-generator ↗GraphQL Code Generator plugin for generating TypeScript types
Last release 1 months ago
06 Jul 2026
Ships fairly regularly
a new release about every 8 days
Rarely documented
notes for 9 of the last 60 stable releases
1 version withdrawn
withdrawn after publishing
7 years old
6518 releases · first in 2019
Release timeline
6518 releases since 2019One column per quarter.
Releases
- 2.8.8-alpha-20230109075323-d6d3c13499 Jan 2023pre-release
Nothing published for this version
- 2.8.8-alpha-20230109074516-4d59d62ba9 Jan 2023pre-release
Nothing published for this version
- 2.8.8-alpha-20230109071557-db6d5c74b9 Jan 2023pre-release
Nothing published for this version
- 2.8.74 Jan 2023
Nothing published for this version
- 2.8.7-alpha-20230104153535-46415e0db4 Jan 2023pre-release
Nothing published for this version
- 2.8.7-alpha-20230104153004-ad7dcf4904 Jan 2023pre-release
Nothing published for this version
- 2.8.7-alpha-20230104152857-0c8aac3b24 Jan 2023pre-release
Nothing published for this version
- 2.8.7-alpha-20230104152418-47b21b7e34 Jan 2023pre-release
Nothing published for this version
- 2.8.7-alpha-20230103001707-f2014b5fc3 Jan 2023pre-release
Nothing published for this version
- 2.8.7-alpha-20221230134517-acc91123b30 Dec 2022pre-release
Nothing published for this version
- 2.8.7-alpha-20221230102321-dc360e49a30 Dec 2022pre-release
Nothing published for this version
- 2.8.7-alpha-20221229182748-0538b326429 Dec 2022pre-release
Nothing published for this version
- 2.8.7-alpha-20221229182217-8b41316af29 Dec 2022pre-release
Nothing published for this version
- 2.8.7-alpha-20221229182123-454c5623529 Dec 2022pre-release
Nothing published for this version
- 2.8.7-alpha-20221229181614-a3bcf2bc629 Dec 2022pre-release
Nothing published for this version
- 2.8.7-alpha-20221229085337-0ae1d282229 Dec 2022pre-release
Nothing published for this version
- 2.8.7-alpha-20221229084745-7ddb9339b29 Dec 2022pre-release
Nothing published for this version
- 2.8.7-alpha-20221229084656-cc922a2ab29 Dec 2022pre-release
Nothing published for this version
- 2.8.7-alpha-20221229084211-1035b763729 Dec 2022pre-release
Nothing published for this version
- 2.8.627 Dec 2022
Nothing published for this version
- 2.8.6-alpha-20221227201903-17dfbd52827 Dec 2022pre-release
Nothing published for this version
- 2.8.6-alpha-20221227201316-79dba5cb527 Dec 2022pre-release
Nothing published for this version
- 2.8.6-alpha-20221227200823-4fbf1d37727 Dec 2022pre-release
Nothing published for this version
- 2.8.6-alpha-20221227031429-9dfce52de27 Dec 2022pre-release
Nothing published for this version
- 2.8.6-alpha-20221227011142-1cb8a1b2b27 Dec 2022pre-release
Nothing published for this version
- 2.8.6-alpha-20221227010607-d9a0f4d1b27 Dec 2022pre-release
Nothing published for this version
- 2.8.6-alpha-20221227010124-54167362d27 Dec 2022pre-release
Nothing published for this version
- 2.8.6-alpha-20221227001207-7c4324d9c27 Dec 2022pre-release
Nothing published for this version
- 2.8.57 Dec 2022
Nothing published for this version
- 2.8.47 Dec 2022
Nothing published for this version
- 2.8.4-alpha-20221207043812-945e92b017 Dec 2022pre-release
Nothing published for this version
- 2.8.4-alpha-20221207042830-c4b2354fa7 Dec 2022pre-release
Nothing published for this version
- 2.8.4-alpha-20221207042805-8586841997 Dec 2022pre-release
Nothing published for this version
- 2.8.4-alpha-20221207031847-2e87bf7127 Dec 2022pre-release
Nothing published for this version
- 2.8.4-alpha-20221207003532-fd160ed137 Dec 2022pre-release
Nothing published for this version
- 2.8.4-alpha-20221205220310-cb669ee3d5 Dec 2022pre-release
Nothing published for this version
- 2.8.4-alpha-20221205220247-4e43bbe095 Dec 2022pre-release
Nothing published for this version
- 2.8.4-alpha-20221204000620-a4fab3d3e4 Dec 2022pre-release
Nothing published for this version
- 2.8.4-alpha-20221204000037-6780f0d164 Dec 2022pre-release
Nothing published for this version
- 2.8.4-alpha-20221203221800-40280293a3 Dec 2022pre-release
Nothing published for this version
- 2.8.4-alpha-20221203221720-3bf3c02453 Dec 2022pre-release
Nothing published for this version
- 2.8.4-alpha-20221202232356-840a6f8512 Dec 2022pre-release
Nothing published for this version
- 2.8.31 Dec 2022
Nothing published for this version
- 2.8.215 Nov 2022
Nothing published for this version
- 2.8.11 Nov 2022
Release notes
Open source →Patch Changes
- 147e801bf: Add
tslibas a dependency. See https://github.com/dotansimha/graphql-code-generator/issues/8075
- 147e801bf: Add
- 2.8.1-alpha-20221101110911-a036e7a251 Nov 2022pre-release
Nothing published for this version
- 2.8.1-alpha-20221101104558-48d03d7591 Nov 2022pre-release
Nothing published for this version
- 2.8.1-alpha-20221025134913-ec8a36be225 Oct 2022pre-release
Nothing published for this version
- 2.8.1-alpha-20221025131227-aee11a77825 Oct 2022pre-release
Nothing published for this version
- 2.8.024 Oct 2022
Release notes
Open source →Minor Changes
-
d84afec09: Add bin CLI command for running
graphql-code-generatorin ESM mode. You can now usegraphql-codegen-esminstead ofgraphql-codegen.GraphQL Code Generator will continue supporting both ESM and CommonJS in parallel.
-
d84afec09: Support TypeScript ESM modules (
"module": "node16"and"moduleResolution": "node16"). -
8e44df58b: Add new config option to not exit with non-zero exit code when there are no documents.
You can use this option in your config:
schema: 'schema.graphql' documents: - 'src/**/*.graphql' ignoreNoDocuments: trueAlternative you can use the CLI to set this option:
$ codegen --config-file=config.yml --ignore-no-documents
Patch Changes
-
e7870ac28: Fix security vulnerability by removing
latest-versiondependency. -
dce40edeb: Allow to disable watch mode from CLI to overwrite the config. Now you can do:
$ graphql-codegen --watch=false -
2e86ecb65: ### Summary
- Migrate to
listr2 - Remove custom renderer for
listr - Remove unused dependencies
Why
listris not actively maintained and we have to maintain our custom renderer for it to display errors. Migrating tolistr2it just works out of the almost similar to how it was working in past and is a actively maintained.Dev notes
Big change for us is how errors were collected. In
listrerrors were thrown and were caught in theendfunction of our customlistrRenderer but withlistr2we don't really getErrorinendfunction always so instead we use the context to collect errors from all the tasks and then show them after all the tasks are finished. - Migrate to
-
Updated dependencies [d84afec09]
-
Updated dependencies [a4fe5006b]
-
Updated dependencies [8e44df58b]
- @graphql-codegen/[email protected]
- @graphql-codegen/[email protected]
-
- 2.7.520 Oct 2022
Nothing published for this version
- 2.7.5-alpha-20221020101909-1bab1ec3620 Oct 2022pre-release
Nothing published for this version
- 2.7.5-alpha-20221020101303-caea2dc0c20 Oct 2022pre-release
Nothing published for this version
- 2.7.5-alpha-20221018182659-28f8f031b18 Oct 2022pre-release
Nothing published for this version
- 2.7.5-alpha-20221018142557-c954cbbca18 Oct 2022pre-release
Nothing published for this version
- 2.7.5-alpha-20221018132841-d56743e0a18 Oct 2022pre-release
Nothing published for this version
- 2.7.5-alpha-20221018131409-d56743e0a18 Oct 2022pre-release
Nothing published for this version
- 2.7.5-alpha-20221018130723-fc929d4ee18 Oct 2022pre-release
Nothing published for this version
- 2.7.5-alpha-20221018125038-b7cdb92d318 Oct 2022pre-release
Nothing published for this version
- 2.7.5-alpha-20221018123033-99bc320fe18 Oct 2022pre-release
Nothing published for this version