Skip to content

Latest commit

 

History

12 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ORMX

A monorepo for unified ORM utilities. Write your queries once with a common filter format, then run them on Prisma, Drizzle or Supabase.

Packages

Package Version Description Docs
@ormx/filters 0.2.0 Unified where, select, order and pagination across Prisma, Drizzle and Supabase README
@ormx/datasources 0.2.0 Unified CRUD datasource with transactions for Drizzle, Prisma and Supabase README

Both packages target PostgreSQL, and both expose a sub-path per ORM so you only load the one you use.

Development

bun install
bun run build      # builds every package
bun run test       # builds filters, then runs both suites (Drizzle and Prisma run against an embedded PGlite database)
bun run typecheck  # type-checks sources and tests
bun run check      # lints and formats with Biome

@ormx/datasources resolves @ormx/filters through its published entry points, so the filters package has to be built before its tests and type-check run. The root test and typecheck scripts do that first.

Releasing

Publish with bun publish from each package directory, or with npm. The version of @ormx/filters that @ormx/datasources depends on is a plain semver range, so both tools produce an installable tarball.

License

MIT

About

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages