Files
Primora/package.json
T
Tomas Dvorak e25eb92339 feat: phase 4 integrations — connectors, rybbit analytics, webhooks
- core.integrations (migration 00005) with AES-256-GCM-encrypted
  credentials (PRIMORA_ENCRYPTION_KEY, hex/base64, dev fallback);
  has_credentials serialization only — secrets never leave the server
- /projects/:id/integrations list/create/delete/test; health check hits
  the stored base URL with a 5s timeout and records status
- Rybbit connector: GET …/integrations/:id/analytics proxies
  /api/organizations + /api/sites/* server-side into a normalized shape
- core.webhooks + core.webhook_deliveries; CRUD, deliveries, test, and
  POST …/deploy-markers. Events: issue.created (new fingerprint on
  ingest), deploy.marker, webhook.test. X-Primora-Signature HMAC-SHA256
  over the raw body; in-process dispatcher, 3 attempts, quadratic
  backoff, 10s timeout, pending-scan on boot
- HTTPS enforced for public targets; HTTP allowed for loopback/private/
  self-hosted sinks
- Integrations page (connectors + webhooks tabs, inline analytics,
  delivery log, secret-shown-once), demo-mode stubs
- 12 new primora_* MCP tools
- workspace 0.4.0

Authored By: TDvorak <[email protected]>
2026-09-16 18:47:31 +02:00

23 lines
999 B
JSON

{
"name": "primora",
"version": "0.4.0",
"private": true,
"packageManager": "[email protected]",
"workspaces": [
"apps/*",
"packages/*"
],
"scripts": {
"build": "npm run build --workspaces --if-present",
"dev:auth": "npm run dev --workspace @primora/auth",
"dev:frontend": "npm run dev --workspace @primora/frontend",
"generate:client": "npm run generate --workspace @primora/api-client",
"generate:sqlc": "cd apps/backend && go run github.com/sqlc-dev/sqlc/cmd/[email protected] generate",
"test:backend": "cd apps/backend && go test ./...",
"typecheck:frontend": "cd apps/frontend && npx tsc -p tsconfig.json --noEmit",
"check:generated": "npm run generate:sqlc && npm run generate:client && git diff --exit-code -- apps/backend/internal/database/db packages/api-client/src/generated",
"check": "npm run test:backend && npm run typecheck:frontend && npm run build && npm run check:generated",
"test": "npm run test --workspaces --if-present"
}
}