- Create new @link-stack/logger package wrapping Pino for structured logging - Replace all console.log/error/warn statements across the monorepo - Configure environment-aware logging (pretty-print in dev, JSON in prod) - Add automatic redaction of sensitive fields (passwords, tokens, etc.) - Remove dead commented-out logger file from bridge-worker - Follow Pino's standard argument order (context object first, message second) - Support log levels via LOG_LEVEL environment variable - Export TypeScript types for better IDE support This provides consistent, structured logging across all applications and packages, making debugging easier and production logs more parseable.
51 lines
1.4 KiB
JSON
51 lines
1.4 KiB
JSON
{
|
|
"name": "@link-stack/link",
|
|
"version": "3.1.0",
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "next dev -H 0.0.0.0",
|
|
"build": "next build",
|
|
"start": "next start",
|
|
"export": "next export",
|
|
"lint": "next lint"
|
|
},
|
|
"dependencies": {
|
|
"@chatscope/chat-ui-kit-react": "^2.0.3",
|
|
"@chatscope/chat-ui-kit-styles": "^1.4.0",
|
|
"@emotion/cache": "^11.14.0",
|
|
"@emotion/react": "^11.14.0",
|
|
"@emotion/server": "^11.11.0",
|
|
"@emotion/styled": "^11.14.0",
|
|
"@link-stack/bridge-common": "*",
|
|
"@link-stack/bridge-ui": "*",
|
|
"@link-stack/leafcutter-ui": "*",
|
|
"@link-stack/logger": "*",
|
|
"@link-stack/opensearch-common": "*",
|
|
"@link-stack/ui": "*",
|
|
"@mui/icons-material": "^6",
|
|
"@mui/material": "^6",
|
|
"@mui/material-nextjs": "^6",
|
|
"@mui/x-data-grid-pro": "^7.28.1",
|
|
"@mui/x-date-pickers": "^7.28.0",
|
|
"@mui/x-date-pickers-pro": "^7.28.0",
|
|
"@mui/x-license": "^7.28.0",
|
|
"date-fns": "^4.1.0",
|
|
"graphql-request": "^7.1.2",
|
|
"ioredis": "^5.6.0",
|
|
"mui-chips-input": "^6.0.0",
|
|
"next": "15.2.3",
|
|
"next-auth": "^4.24.11",
|
|
"react": "19.0.0",
|
|
"react-cookie": "^8.0.1",
|
|
"react-dom": "19.0.0",
|
|
"react-iframe": "^1.8.5",
|
|
"react-polyglot": "^0.7.2",
|
|
"sharp": "^0.33.5"
|
|
},
|
|
"devDependencies": {
|
|
"@link-stack/eslint-config": "*",
|
|
"@types/node": "^22.13.12",
|
|
"@types/react": "19.0.12",
|
|
"@types/uuid": "^10.0.0"
|
|
}
|
|
}
|