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: 3 months 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 (about 2 years ago)
- Default Branch: main
- Last Pushed: 2026-03-05T19:07:02.000Z (3 months ago)
- Last Synced: 2026-03-05T22:21:51.359Z (3 months ago)
- Topics: graphql, graphql-query, graphql-query-builder, schema, typescript-schema, validation, zod, zod-graphql
- Language: TypeScript
- Homepage:
- Size: 1.8 MB
- Stars: 11
- Watchers: 3
- Forks: 0
- Open Issues: 13
-
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.
[](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.
[](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.
[](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`.
[](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.