- Add ingest-sources with retries, sitemap index/urlset parsing, and HTML meta extraction - Preserve original article URLs in store; dedupe ids via canonical URL hash - Extend andebol.net.sources.json: FPA, IHF RSS, Handball Planet, Eurohandball sitemap (filtered) - Optional shortlist ?topic= query; strip common tracking query params in canonicalUrl - Add npm test (node:test) for sitemap and html-meta helpers Paperclip-Agent: Tiago Neves (urlKey tiago-neves; id 5d084b36-f38f-42a5-a92a-520005afda4f) Paperclip-Issue: BIT-711 Paperclip-Run: 83b79f64-d6b6-4efd-ab06-c5cc7d687169 Made-with: Cursor
26 lines
709 B
JSON
26 lines
709 B
JSON
{
|
|
"name": "news-writer-pipeline",
|
|
"version": "1.0.0",
|
|
"private": true,
|
|
"type": "module",
|
|
"description": "Aggregator-first writer pipeline for andebol.net (shortlist, token metrics, WP drafts)",
|
|
"scripts": {
|
|
"build": "tsc",
|
|
"typecheck": "tsc --noEmit",
|
|
"test": "npm run build && node --test dist/*.test.js",
|
|
"aggregator": "node dist/aggregator-server.js",
|
|
"aggregator:dev": "tsx src/aggregator-server.ts",
|
|
"cycle": "node dist/run-cycle.js",
|
|
"cycle:dev": "tsx src/run-cycle.ts"
|
|
},
|
|
"dependencies": {
|
|
"fastify": "^4.28.1",
|
|
"rss-parser": "^3.13.0"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^20.14.0",
|
|
"tsx": "^4.15.0",
|
|
"typescript": "^5.4.5"
|
|
}
|
|
}
|