labd / graphql-codegen-plugin-amplience

GraphQL codegen plugin for outputting Amplience schema's

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

GraphQL Codegen Amplience

This repository contains 2 plugins for Graphql codegen to generate Amplience JSON schemas and Terraform resources for Amplience Content Types out of a Graphql schema.

AmplienceJSON plugin

For more details see the JSON plugin folder

Terraform plugin

This plugin requires the JSON plugin as well.

For more details see the Terraform plugin folder

Development

Assuming you have pnpm installed with node 18, run:

pnpm install
pnpm start

Publish

Publishing is automatically done when merging a pull request to main.

About

GraphQL codegen plugin for outputting Amplience schema's

License:MIT License


Languages

Language:TypeScript 85.1%Language:HCL 10.1%Language:JavaScript 4.8%