@nx-tools/nx-graphql-codegen
v1.1.1
Published
The Nx Plugin for Graphql Code Generator contains executor and generator for managing Graphql applications within an Nx workspace.
Downloads
2,326
Readme
nx-graphql-codegen
The Nx Plugin for Graphql Code Generator contains executor and generator for managing Graphql applications within an Nx workspace.
Setting up
Adding the Graphql Code Generator plugin to an existing Nx workspace.
yarn add -D @nx-tools/nx-graphql-codegen
npm install -D @nx-tools/nx-graphql-codegen
Using Plugin
We can use plugin with bash or Nx console.
nx g @nx-tools/nx-graphql-codegen:configuration appName
We can the call codegen generate with the followin command:
nx codegen-generate appName