dryvPacks

@dryv/typeormv0.6.0

TypeORM entities with typed columns, relations, checks and indexes.

TypeORM EntitiesPersistenceInjectPublished 7 days ago2 downloads

dryv pack add @dryv/typeorm
337 BRaw ↗
terminal
#!/usr/bin/env bash
# Typecheck the generated entities against the real typeorm, check the metadata they register,
# then run the generated integrity spec (schema sync into pg-mem plus contract mapping checks).
set -euo pipefail
bun install --silent
bunx tsc -p tsconfig.json
bun test entities.test.ts
bunx vitest run out --reporter=dot