seo-generator-server/package.json
StillHammer 96b0afc3bc Fix critical authentication and Digital Ocean integration issues
- Fixed OpenAI API key hardcoding in BrainConfig.js causing 401 errors
- Implemented proper Digital Ocean Spaces integration with AWS SDK
  - Added deployArticle() function for HTML upload
  - Fixed fetchXMLFromDigitalOcean() to retrieve from correct path
  - Direct access to root bucket instead of wp-content/XML/
- Added aws-sdk dependency for S3-compatible operations
- Created comprehensive integration test suite
- Validated complete workflow: Google Sheets → DO XML → Processing

All external systems now operational:
 Google Sheets auth and data retrieval
 Digital Ocean Spaces upload/download
 XML template processing
 LLM API authentication

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-15 23:06:07 +08:00

48 lines
2.0 KiB
JSON

{
"name": "seo-generator-server",
"version": "1.0.0",
"description": "Hello World SEO Generator",
"main": "server.js",
"scripts": {
"start": "node server.js",
"manual": "node server.js --mode=manual",
"auto": "node server.js --mode=auto",
"dev": "node server.js",
"test:llm": "cross-env TEST_LLM_HOOKS=1 node --test tests/llm/*.test.js",
"test:smoke": "node --test tests/smoke/*.test.js",
"test:content": "node --test tests/content/*.test.js",
"test:integration": "node --test tests/integration/*.test.js",
"test:all": "node tests/test-runner.js",
"test:light": "node tests/test-runner-light.js",
"test:basic": "node --test tests/basic-validation.test.js",
"test:all-simple": "npm run test:smoke && npm run test:llm && npm run test:content && npm run test:integration",
"test:systematic": "node tests/runners/SystematicTestRunner.js",
"test:systematic:quick": "node tests/runners/SystematicTestRunner.js --quick",
"test:generate": "node tests/systematic/ModuleTestGenerator.js",
"test:dashboard": "node tests/dashboard/TestDashboardServer.js",
"test:ai-validation": "node -e \"const {AIContentValidator} = require('./tests/validators/AIContentValidator'); AIContentValidator.quickValidate('Test de validation rapide du contenu généré automatiquement par IA').then(r => console.log('Validation:', r))\"",
"test:validate-system": "node tests/test-validation-complete.js",
"test:real": "node tests/integration/run-integration-tests.js",
"test:critical": "node tests/integration/run-integration-tests.js"
},
"dependencies": {
"aws-sdk": "^2.1692.0",
"axios": "^1.6.0",
"cors": "^2.8.5",
"dotenv": "^16.3.1",
"express": "^4.18.2",
"google-auth-library": "^10.3.0",
"google-spreadsheet": "^5.0.2",
"googleapis": "^126.0.1",
"node-fetch": "^3.3.2",
"nodemailer": "^7.0.6",
"pino": "^9.9.0",
"pino-pretty": "^13.1.1",
"undici": "^7.15.0",
"ws": "^8.18.3"
},
"devDependencies": {
"cross-env": "^10.0.0"
}
}