|
2 | 2 | "name": "@crowd/packages-worker", |
3 | 3 | "private": true, |
4 | 4 | "scripts": { |
5 | | - "start:packages-worker": "SERVICE=packages-worker tsx src/bin/packages-worker.ts", |
| 5 | + "start:packages-worker": "CROWD_TEMPORAL_TASKQUEUE=packages-worker SERVICE=packages-worker tsx src/bin/packages-worker.ts", |
6 | 6 | "start:github-repos-enricher": "SERVICE=github-repos-enricher tsx src/bin/github-repos-enricher.ts", |
7 | | - "dev:packages-worker": "SERVICE=packages-worker LOG_LEVEL=trace nodemon --watch src --watch ../../libs --ext ts --exec tsx --inspect=0.0.0.0:9233 src/bin/packages-worker.ts", |
| 7 | + "dev:packages-worker": "CROWD_TEMPORAL_TASKQUEUE=packages-worker SERVICE=packages-worker LOG_LEVEL=trace nodemon --watch src --watch ../../libs --ext ts --exec tsx --inspect=0.0.0.0:9233 src/bin/packages-worker.ts", |
8 | 8 | "dev:github-repos-enricher": "SERVICE=github-repos-enricher LOG_LEVEL=trace nodemon --watch src --watch ../../libs --ext ts --exec tsx --inspect=0.0.0.0:9234 src/bin/github-repos-enricher.ts", |
9 | | - "dev:packages-worker:local": "set -a && . ../../../backend/.env.dist.local && . ../../../backend/.env.override.local && set +a && SERVICE=packages-worker LOG_LEVEL=trace nodemon --watch src --watch ../../libs --ext ts --exec tsx --inspect=0.0.0.0:9233 src/bin/packages-worker.ts", |
| 9 | + "dev:packages-worker:local": "set -a && . ../../../backend/.env.dist.local && . ../../../backend/.env.override.local && set +a && CROWD_TEMPORAL_TASKQUEUE=packages-worker SERVICE=packages-worker LOG_LEVEL=trace nodemon --watch src --watch ../../libs --ext ts --exec tsx --inspect=0.0.0.0:9233 src/bin/packages-worker.ts", |
10 | 10 | "dev:github-repos-enricher:local": "set -a && . ../../../backend/.env.dist.local && . ../../../backend/.env.override.local && set +a && SERVICE=github-repos-enricher LOG_LEVEL=trace nodemon --watch src --watch ../../libs --ext ts --exec tsx --inspect=0.0.0.0:9234 src/bin/github-repos-enricher.ts", |
11 | 11 | "lint": "npx eslint --ext .ts src --max-warnings=0", |
12 | 12 | "format": "npx prettier --write \"src/**/*.ts\"", |
13 | 13 | "format-check": "npx prettier --check .", |
14 | 14 | "tsc-check": "tsc --noEmit" |
15 | 15 | }, |
16 | 16 | "dependencies": { |
| 17 | + "@crowd/archetype-standard": "workspace:*", |
| 18 | + "@crowd/archetype-worker": "workspace:*", |
17 | 19 | "@crowd/common": "workspace:*", |
18 | 20 | "@crowd/data-access-layer": "workspace:*", |
19 | 21 | "@crowd/database": "workspace:*", |
20 | 22 | "@crowd/logging": "workspace:*", |
| 23 | + "@temporalio/client": "~1.11.8", |
| 24 | + "@temporalio/workflow": "~1.11.8", |
21 | 25 | "tsx": "^4.7.1", |
22 | 26 | "typescript": "^5.6.3" |
23 | 27 | }, |
|
0 commit comments