Add pino-based logger module for production observability: - JSON output to stdout for log aggregators (Loki, ELK) - Configurable via LOG_LEVEL environment variable (defaults to "info") - Log levels: error, warn, info, debug - Error objects serialized with type, message, and stack trace - Child logger support for bound context - ISO 8601 timestamps in all log entries Test coverage: 16 tests covering JSON format, log levels, error serialization, and child loggers. Total tests now: 553 passing across 31 test files. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
49 lines
1.2 KiB
JSON
49 lines
1.2 KiB
JSON
{
|
|
"name": "phaseflow",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"scripts": {
|
|
"dev": "next dev",
|
|
"build": "next build",
|
|
"start": "next start",
|
|
"lint": "biome check .",
|
|
"lint:fix": "biome check --write .",
|
|
"test": "vitest",
|
|
"test:run": "vitest run"
|
|
},
|
|
"dependencies": {
|
|
"class-variance-authority": "^0.7.1",
|
|
"clsx": "^2.1.1",
|
|
"drizzle-orm": "^0.45.1",
|
|
"ics": "^3.8.1",
|
|
"lucide-react": "^0.562.0",
|
|
"next": "16.1.1",
|
|
"node-cron": "^4.2.1",
|
|
"pino": "^10.1.1",
|
|
"pocketbase": "^0.26.5",
|
|
"react": "19.2.3",
|
|
"react-dom": "19.2.3",
|
|
"resend": "^6.7.0",
|
|
"tailwind-merge": "^3.4.0",
|
|
"zod": "^4.3.5"
|
|
},
|
|
"devDependencies": {
|
|
"@biomejs/biome": "2.3.11",
|
|
"@tailwindcss/postcss": "^4",
|
|
"@testing-library/dom": "^10.4.1",
|
|
"@testing-library/jest-dom": "^6.9.1",
|
|
"@testing-library/react": "^16.3.1",
|
|
"@types/node": "^20",
|
|
"@types/node-cron": "^3.0.11",
|
|
"@types/react": "^19",
|
|
"@types/react-dom": "^19",
|
|
"@vitejs/plugin-react": "^5.1.2",
|
|
"drizzle-kit": "^0.31.8",
|
|
"jsdom": "^27.4.0",
|
|
"tailwindcss": "^4",
|
|
"tw-animate-css": "^1.4.0",
|
|
"typescript": "^5",
|
|
"vitest": "^4.0.16"
|
|
}
|
|
}
|