- Monorepo: NestJS API (Fastify) + React web (antd/ProComponents) + shared packages - PostgreSQL/Prisma (unified resources, relations graph, audit, events, jobs) - Auth/RBAC/workspace isolation, credential vault (AES-256-GCM) - Servers/SSH, Docker discovery & lifecycle, Job Center - Websites & deployments (git provider credential clone, env, health verification) - Domains/DNS (Cloudflare adapter), certificates (TLS probe), monitoring - Automation (cron/event/webhook HMAC + notifications), AI Gateway, MCP (29 tools) - AI chat window (LLM function-calling + rules fallback, SSE streaming, approvals) - Notes: Vditor WYSIWYG markdown editor, non-blocking autosave - Tests: 35 unit/security tests; UI audit clean (desktop+mobile, deep links)
36 lines
1.3 KiB
JSON
36 lines
1.3 KiB
JSON
{
|
|
"name": "devos",
|
|
"version": "1.0.0",
|
|
"private": true,
|
|
"description": "DevOS — Developer Work OS (modular monolith: NestJS API + React web + shared packages)",
|
|
"workspaces": [
|
|
"apps/*",
|
|
"packages/*"
|
|
],
|
|
"scripts": {
|
|
"build": "bun run build:packages && bun run build:api && bun run build:web",
|
|
"build:packages": "bunx tsc -p packages/types/tsconfig.json && bunx tsc -p packages/auth/tsconfig.json && bunx tsc -p packages/api-client/tsconfig.json",
|
|
"build:api": "bunx tsc -p apps/api/tsconfig.build.json",
|
|
"build:web": "bun build apps/web/index.html --outdir apps/web/dist --public-path=/ --production",
|
|
"dev:api": "bunx tsc -w -p apps/api/tsconfig.json",
|
|
"dev:api:run": "bun --watch apps/api/dist/main.js",
|
|
"dev:web": "bun --hot apps/web/index.html",
|
|
"typecheck": "bunx tsc -p apps/api/tsconfig.json --noEmit && bunx tsc -p apps/web/tsconfig.json --noEmit",
|
|
"test": "bun test",
|
|
"db:migrate": "bunx prisma migrate deploy --schema=prisma/schema.prisma",
|
|
"db:seed": "bun run prisma/seed.ts",
|
|
"docker:up": "docker compose up -d postgres redis",
|
|
"docker:down": "docker compose down"
|
|
},
|
|
"dependencies": {
|
|
"@prisma/client": "6.19.3",
|
|
"fastify": "^5.12.3"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^24.0.0",
|
|
"bun-types": "^1.4.2",
|
|
"prisma": "^6.10.0",
|
|
"typescript": "^5.8.0"
|
|
}
|
|
}
|