Files
ai-news-writer/package.json
Xika 1c06da628a
ai-news-writer-ci / test (pull_request) Successful in 1m16s
fix(deps): BIT-25575 pin undici to ^7.28.0 for Node 20 compatibility
Corrects the undici override from >=7.28.0 (which resolved to 8.x) to
^7.28.0. undici 8.x requires Node >=22.19.0, breaking the CI runner on
Node 20. Version 7.28.0 fixes advisories GHSA-vmh5-mc38-953g and
GHSA-pr7r-676h-xcf6 while staying within the Node 20 engine constraint.

Paperclip-Task-Id: BIT-25575
2026-06-18 16:29:19 +00:00

53 lines
1.7 KiB
JSON

{
"name": "ai-news-writer",
"version": "0.1.0",
"description": "AI-powered autonomous news writing system with RSS/social listening, journalist AI, and WordPress export",
"main": "src/index.js",
"scripts": {
"start": "node src/index.js",
"dev": "nodemon src/index.js",
"write": "node src/index.js write",
"listen": "node src/index.js listen",
"pm2:start": "pm2 start ecosystem.config.cjs",
"verify:deploy": "bash tools/verify-deploy.sh",
"wp:test": "node src/index.js wp:test",
"wp:probe-xmlrpc": "node src/index.js wp:probe-xmlrpc",
"rss:test": "node src/index.js rss:test",
"x:test": "node src/index.js x:test",
"ops:check": "bash tools/ops-check.sh",
"seed:smoke-verification": "node tools/seed-smoke-verification-article.js",
"wp:backfill-categories": "node tools/backfill-wp-categories.js",
"wp:backfill-meta": "node tools/backfill-wp-meta.js",
"deploy:lxc": "bash tools/deploy-lxc.sh",
"test": "c8 --reporter=text --reporter=html --reporter=lcov node --test --test-concurrency=1 $(find src -type f -name '*.test.js' | sort | tr '\\n' ' ')",
"lint": "eslint src/",
"lint:fix": "eslint src/ --fix && prettier --write src/",
"format": "prettier --write ."
},
"dependencies": {
"axios": "^1.18.0",
"cheerio": "^1.0.0",
"dotenv": "^16.4.7",
"fast-xml-parser": "^5.7.2",
"node-cron": "^4.2.1",
"openai": "^4.86.2",
"pg": "^8.11.3",
"rss-parser": "^3.13.0",
"slugify": "1.6.9",
"winston": "^3.17.0"
},
"devDependencies": {
"c8": "^9.1.0",
"eslint": "^8.56.0",
"nodemon": "^3.1.9",
"prettier": "3.8.3"
},
"engines": {
"node": ">=20"
},
"overrides": {
"form-data": ">=4.0.6",
"undici": "^7.28.0"
}
}