List of GraphQL Code Generator plugins that complements the official plugins.
- @eddeee888/gcg-typescript-resolver-files: Generates module-based resolvers based on types from typescript and typescript-resolvers plugins
- @eddeee888/gcg-operation-location-migration: Codemod to migrate various client approaches such as @graphql-codegen/typescript-react-apollo to Client Preset approach.
- Node
- nvm: Node Version Manager
- pnpm
- Nx: Monorepo management tool
- (Optional) Install Nx globally using
pnpm global add nx. This allows you to runnx <command>, otherwise you need to runpnpm nx <command>
- (Optional) Install Nx globally using
- Changesets: Releasing NPM packages
Use the right Node version:
nvm useInstall packages:
pnpm install- Create issue outlining the problem
- Fork the repo and make changes
- Add unit tests and e2e tests
- Document new config option in the package's README if required
- Create changeset record for new package version with
pnpm changesetif required - Create a PR
Refer to README in each package for more info.