Export the news proxy so a host's local server can mount it

`./server/providers/news` (node) with its own package boundary, so a host composing its own local providers can serve /api/news from GEV_NEWS_ORIGIN as Core's standalone server does.
This commit is contained in:
Denis Groshev committed 2026-11-06 00:45:25 +01:00
1 parent 5bb489d1fb
commit 138cc77a11
2 files changed
+17

No files matched your search

+14
View File
@@ -491,6 +491,20 @@
],
"external": []
},
"news-provider": {
"runtime": "node",
"exports": ["./server/providers/news"],
"modules": [
"server/providers/news.js",
"server/providers/common/http.js",
"src/layers/news/source.js",
"src/layers/news/records.js",
"src/sources/httpBody.js",
"src/sources/capability.js",
"src/i18n/marker.js"
],
"external": []
},
"openai-provider": {
"runtime": "node",
"exports": ["./server/providers/openai"],