Protoc plugin to generate GraphQL schema from protobuf schema.
- with homebrew (preferred)
brew tap viqueen/labset
brew install protoc-gen-graphql
- with npm
npm install @labset/protoc-gen-graphql -g
- nvm to manage node versions.
brew install nvm
- yarn as node package manager
brew install yarn
- install dependencies
nvm install
yarn
- build it
yarn build
- format it
yarn format
- lint it
yarn lint
yarn lint --fix
- test it
yarn test