mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-15 01:41:08 +02:00
news-ingester and apps/api both shipped their own copy of rss-parser + jsdom + Readability glue. Single source now in packages/shared-rss. Adds discoverFeeds (rel=alternate + common-paths probe) and validateFeed which News Research will use. JSDOM virtualConsole is silenced once, in the package, instead of in two parallel call sites. - packages/shared-rss: parse, extract, discover, validate - services/news-ingester: drop local parsers, depend on @mana/shared-rss - apps/api: drop @mozilla/readability + jsdom direct deps, use shared Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
34 lines
913 B
JSON
34 lines
913 B
JSON
{
|
|
"name": "@mana/api",
|
|
"version": "1.0.0",
|
|
"private": true,
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "bun --hot run src/index.ts",
|
|
"build": "bun build src/index.ts --outdir dist --target bun",
|
|
"start": "bun run dist/index.js",
|
|
"type-check": "tsc --noEmit",
|
|
"db:generate": "drizzle-kit generate",
|
|
"db:push": "drizzle-kit push",
|
|
"db:push:presi": "drizzle-kit push --config=drizzle.presi.config.ts"
|
|
},
|
|
"dependencies": {
|
|
"@ai-sdk/openai-compatible": "^2.0.41",
|
|
"@mana/media-client": "workspace:*",
|
|
"@mana/shared-hono": "workspace:*",
|
|
"@mana/shared-rss": "workspace:*",
|
|
"@mana/shared-storage": "workspace:*",
|
|
"@mana/shared-types": "workspace:^",
|
|
"ai": "^6.0.154",
|
|
"drizzle-orm": "^0.38.0",
|
|
"hono": "^4.7.0",
|
|
"postgres": "^3.4.0",
|
|
"rrule": "^2.8.1",
|
|
"zod": "^3.23.0"
|
|
},
|
|
"devDependencies": {
|
|
"@types/bun": "latest",
|
|
"drizzle-kit": "^0.30.0",
|
|
"typescript": "^5.8.0"
|
|
}
|
|
}
|