mirror of
https://github.com/jakejarvis/sofa.git
synced 2026-10-16 07:25:44 -04:00
Validate only a baseline of tables present in every release since v0.1.0 (plus __drizzle_migrations) instead of the full current schema, so restore's post-swap runMigrations() can bring older backups up to date. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
36 lines
1.0 KiB
JSON
36 lines
1.0 KiB
JSON
{
|
|
"name": "@sofa/db",
|
|
"version": "0.2.0",
|
|
"private": true,
|
|
"type": "module",
|
|
"exports": {
|
|
"./backup-tables": "./src/backup-tables.ts",
|
|
"./client": "./src/client.ts",
|
|
"./migrate": "./src/migrate.ts",
|
|
"./schema": "./src/schema.ts",
|
|
"./queries/*": "./src/queries/*.ts",
|
|
"./seed-platforms": "./src/seed-platforms.ts"
|
|
},
|
|
"scripts": {
|
|
"lint": "oxlint",
|
|
"format": "oxfmt --config ../../.oxfmtrc.json",
|
|
"format:check": "oxfmt --check --config ../../.oxfmtrc.json",
|
|
"check-types": "tsc --noEmit",
|
|
"db:generate": "bun --bun drizzle-kit generate",
|
|
"db:migrate": "bun --bun drizzle-kit migrate",
|
|
"db:push": "bun --bun drizzle-kit push",
|
|
"db:studio": "bun --bun drizzle-kit studio"
|
|
},
|
|
"dependencies": {
|
|
"@sofa/config": "workspace:*",
|
|
"@sofa/logger": "workspace:*",
|
|
"drizzle-orm": "catalog:"
|
|
},
|
|
"devDependencies": {
|
|
"@sofa/tsconfig": "workspace:*",
|
|
"@types/bun": "catalog:",
|
|
"drizzle-kit": "catalog:",
|
|
"typescript": "catalog:"
|
|
}
|
|
}
|