mirror of
https://github.com/different-ai/openwork
synced 2026-04-26 01:25:10 +02:00
* Add Den org auth model and template APIs Wire Better Auth organizations with TypeId-backed schema and migrations, enforce owner/admin org permissions, and add org-scoped template create/list/delete endpoints. Simplify the Den org dashboard UX and update Docker dev packaging paths for the ee apps/packages layout. * Add manual-safe org migration SQL Provide a Vitess-compatible version of the organization migration without statement-breakpoint markers or unsupported IF NOT EXISTS column syntax so operators can run it directly in SQL consoles. --------- Co-authored-by: src-opn <src-opn@users.noreply.github.com>
40 lines
1.3 KiB
JSON
40 lines
1.3 KiB
JSON
{
|
|
"name": "@openwork-ee/den-controller",
|
|
"private": true,
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "npm run build:den-db && OPENWORK_DEV_MODE=1 tsx watch src/index.ts",
|
|
"build": "npm run build:den-db && tsc -p tsconfig.json",
|
|
"build:den-db": "pnpm --filter @openwork-ee/den-db build",
|
|
"start": "node dist/index.js",
|
|
"db:migrate:sql": "node scripts/run-sql-migrations.mjs",
|
|
"test:smoke:daytona": "pnpm build && node scripts/daytona-provisioner-smoke.mjs",
|
|
"test:e2e:daytona": "node scripts/e2e-daytona-worker.mjs",
|
|
"test:e2e:worker-limit": "node scripts/e2e-worker-limit.mjs",
|
|
"db:generate": "drizzle-kit generate",
|
|
"db:migrate": "drizzle-kit migrate",
|
|
"auth:generate": "npx @better-auth/cli@latest generate --config src/auth.ts --output src/db/better-auth.schema.ts --yes"
|
|
},
|
|
"dependencies": {
|
|
"@openwork-ee/den-db": "workspace:*",
|
|
"@openwork-ee/utils": "workspace:*",
|
|
"@daytonaio/sdk": "^0.150.0",
|
|
"better-call": "^1.1.8",
|
|
"better-auth": "^1.4.18",
|
|
"cors": "^2.8.5",
|
|
"dotenv": "^16.4.5",
|
|
"drizzle-orm": "^0.45.1",
|
|
"express": "^4.19.2",
|
|
"mysql2": "^3.11.3",
|
|
"zod": "^4.3.6"
|
|
},
|
|
"devDependencies": {
|
|
"@types/cors": "^2.8.17",
|
|
"@types/express": "^4.17.21",
|
|
"@types/node": "^20.11.30",
|
|
"drizzle-kit": "^0.31.9",
|
|
"tsx": "^4.15.7",
|
|
"typescript": "^5.5.4"
|
|
}
|
|
}
|