All Projects → rricard → graphql-cli-codegen

rricard / graphql-cli-codegen

Licence: MIT license
apollo-codegen plugin for graphql-cli

Programming Languages

typescript
32286 projects
javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to graphql-cli-codegen

next-ts-graphql-apollo-starter
An opiniated Next powered starter which include support for Apollo with GraphQL SSR support, codegen, styled component / system, framer motion and Cypress
Stars: ✭ 18 (-18.18%)
Mutual labels:  apollo, codegen
graphql-ts-client
Typescript DSL for GraphQL.
Stars: ✭ 124 (+463.64%)
Mutual labels:  apollo, codegen
webpack-everything
Vue cli template with webpack, vuex, vue router, eslint, image compression, graphql, apollo, server side rendering, code splitting and progressive web app (PWA) capabilities
Stars: ✭ 19 (-13.64%)
Mutual labels:  apollo
apollo-fragment
Use Apollo Link State to connect components to GraphQL fragments in the Apollo Cache
Stars: ✭ 112 (+409.09%)
Mutual labels:  apollo
nap
[Deprecated] NextJS + Apollo + PassportJS
Stars: ✭ 52 (+136.36%)
Mutual labels:  apollo
spring-boot-learn-box
spring boot集成其他组件
Stars: ✭ 21 (-4.55%)
Mutual labels:  apollo
d2a
A translator Django into SQLAlchemy.
Stars: ✭ 23 (+4.55%)
Mutual labels:  codegen
graphql-api-starter
Starter API graphql with apollo server and some other shit.
Stars: ✭ 12 (-45.45%)
Mutual labels:  apollo
vuex-apollo
💚 Vuex-Apollo integration for VueJS
Stars: ✭ 32 (+45.45%)
Mutual labels:  apollo
spring-boot-apollo-sample
Demo project for Spring Boot Apollo
Stars: ✭ 22 (+0%)
Mutual labels:  apollo
guchub
🎓 Elegantly manage your GUC academic life
Stars: ✭ 15 (-31.82%)
Mutual labels:  apollo
corporate-dashboard
🔥 A blazingly fast corporate dashboard single page web application, built with a focus on component oriented design with React, Relay & GraphQL
Stars: ✭ 52 (+136.36%)
Mutual labels:  apollo
ios-graphql
iOS code examples with GraphQL, Apollo & more
Stars: ✭ 78 (+254.55%)
Mutual labels:  apollo
wongames
🎮 Ecommerce de jogos no estilo Steam. Desenvolvido com Next.js, TypeScript, GraphQL, etc.
Stars: ✭ 18 (-18.18%)
Mutual labels:  apollo
react-chat-app
A real-time chat application with Node.js, Prisma, GraphQL, Next.js, React.js and Apollo.
Stars: ✭ 61 (+177.27%)
Mutual labels:  apollo
startle
Startle C Library
Stars: ✭ 15 (-31.82%)
Mutual labels:  codegen
matters-web
Website of Matters.News, built with Next.js.
Stars: ✭ 70 (+218.18%)
Mutual labels:  apollo
downwrite
✍️ Markdown writing application that's down right, neat.
Stars: ✭ 103 (+368.18%)
Mutual labels:  apollo
nuxtjs-woocommerce
NuxtJS (Vue) eCommerce site with WooCommerce backend
Stars: ✭ 83 (+277.27%)
Mutual labels:  apollo
bs-reason-apollo
ReactApollo bindings for BS
Stars: ✭ 23 (+4.55%)
Mutual labels:  apollo

graphql-cli-codegen

apollo-codegen plugin for graphql-cli

Warning! This plugin is highly experimental. It is not tested at all and hacks with the codegen internals. Don't expect immediate support.

Installation

npm i -g graphql-cli graphql-cli-codegen

Usage

Configure the plugin via a .graphqlconfig.

The schema will be obtained from the schemaPath key and the files from the includes key.

All other options such as target or output must be placed in the extensions.codegen key.

Here is an example:

.graphqlconfig

{
  "schemaPath": "schema.graphqls",
  "includes": [
    "src/**/*.graphql",
    "src/**/*.gql",
  ],
  "extensions": {
    "codegen": {
      "target": "flow",
      "output": "src/graphql-annotations.js"
    }
  }
}

You can now run:

graphql codegen

It's done now!

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].