Compare commits

...

5 Commits

Author SHA1 Message Date
b736abd395 chore(release): publish
- @egg/lark-msg-tool@1.7.2
 - @egg/logger@1.4.4
 - @egg/net-tool@1.9.2
2024-10-12 07:42:46 +00:00
aa43040996 chore(package): 更新依赖
All checks were successful
/ release (push) Successful in 25s
2024-10-12 07:42:24 +00:00
867edc964d fix(logger): 修复日志写入报错
Some checks failed
/ release (push) Failing after 20s
2024-10-12 07:41:37 +00:00
25af9b763b chore(package): 更新依赖
Some checks failed
/ release (push) Failing after 23s
2024-10-12 07:38:11 +00:00
e51b0839b9 chore(package): 更新依赖
All checks were successful
/ release (push) Successful in 21s
2024-10-12 07:33:39 +00:00
9 changed files with 32 additions and 19 deletions

18
package-lock.json generated
View File

@ -21,7 +21,7 @@
"@commitlint/config-conventional": "19.2.2",
"@eslint/js": "9.9.0",
"@lerna/conventional-commits": "6.4.1",
"@types/lodash": "^4.17.7",
"@types/lodash": "^4.17.10",
"@types/node": "22.4.0",
"eslint": "9.9.0",
"eslint-plugin-simple-import-sort": "12.1.1",
@ -2324,9 +2324,9 @@
}
},
"node_modules/@types/lodash": {
"version": "4.17.7",
"resolved": "https://registry.npmjs.org/@types/lodash/-/lodash-4.17.7.tgz",
"integrity": "sha512-8wTvZawATi/lsmNu10/j2hk1KEP0IvjubqPE3cu1Xz7xfXXt5oCq3SNUz4fMIP4XGF9Ky+Ue2tBA3hcS7LSBlA==",
"version": "4.17.10",
"resolved": "https://registry.npmjs.org/@types/lodash/-/lodash-4.17.10.tgz",
"integrity": "sha512-YpS0zzoduEhuOWjAotS6A5AVCva7X4lVlYLF0FYHAY9sdraBfnatttHItlWeZdGhuEkf+OzMNg2ZYAx8t+52uQ==",
"dev": true,
"license": "MIT"
},
@ -12122,10 +12122,10 @@
},
"packages/lark-msg-tool": {
"name": "@egg/lark-msg-tool",
"version": "1.7.1",
"version": "1.7.2",
"license": "ISC",
"dependencies": {
"@egg/logger": "^1.4.3",
"@egg/logger": "^1.4.4",
"winston": "*"
},
"devDependencies": {
@ -12134,7 +12134,7 @@
},
"packages/logger": {
"name": "@egg/logger",
"version": "1.4.3",
"version": "1.4.4",
"license": "ISC",
"dependencies": {
"winston": "*",
@ -12143,10 +12143,10 @@
},
"packages/net-tool": {
"name": "@egg/net-tool",
"version": "1.9.1",
"version": "1.9.2",
"license": "ISC",
"dependencies": {
"@egg/logger": "^1.4.3",
"@egg/logger": "^1.4.4",
"winston": "*"
}
},

View File

@ -26,7 +26,7 @@
"@commitlint/config-conventional": "19.2.2",
"@eslint/js": "9.9.0",
"@lerna/conventional-commits": "6.4.1",
"@types/lodash": "^4.17.7",
"@types/lodash": "^4.17.10",
"@types/node": "22.4.0",
"eslint": "9.9.0",
"eslint-plugin-simple-import-sort": "12.1.1",

View File

@ -3,6 +3,10 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## [1.7.2](http://yingbo.im:3000/zhaoyingbo/egg_tools/compare/@egg/lark-msg-tool@1.7.1...@egg/lark-msg-tool@1.7.2) (2024-10-12)
**Note:** Version bump only for package @egg/lark-msg-tool
## [1.7.1](http://yingbo.im:3000/zhaoyingbo/egg_tools/compare/@egg/lark-msg-tool@1.7.0...@egg/lark-msg-tool@1.7.1) (2024-10-12)
**Note:** Version bump only for package @egg/lark-msg-tool

View File

@ -1,6 +1,6 @@
{
"name": "@egg/lark-msg-tool",
"version": "1.7.1",
"version": "1.7.2",
"description": "Lark Msg Tools for Egg projects",
"type": "module",
"main": "src/index.ts",
@ -21,7 +21,7 @@
"@types/lodash": "*"
},
"dependencies": {
"@egg/logger": "^1.4.3",
"@egg/logger": "^1.4.4",
"winston": "*"
}
}

View File

@ -3,6 +3,12 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## 1.4.4 (2024-10-12)
### Bug Fixes
- **logger:** 修复日志写入报错 ([867edc9](http://yingbo.im:3000/zhaoyingbo/egg_tools/commits/867edc964da2de914076a2333dd3e78f3deb3432))
## 1.4.3 (2024-09-24)
### Bug Fixes

View File

@ -1,6 +1,6 @@
{
"name": "@egg/logger",
"version": "1.4.3",
"version": "1.4.4",
"description": "Logger for Egg projects",
"type": "module",
"main": "src/index.ts",

View File

@ -1,6 +1,5 @@
import "winston-daily-rotate-file"
import winston, { format } from "winston"
import DailyRotateFile from "winston-daily-rotate-file"
const isProd = process.env.NODE_ENV === "production"
@ -19,7 +18,7 @@ if (isProd) {
}
transports.push(
new winston.transports.DailyRotateFile({
new DailyRotateFile({
level: "info",
filename:
process.env.LOG_FILE_NAME_INFO ?? "/home/work/log/egg-info-%DATE%.log",
@ -27,7 +26,7 @@ if (isProd) {
})
)
transports.push(
new winston.transports.DailyRotateFile({
new DailyRotateFile({
level: "debug",
filename:
process.env.LOG_FILE_NAME_DEBUG ??

View File

@ -3,6 +3,10 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## 1.9.2 (2024-10-12)
**Note:** Version bump only for package @egg/net-tool
## [1.9.1](http://yingbo.im:3000/zhaoyingbo/egg_tools/compare/@egg/net-tool@1.9.0...@egg/net-tool@1.9.1) (2024-09-30)
**Note:** Version bump only for package @egg/net-tool

View File

@ -1,6 +1,6 @@
{
"name": "@egg/net-tool",
"version": "1.9.1",
"version": "1.9.2",
"description": "Net Tools for Egg projects",
"type": "module",
"main": "src/index.ts",
@ -17,7 +17,7 @@
"author": "RainSun <zhaoyingbo@live.cn>",
"license": "ISC",
"dependencies": {
"@egg/logger": "^1.4.3",
"@egg/logger": "^1.4.4",
"winston": "*"
}
}