mirror of
https://github.com/koala73/worldmonitor.git
synced 2026-04-25 17:14:57 +02:00
Sanctions seed has been failing since PR #2008 with: ERR_MODULE_NOT_FOUND: Cannot find package 'sax' PR #2008 replaced fast-xml-parser with SAX streaming but only updated the root package.json, not scripts/package.json which is the Railway container manifest. Railway runs npm ci from scripts/ so sax was never installed. Add sax ^1.6.0 and remove the now-unused fast-xml-parser. Also raise consumer-prices SEED_META maxStaleMin from 90-120 to 1500 min. publish.ts runs once daily at 02:30 UTC; all five consumer-prices keys were permanently STALE_SEED for 22+ hours/day after the daily run. 1500 min (25h) = 24h cadence + 1h grace before warning.
22 lines
517 B
JSON
22 lines
517 B
JSON
{
|
|
"name": "worldmonitor-railway-relay",
|
|
"version": "1.1.0",
|
|
"description": "Railway relay: AIS/OpenSky + RSS proxy + Telegram OSINT poller",
|
|
"main": "ais-relay.cjs",
|
|
"scripts": {
|
|
"start": "node ais-relay.cjs",
|
|
"telegram:session": "node telegram/session-auth.mjs"
|
|
},
|
|
"dependencies": {
|
|
"@anthropic-ai/sdk": "^0.79.0",
|
|
"@aws-sdk/client-s3": "^3.1009.0",
|
|
"sax": "^1.6.0",
|
|
"h3-js": "^4.2.1",
|
|
"telegram": "^2.22.2",
|
|
"ws": "^8.18.0"
|
|
},
|
|
"engines": {
|
|
"node": ">=20"
|
|
}
|
|
}
|