- v2 foundation: ActionResult/DevError/ActorContext/ResourceRef/Execution types - ActionRegistry + ResourceRegistry (namespaced types, FAIL FAST on duplicates) - ActionRuntime pipeline: validate -> authorize -> middleware -> handler -> output validation -> audit -> event -> execution persisted (devos_action_executions) - Legacy bridge: v1 services registered as devops.*/core.* resources & actions (47 actions, 9 resources) - Unified Action API: POST /api/v2/actions/:actionId, GET discovery (actions/resources) - 10 v2 unit tests (registry fail-fast, validation, authz, failure audit, events)
37 lines
1.4 KiB
JSON
37 lines
1.4 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=/ --minify --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",
|
|
"zod": "^4.6.1"
|
|
}
|
|
}
|