https://github.com/eddeee888/graphql-code-generator-plugins
List of GraphQL Code Generator plugins that complements the official plugins.
https://github.com/eddeee888/graphql-code-generator-plugins
graphql typescript
Last synced: about 1 year ago
JSON representation
List of GraphQL Code Generator plugins that complements the official plugins.
- Host: GitHub
- URL: https://github.com/eddeee888/graphql-code-generator-plugins
- Owner: eddeee888
- License: mit
- Created: 2022-10-22T14:30:17.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2025-02-05T01:21:23.000Z (over 1 year ago)
- Last Synced: 2025-03-30T09:31:52.953Z (over 1 year ago)
- Topics: graphql, typescript
- Language: TypeScript
- Homepage:
- Size: 2.4 MB
- Stars: 56
- Watchers: 2
- Forks: 13
- Open Issues: 20
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# GraphQL Code Generator Plugins
## Overview
List of [GraphQL Code Generator](https://www.the-guild.dev/graphql/codegen) plugins that complements the official plugins.
## Plugins
- [@eddeee888/gcg-typescript-resolver-files](./packages/typescript-resolver-files): Generates module-based resolvers based on types from [typescript](https://the-guild.dev/graphql/codegen/plugins/typescript/typescript) and [typescript-resolvers](https://www.the-guild.dev/graphql/codegen/plugins/typescript/typescript-resolvers) plugins
## Development
### Tools
- [Node](https://nodejs.org/)
- [nvm](https://github.com/nvm-sh/nvm): Node Version Manager
- [Yarn Classic](https://classic.yarnpkg.com/)
- [Nx](https://nx.dev/): Monorepo management tool
- (Optional) Install Nx globally using `yarn global add nx`. This allows you to run `nx `, otherwise you need to run `yarn nx `
- [Changesets](https://github.com/changesets/changesets): Releasing NPM packages
### Get started
Use the right Node version:
```bash
nvm use
```
Install packages:
```bash
yarn install
```
### Contribution process
1. [Create issue outlining the problem](https://github.com/eddeee888/graphql-code-generator-plugins/issues/new/choose)
2. Fork the repo and make changes
3. Add unit tests and e2e tests
4. Document new config option in the package's README if required
5. Create changeset record for new package version with `yarn changeset` if required
6. Create a PR
Refer to README in each package for more info.