wasmer-registry 5.13.0

Crate to interact with the wasmer registry, download packages, etc.
Documentation

wasmer-registry

This crate provides integration with the Wasmer package registry GraphQL API.

Development

Updating the GraphQL Schema

The GraphQL API schema used for generating queries and mutations is located at ./graphql/schema.graphql.

To update it to a deployed version of the backend, run:

npx get-graphql-schema https://registry.wasmer.wtf/graphql > graphql/schema.graphql

Formatting GraphQL Files

To format the GraphQL query and mutation files, run:

npx prettier --write ./graphql/**/*.graphql