Files
wasmer/lib/registry
Christoph Herzog f39c1509ec Allow publishing packages without a module
Modify the Wasmer package build logic to allow packages without a
module.

These packages are perfectly valid and useful (pure fs package, module
comes from dependencies, ...)
2023-03-29 00:26:53 +02:00
..

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.wapm.dev/graphql > graphql/schema.graphql

Formatting GraphQL Files

To format the GraphQL query and mutation files, run:

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