Files
ContainerFlow/package.json
T
RGJorge b079422de8 v0.1.6 — project aliases (closes #3)
Adds human-readable aliases for project groups (the wrapping label
around services), useful when orchestrators like Coolify or Dokploy
generate cryptic project keys.

- New server module `src/server/project-aliases.ts` with load/save
  helpers, a 64-char max, and control-char sanitization.
- New endpoints: GET /api/project-aliases, PUT /api/project-aliases,
  DELETE /api/project-aliases/:project. Aliases also returned in
  /api/init for first-paint hydration.
- GroupNode header is now click-to-edit: short names prefill so users
  can tweak them, long cryptic names start blank for a fresh alias.
  The compose suffix (PROD/DEV/etc) stays visible and is not part of
  the alias. Reset icon appears only when an alias differs from the
  original project key.
- App.tsx wires the alias state, the project filter dropdown shows
  the alias plus the compose suffix list joined by " - ".
- MonitoringPage uses the alias in: project filter dropdown, the
  totals card title, and per-service card subtitles (which show only
  THAT service's compose, not the whole project list).
- engine/layout.ts exports getComposeKey and stores the raw `project`
  key in group node data so the same alias scope matches the filter.
- i18n: 4 new keys (EN + ES) for rename / reset / save / cancel.
2026-05-16 03:16:43 +00:00

47 lines
1.2 KiB
JSON

{
"name": "containerflow",
"version": "0.1.6",
"license": "AGPL-3.0-or-later",
"author": "Jorge Gonzalez D. (RGJorge)",
"type": "module",
"scripts": {
"dev": "concurrently \"bun run dev:server -- --all\" \"bun run dev:client\"",
"dev:server": "bun --watch src/server/index.ts",
"dev:client": "vite",
"build": "vite build",
"start": "bun run src/server/index.ts --all",
"preview": "bun run build && bun run start",
"mcp": "bun src/server/mcp.ts",
"setup:mcp": "bun scripts/install-mcp.ts",
"test": "vitest run",
"test:watch": "vitest",
"typecheck": "tsc --noEmit"
},
"dependencies": {
"@modelcontextprotocol/sdk": "^1.27.1",
"dockerode": "^4",
"hono": "^4",
"html-to-image": "^1.11.13",
"lucide-react": "^0.577.0",
"yaml": "^2",
"zod": "^3"
},
"devDependencies": {
"@dagrejs/dagre": "^1",
"@tailwindcss/vite": "^4",
"@types/bun": "^1.3.13",
"@types/dockerode": "^3",
"@types/react": "^19",
"@types/react-dom": "^19",
"@vitejs/plugin-react": "^4",
"@xyflow/react": "^12",
"concurrently": "^9",
"react": "^19",
"react-dom": "^19",
"tailwindcss": "^4",
"typescript": "^5",
"vite": "^6",
"vitest": "^4.1.5"
}
}