Archived
Root cause: Google News RSS items carry no enclosures; pipeline fell back to og:image from the news.google.com interstitial, which serves ONE shared Google-branded tile (lh3.googleusercontent.com/J6_coFbo...) for every article. 601 rows shared that URL (maple 243 / finance 358). New image-guard blocks *.googleusercontent.com images at ingest; 16/16 regression tests; prod DBs migrated tile->NULL; images rebuilt technews:10 finance:4 maple-brief:11 and deployed.
47 lines
1.3 KiB
JSON
47 lines
1.3 KiB
JSON
{
|
|
"name": "maple-brief-aggregator",
|
|
"version": "1.0.0",
|
|
"private": true,
|
|
"description": "Automated Canadian news aggregator with AI-assisted content synthesis and Google AdSense integration.",
|
|
"scripts": {
|
|
"dev": "next dev",
|
|
"build": "prisma generate && next build",
|
|
"start": "next start",
|
|
"typecheck": "tsc --noEmit",
|
|
"test": "tsx tests/llm-parse.test.ts && tsx tests/image-guard.test.ts && tsx tests/image-proxy.test.ts",
|
|
"db:generate": "prisma generate",
|
|
"db:push": "prisma db push",
|
|
"db:seed": "tsx prisma/seed.ts",
|
|
"db:studio": "prisma studio",
|
|
"migrate": "prisma migrate dev --name init"
|
|
},
|
|
"prisma": {
|
|
"seed": "tsx prisma/seed.ts"
|
|
},
|
|
"dependencies": {
|
|
"@prisma/client": "^5.19.0",
|
|
"cheerio": "^1.0.0",
|
|
"next": "^14.2.35",
|
|
"node-cron": "^3.0.3",
|
|
"react": "18.3.1",
|
|
"react-dom": "18.3.1",
|
|
"rss-parser": "^3.13.0"
|
|
},
|
|
"devDependencies": {
|
|
"@resvg/resvg-js": "^2.6.2",
|
|
"@types/node": "^20",
|
|
"@types/node-cron": "^3.0.11",
|
|
"@types/react": "^18",
|
|
"@types/react-dom": "^18",
|
|
"autoprefixer": "^10.4.20",
|
|
"postcss": "^8.4.47",
|
|
"prisma": "^5.19.0",
|
|
"tailwindcss": "^3.4.13",
|
|
"tsx": "^4.19.1",
|
|
"typescript": "^5.6.2"
|
|
},
|
|
"engines": {
|
|
"node": ">=18.17"
|
|
}
|
|
}
|