Overview
contract-kit is the meta package for Contract Kit. It re-exports the core framework building blocks so you can get started with a single dependency.
Installation
What’s Included
The meta package re-exports:- @contract-kit/core - Contract definitions and builders
- @contract-kit/client - HTTP client for contract-based requests
- @contract-kit/application - Use case factory (commands/queries)
- @contract-kit/domain - Domain modeling helpers
- @contract-kit/errors - Error catalog and utilities
- @contract-kit/config - Environment-first configuration
- @contract-kit/ports - Ports and provider system
- @contract-kit/openapi - OpenAPI 3.1 generation
What’s Not Included
Install these separately if you need them:- Server adapters -
@contract-kit/next,@contract-kit/server - React integrations -
@contract-kit/react,@contract-kit/react-query,@contract-kit/react-hook-form - Providers -
@contract-kit/provider-*