Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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: 15 days ago
JSON representation

List of GraphQL Code Generator plugins that complements the official plugins.

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.