A monorepo containing Dart packages for Supabase code generation.
| Package | Description | pub.dev |
|---|---|---|
| supabase_schema_core | Internal package for schema fetching and type mapping | |
| supafreeze | Generate Freezed models from Supabase schema | |
| suparepo | Generate repositories, RPC clients, and Edge Function clients |
dart pub add supafreezeSee supafreeze README for details.
dart pub add supareposuparepo generates:
- Table repositories — CRUD operations, pagination, relation queries
- RPC clients — Type-safe methods for Supabase SQL functions
- Edge Function clients — Typed or untyped clients for Edge Functions
See suparepo README for details.
This repository uses melos for managing the monorepo.
dart pub global activate melos
melos bootstrap# Analyze all packages
melos exec -- dart analyze .
# Format all packages
melos exec -- dart format .
# Run tests in all packages
melos exec -- dart testMIT