19 releases (stable)
new 4.7.0 | Jun 1, 2023 |
---|---|
4.4.1 | Apr 21, 2023 |
4.2.0 | Mar 28, 2023 |
3.1.1 | Jan 26, 2023 |
3.0.2 | Nov 26, 2022 |
#941 in WebAssembly
6,090 downloads per month
Used in 8 crates
(5 directly)
175KB
5K
SLoC
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
lib.rs
:
High-level interactions with the WAPM backend.
The GraphQL schema can be updated by running make
in the Wasmer repo's
root directory.
$ make update-graphql-schema
curl -sSfL https://registry.wapm.io/graphql/schema.graphql > lib/registry/graphql/schema.graphql
Dependencies
~14–28MB
~567K SLoC