Skip to content

Commit

Permalink
feat: [logging] migrate to pino from winston
Browse files Browse the repository at this point in the history
  • Loading branch information
KAnggara75 committed Jul 28, 2024
1 parent 07ca695 commit f5c3e21
Show file tree
Hide file tree
Showing 7 changed files with 1,113 additions and 967 deletions.
4 changes: 2 additions & 2 deletions eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,17 @@ export default [
{
languageOptions: { globals: globals.node },
rules: {
"no-unused-vars": "warn",
"@typescript-eslint/no-unused-vars": "warn",
"no-console": [
"error",
{
allow: ["warn", "error"],
},
],

semi: [2, "always"],
indent: ["warn", "tab", { SwitchCase: 1 }],
quotes: ["warn", "double"],
"no-unused-vars": "warn",
},
},
pluginJs.configs.recommended,
Expand Down
26 changes: 13 additions & 13 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,49 +30,49 @@
},
"dependencies": {
"@hapi/boom": "^10.0.1",
"@prisma/client": "^5.16.1",
"@prisma/client": "^5.17.0",
"@whiskeysockets/baileys": "^6.7.5",
"compression": "^1.7.4",
"cors": "^2.8.5",
"dotenv": "^16.4.5",
"express": "^4.19.2",
"express-rate-limit": "^7.3.1",
"express-rate-limit": "^7.4.0",
"helmet": "^7.1.0",
"link-preview-js": "^3.0.5",
"pino": "^9.2.0",
"prisma": "^5.16.1",
"pino": "^9.3.2",
"prisma": "^5.17.0",
"qrcode": "^1.5.3",
"qrcode-terminal": "^0.12.0",
"typescript": "^5.5.3",
"typescript": "^5.5.4",
"uuid": "^10.0.0",
"winston": "^3.13.0",
"winston": "^3.13.1",
"zod": "^3.23.8"
},
"devDependencies": {
"@babel/preset-env": "^7.24.7",
"@babel/preset-env": "^7.25.0",
"@babel/preset-typescript": "^7.24.7",
"@eslint/js": "^9.6.0",
"@eslint/js": "^9.8.0",
"@jest/globals": "^29.7.0",
"@types/compression": "^1.7.5",
"@types/cors": "^2.8.17",
"@types/eslint__js": "^8.42.3",
"@types/express": "^4.17.21",
"@types/jest": "^29.5.12",
"@types/node": "^20.14.10",
"@types/node": "^20.14.13",
"@types/supertest": "^6.0.2",
"@types/uuid": "^10.0.0",
"babel-jest": "^29.7.0",
"globals": "^15.8.0",
"jest": "^29.7.0",
"prettier": "^3.3.2",
"prettier": "^3.3.3",
"supertest": "^7.0.0",
"ts-jest": "^29.1.5",
"ts-jest": "^29.2.3",
"tsc-alias": "^1.8.10",
"tsx": "^4.16.2",
"typescript-eslint": "^7.15.0"
"typescript-eslint": "^7.17.0"
},
"prisma": {
"seed": "tsx src/database/seed/seeder.ts",
"schema": "src/database/schema.prisma"
}
}
}
Loading

0 comments on commit f5c3e21

Please sign in to comment.