Files
news-platform/writer-pipeline/package.json
T
Artur Moreira 512ab3bca6 feat(writer-pipeline): multi-source ingest (RSS, sitemap, HTML) for BIT-711
- 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
2026-04-02 09:09:07 +00:00

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"
}
}