feat: add typescript monorepo with pnpm workspaces and prisma database package

- root package.json + pnpm-workspace.yaml + tsconfig.base.json
- packages/types: canonical enums (TenantStatus, AgentState)
- packages/shared: re-exports types, base for future utilities
- packages/database: Prisma 7 schema with driver adapter (pg), initial
  tenants table matching agente.md section 29, first migration applied
This commit is contained in:
2026-08-27 23:22:38 -03:00
parent 2f130622d1
commit d1addb0a31
19 changed files with 1615 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
{
"name": "@b2bcall/shared",
"version": "0.0.1",
"private": true,
"main": "src/index.ts",
"types": "src/index.ts",
"scripts": {
"typecheck": "tsc --noEmit"
},
"dependencies": {
"@b2bcall/types": "workspace:*"
},
"devDependencies": {
"typescript": "^5.7.0"
}
}

View File

@@ -0,0 +1 @@
export * from "@b2bcall/types";

View File

@@ -0,0 +1,8 @@
{
"extends": "../../tsconfig.base.json",
"compilerOptions": {
"outDir": "dist",
"rootDir": "src"
},
"include": ["src"]
}