The assemble lane's card pass resolves sharp (SHARP_MODULE_PATH or require.resolve) like the api does; the worker image never had it, so every assemble job failed 'sharp not found'.
26 lines
749 B
JSON
26 lines
749 B
JSON
{
|
|
"name": "@tactical-media-broadcast-hub/media-worker",
|
|
"private": true,
|
|
"version": "0.1.0",
|
|
"scripts": {
|
|
"dev": "tsx watch src/main.ts",
|
|
"build": "tsc -p tsconfig.json",
|
|
"lint": "eslint src",
|
|
"typecheck": "tsc -p tsconfig.json --noEmit",
|
|
"test": "node --import tsx --test src/**/*.test.ts",
|
|
"build:helpers": "sh scripts/build-helpers.sh",
|
|
"smoke:cpu": "node --import tsx src/compositor/cpu-smoke.ts --seconds 30",
|
|
"soak": "node --import tsx src/compositor/soak.ts"
|
|
},
|
|
"dependencies": {
|
|
"@aws-sdk/client-s3": "^3.1146.0",
|
|
"pg": "^8.23.1",
|
|
"pino": "^9.3.2",
|
|
"sharp": "^0.35.5"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^22.5.0",
|
|
"@types/pg": "^8.23.1",
|
|
"tsx": "^4.17.0"
|
|
}
|
|
}
|