Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/eddeee888/graphql-code-generator-plugins
- Owner: eddeee888
- License: mit
- Created: 2022-10-22T14:30:17.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2024-04-14T09:49:51.000Z (7 months ago)
- Last Synced: 2024-04-14T09:50:14.548Z (7 months ago)
- Topics: graphql, typescript
- Language: TypeScript
- Homepage:
- Size: 1.58 MB
- Stars: 38
- Watchers: 2
- Forks: 9
- Open Issues: 21
-
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 PRRefer to README in each package for more info.