- Dockerfiles (admin-ui, collector-worker, ingest-api): node:20-bookworm-slim → node:24-bookworm-slim - CI (.gitea/workflows/ci.yml): node-version '20' → '24' in all 3 jobs - package.json engines.node: '>=20' → '>=24.22.1' (admin-ui, api, collector-worker, ingest-api, web) - @types/node: ^20/^22 → ^24 in all packages - api: bcrypt ^5.1.1 → ^6.0.0 (Node 24 prebuilt binary compat) - clients/php/ErrorReporter.php: PHP 8.4+ compat audit (no deprecated patterns) - clients/node/errorReporter.mjs: Node 24+ doc update All tests verified locally: - api: 51/51 passed (vitest) - ingest-api: 40 passed + 14 skipped (vitest) - collector-worker: 12/12 passed (vitest) - admin-ui: lint + typecheck clean - web: lint + typecheck + build clean Paperclip-Agent: Nelson Baptista (urlKey nelson-baptista; id e34f1b0f-62db-487c-8584-f6a47203f7b5) Paperclip-Issue: BIT-31723 Paperclip-Run: 76d06689-1879-421f-ad2c-04f5fe85d21d
40 lines
995 B
JSON
40 lines
995 B
JSON
{
|
|
"name": "@errors-bitreport/api",
|
|
"version": "0.1.0",
|
|
"description": "BitReport Error Reporting Platform — Fastify API",
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "tsx watch src/index.ts",
|
|
"build": "tsc",
|
|
"start": "node dist/index.js",
|
|
"typecheck": "tsc --noEmit",
|
|
"test": "vitest run",
|
|
"test:watch": "vitest",
|
|
"db:migrate": "bash ../scripts/run-mysql-migrations.sh"
|
|
},
|
|
"engines": {
|
|
"node": ">=24.22.1"
|
|
},
|
|
"dependencies": {
|
|
"@fastify/cookie": "^9.3.1",
|
|
"@fastify/helmet": "^11.1.1",
|
|
"@fastify/jwt": "^8.0.1",
|
|
"@fastify/rate-limit": "^9.1.0",
|
|
"@fastify/swagger": "^8.14.0",
|
|
"@fastify/swagger-ui": "^3.0.0",
|
|
"bcrypt": "^6.0.0",
|
|
"fastify": "^4.28.1",
|
|
"mysql2": "^3.11.5",
|
|
"pino": "^9.1.0",
|
|
"prom-client": "^15.1.3",
|
|
"zod": "^3.23.8"
|
|
},
|
|
"devDependencies": {
|
|
"@types/bcrypt": "^5.0.2",
|
|
"@types/node": "^24.0.0",
|
|
"tsx": "^4.15.6",
|
|
"typescript": "^5.4.5",
|
|
"vitest": "^1.6.0"
|
|
}
|
|
}
|