Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/enormora/schema-hub
- Owner: enormora
- License: mit
- Created: 2024-03-20T10:09:39.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2024-04-12T19:24:54.000Z (7 months ago)
- Last Synced: 2024-04-13T21:00:32.295Z (7 months ago)
- Topics: graphql, graphql-query, graphql-query-builder, schema, typescript-schema, validation, zod, zod-graphql
- Language: TypeScript
- Homepage:
- Size: 299 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
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.