# danielwaltz/vite-plugin-graphql-codegen

> Vite plugin that runs GraphQL codegen from the file watcher

Navigation: [Developer Tools](category/developer-tools.txt) · [Index](../llms.txt)

## Facts

- GitHub: https://github.com/danielwaltz/vite-plugin-graphql-codegen
- HTML: https://awesomeopensource.dev/project/danielwaltz-vite-plugin-graphql-codegen
- Website: https://npmx.dev/package/vite-plugin-graphql-codegen
- License: MIT
- Language: TypeScript
- stars: 91
- Topics: codegen, graphql, graphql-code-generator, graphql-codegen, plugin, vite, vite-plugin, vite-plugin-graphql-codegen
- Activity score: 3.2/5 (Maintained)
- Last commit (any branch): 2026-08-14
- Last release: v4.0.1 2026-06-16

## Description

A Vite plugin that runs GraphQL code generation inside the dev server using Vite's file watcher, so a separate watch process is not needed. It runs codegen on start and on build, fails the build when generation fails, and can add the schemas and documents referenced in the codegen config to the watcher. Options allow each behaviour to be disabled.

## Maintenance activity

- Recency: 50% (weight 40%) — last commit: 91 days ago
- Commit volume: 29% (weight 25%)
- Releases: 74% (weight 25%) — last release: 150 days ago
- Bug fixes: 94% (weight 10%)
- Commits: 0 / 90d, 31 / 365d

## Similar projects

- [stablyai/orca](stablyai-orca.md): Run several coding agents in parallel, each in its own Git worktree · Activity score 5.0/5 (Thriving)
- [tauri-apps/tauri](tauri-apps-tauri.md): Build small desktop and mobile apps with a web frontend and a Rust core · Activity score 5.0/5 (Thriving)
- [microsoft/terminal](microsoft-terminal.md): Tabs, panes and GPU rendering for PowerShell, cmd, WSL and SSH on Windows · Activity score 5.0/5 (Thriving)
- [ant-design/ant-design](ant-design-ant-design.md): A UI Design Language. · Activity score 5.0/5 (Thriving)
- [microsoft/playwright](microsoft-playwright.md): End-to-end testing and browser automation across Chromium, Firefox and WebKit · Activity score 5.0/5 (Thriving)
- [nvm-sh/nvm](nvm-sh-nvm.md): POSIX shell script for installing and switching between Node.js versions · Activity score 5.0/5 (Thriving)
