Files
sim/packages/db/package.json
T
Vikhyath Mondreti ef7c8e24b2 feat(platform): settings permissions, admin, billing attribution (#5545)
* fix(invites): preserve active organization for external access

Keep organization activation server-owned so failed membership checks cannot clear a valid session context.

* feat(admin, billing, settings): cleanup settings visibility, billing actor resolution, new admin routes

* address comments

* chore(db): reset pending migrations before staging merge

Remove locally generated migrations so they can be regenerated against the latest staging schema without preserving stale snapshots or numbering.

* regen migrations

* address comments

* chore(db): reset generated migrations before staging merge

Remove this branch's generated migrations so they can be regenerated against the latest staging schema with fresh numbering.

* upgrade global work

* fix lint

* address comments

* legacy callbacks correctness

* address comments

* update

* guardrail attribution
2026-07-13 00:53:49 -07:00

47 lines
1.2 KiB
JSON

{
"name": "@sim/db",
"version": "0.1.0",
"private": true,
"type": "module",
"license": "Apache-2.0",
"engines": {
"bun": ">=1.2.13",
"node": ">=20.0.0"
},
"exports": {
".": {
"types": "./index.ts",
"default": "./index.ts"
},
"./schema": {
"types": "./schema.ts",
"default": "./schema.ts"
}
},
"scripts": {
"db:push": "bunx drizzle-kit push --config=./drizzle.config.ts",
"db:migrate": "bun --env-file=.env run ./scripts/migrate.ts",
"db:reconcile-workspace-storage": "bun --env-file=.env run ./scripts/reconcile-workspace-storage.ts",
"db:studio": "bunx drizzle-kit studio --config=./drizzle.config.ts",
"test": "vitest run",
"type-check": "tsc --noEmit",
"lint": "biome check --write --unsafe .",
"lint:check": "biome check .",
"format": "biome format --write .",
"format:check": "biome format ."
},
"dependencies": {
"@sim/logger": "workspace:*",
"@sim/utils": "workspace:*",
"drizzle-orm": "^0.45.2",
"postgres": "^3.4.5",
"zod": "4.3.6"
},
"devDependencies": {
"@sim/tsconfig": "workspace:*",
"drizzle-kit": "^0.31.4",
"@types/node": "^22.10.5",
"typescript": "^7.0.2"
}
}