GraphQL schema and common queries for mauna. Reference documentation can be found here.
- Edit files in
common/
directory - Make sure to set env vars:
export HASURA_ADMIN_SECRET=XXX
- Run
npm run build
- If build successful, before committing results, run
npm run version bump
. npm publish --access public
Docs are built using a ruby gem graphql_docs
and published on github pages.
- Install
bundler
- Run
bundle install --path vendor/bundle
- Run
npm run docs
- Commit all changes,
- Then
git checkout gh-pages
andgit merge <original-branch>
git push origin gh-pages