Ctrl K
ComunidadGuías…

orchestrator/package.json

Rama main · réplica de lectura del repositorio original.

Archivo original ↗Preguntar a KiBot
{
  "name": "openquok-orchestrator",
  "version": "1.0.0",
  "private": true,
  "description": "Flowcraft workers and long-running orchestration processes",
  "type": "module",
  "license": "AGPL-3.0-or-later",
  "main": "./dist/index.js",
  "types": "./index.ts",
  "exports": {
    ".": {
      "types": "./index.ts",
      "import": "./dist/index.js",
      "default": "./dist/index.js"
    },
    "./*": "./dist/*"
  },
  "scripts": {
    "build": "pnpm exec tsc -p tsconfig.build.json && pnpm exec tsc-alias -p tsconfig.build.json --resolve-full-paths --resolve-full-extension .js",
    "script:check-env:file": "tsx scripts/checkOrchestratorEnvFile.ts",
    "script:clear-flowcraft-runs": "cross-env NODE_ENV=development tsx scripts/clearFlowcraftRuns.ts",
    "script:free-openquok-redis-memory": "cross-env NODE_ENV=development tsx scripts/freeOpenquokRedisMemory.ts",
    "script:clear-redis-history": "cross-env NODE_ENV=development tsx scripts/freeOpenquokRedisMemory.ts -- --targets=history",
    "script:railway:env:sync-worker-env": "tsx scripts/railwaySetupWorkerEnv.ts",
    "start:worker:integration-refresh-bullmq": "node dist/worker/runIntegrationRefreshBullMqWorker.js",
    "start:worker:housekeeping-bullmq": "node dist/worker/runHousekeepingBullMqWorker.js",
    "start:worker:notification-email-bullmq": "node dist/worker/runHousekeepingBullMqWorker.js",
    "start:worker:scheduled-social-post-bullmq": "node dist/worker/runScheduledSocialPostBullMqWorker.js",
    "dev:worker:integration-refresh-bullmq": "cross-env NODE_ENV=development ORCHESTRATOR_WORKER_HEALTH_PORT=3091 tsx worker/runIntegrationRefreshBullMqWorker.ts",
    "dev:worker:housekeeping-bullmq": "cross-env NODE_ENV=development ORCHESTRATOR_WORKER_HEALTH_PORT=3091 tsx worker/runHousekeepingBullMqWorker.ts",
    "dev:worker:notification-email-bullmq": "cross-env NODE_ENV=development ORCHESTRATOR_WORKER_HEALTH_PORT=3091 tsx worker/runHousekeepingBullMqWorker.ts",
    "dev:worker:scheduled-social-post-bullmq": "cross-env NODE_ENV=development ORCHESTRATOR_WORKER_HEALTH_PORT=3091 tsx worker/runScheduledSocialPostBullMqWorker.ts",
    "worker:integration-refresh-bullmq": "pnpm dev:worker:integration-refresh-bullmq",
    "worker:housekeeping-bullmq": "pnpm dev:worker:housekeeping-bullmq",
    "worker:notification-email-bullmq": "pnpm dev:worker:notification-email-bullmq",
    "worker:scheduled-social-post-bullmq": "pnpm dev:worker:scheduled-social-post-bullmq",
    "railway:env:sync:integration-refresh:prod": "pnpm run script:railway:env:sync-worker-env -- --no-create-if-missing --skip-deploys --service-name openquok-worker-integration-refresh --railpack-config-file orchestrator/railpack.integration-refresh.json --env-file .env.production.local --var ORCHESTRATOR_INTEGRATION_REFRESH_TRANSPORT=bullmq",
    "railway:env:sync:housekeeping:prod": "pnpm run script:railway:env:sync-worker-env -- --no-create-if-missing --skip-deploys --service-name openquok-worker-housekeeping --railpack-config-file orchestrator/railpack.housekeeping.json --env-file .env.production.local --var ORCHESTRATOR_NOTIFICATION_EMAIL_TRANSPORT=bullmq",
    "railway:env:sync:scheduled-social-post:prod": "pnpm run script:railway:env:sync-worker-env -- --no-create-if-missing --skip-deploys --service-name openquok-worker-scheduled-social-post --railpack-config-file orchestrator/railpack.scheduled-social-post.json --env-file .env.production.local --var ORCHESTRATOR_SCHEDULED_SOCIAL_POST_TRANSPORT=bullmq",
    "test:unit": "cross-env NODE_ENV=development jest --testPathPattern=unit\\.test\\.ts --no-coverage",
    "test:unit:refresh-token-workflow:in-process": "cross-env NODE_ENV=development jest flows/refreshTokenWorkflow.unit.test.ts --no-coverage",
    "test:unit:refresh-token-workflow:bullmq": "cross-env NODE_ENV=development ORCHESTRATOR_INTEGRATION_REFRESH_TRANSPORT=bullmq jest --config=jest.bullmq.config.js --no-coverage",
    "test:unit:notification-email-workflow": "cross-env NODE_ENV=development jest flows/notificationEmailWorkflow.unit.test.ts --no-coverage",
    "test:unit:scheduled-social-post-workflow": "cross-env NODE_ENV=development jest flows/scheduledSocialPostWorkflow.unit.test.ts --no-coverage",
    "test:unit:missing-scheduled-post-reconciliation": "cross-env NODE_ENV=development jest flows/missingScheduledPostReconciliation.unit.test.ts --no-coverage"
  },
  "dependencies": {
    "@flowcraft/bullmq-adapter": "^1.4.3",
    "backend": "workspace:*",
    "bullmq": "^5.73.0",
    "openquok-common": "workspace:*",
    "flowcraft": "^2.9.2",
    "ioredis": "^5.10.1"
  },
  "devDependencies": {
    "@babel/core": "^7.26.0",
    "@babel/preset-env": "^7.26.0",
    "@faker-js/faker": "^10.3.0",
    "babel-jest": "^29.7.0",
    "@types/jest": "^29.5.14",
    "@types/node": "^22.9.0",
    "cross-env": "^7.0.3",
    "jest": "^29.7.0",
    "ts-jest": "^29.2.5",
    "tsc-alias": "^1.8.16",
    "tsx": "^4.19.2",
    "typescript": "^5.6.3"
  }
}