Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/enormora/schema-hub

Collection of tools related to typescript schema libraries
https://github.com/enormora/schema-hub

graphql graphql-query graphql-query-builder schema typescript-schema validation zod zod-graphql

Last synced: about 1 month ago
JSON representation

Collection of tools related to typescript schema libraries

Awesome Lists containing this project

README

        

# schema-hub

This repository maintains a collection of tools designed to enhance the functionality and usability of typescript-based schema-validation libraries.

## Projects

Currently, the `@schema-hub` monorepo contains the following projects:

- **[@schema-hub/zod-error-formatter](./source/zod-error-formatter/readme.md)**:
A tool for formatting errors generated by the [`zod`](https://github.com/colinhacks/zod) schema-validation library into simple and easy-to-understand messages.
[![npm version](https://img.shields.io/npm/v/@schema-hub/zod-error-formatter?style=flat-square&logo=npm&logoColor=fff&cacheSeconds=300&labelColor=CB3837&color=37CACB)](https://www.npmjs.com/package/@schema-hub/zod-error-formatter)
- **[@schema-hub/zod-graphql-query-builder](./source/zod-graphql-query-builder/readme.md)**:
Transforms [`zod`](https://github.com/colinhacks/zod) schemas into GraphQL queries.
[![npm version](https://img.shields.io/npm/v/@schema-hub/zod-graphql-query-builder?style=flat-square&logo=npm&logoColor=fff&cacheSeconds=300&labelColor=CB3837&color=37CACB)](https://www.npmjs.com/package/@schema-hub/zod-graphql-query-builder)
- **[@schema-hub/zod-graphql-client](./source/zod-graphql-client/readme.md)**:
A lightweight and type-safe zod-based GraphQL client.
[![npm version](https://img.shields.io/npm/v/@schema-hub/zod-graphql-client?style=flat-square&logo=npm&logoColor=fff&cacheSeconds=300&labelColor=CB3837&color=37CACB)](https://www.npmjs.com/package/@schema-hub/zod-graphql-client)
- **[@schema-hub/zod-graphql-fake-client](./source/zod-graphql-fake-client/readme.md)**:
Fake GraphQL client for testing `@schema-hub/zod-graphql-client`.
[![npm version](https://img.shields.io/npm/v/@schema-hub/zod-graphql-fake-client?style=flat-square&logo=npm&logoColor=fff&cacheSeconds=300&labelColor=CB3837&color=37CACB)](https://www.npmjs.com/package/@schema-hub/zod-graphql-fake-client)

## Versioning

All packages in this repository use [`packtory`](https://github.com/enormora/packtory) to automatically determine version numbers and do not follow semantic versioning. A version number smaller than 1 (e.g., `0.0.42`) does not mean the package is experimental but indicates that any version bump could include breaking changes.

To mitigate risks, ensure you have solid test coverage and use TypeScript type-checking in your projects. This will help make dependency updates low risk.