Skip to content

Commit fdec2e8

Browse files
authored
Merge branch 'master' into gzip
2 parents 88f3a32 + 50cc53a commit fdec2e8

File tree

15 files changed

+71
-116
lines changed

15 files changed

+71
-116
lines changed

.autod.conf.js

Lines changed: 0 additions & 20 deletions
This file was deleted.

.gitattributes

Lines changed: 0 additions & 4 deletions
This file was deleted.

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 0 additions & 24 deletions
This file was deleted.

.github/workflows/nodejs.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches: [ master ]
6+
pull_request:
7+
branches: [ master ]
8+
9+
jobs:
10+
Job:
11+
name: Node.js
12+
uses: node-modules/github-actions/.github/workflows/node-test.yml@master
13+
with:
14+
os: 'ubuntu-latest, windows-latest, macos-latest'
15+
version: '14, 16, 18, 20, 22'
16+
secrets:
17+
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

.github/workflows/release.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
name: Release
2+
on:
3+
push:
4+
branches: [ master ]
5+
6+
jobs:
7+
release:
8+
name: Node.js
9+
uses: eggjs/github-actions/.github/workflows/node-release.yml@master
10+
secrets:
11+
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
12+
GIT_TOKEN: ${{ secrets.GIT_TOKEN }}

.travis.yml

Lines changed: 0 additions & 17 deletions
This file was deleted.

History.md renamed to CHANGELOG.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,20 @@
1+
# Changelog
2+
3+
## [3.2.0](https://github.com/eggjs/egg-logrotator/compare/v3.1.0...v3.2.0) (2024-09-28)
4+
5+
6+
### Features
7+
8+
* remove debug deps ([#32](https://github.com/eggjs/egg-logrotator/issues/32)) ([e897d48](https://github.com/eggjs/egg-logrotator/commit/e897d483736d4d94c4a774c4454245a742c7050a))
9+
10+
11+
### Bug Fixes
12+
13+
* hour crontab ([#31](https://github.com/eggjs/egg-logrotator/issues/31)) ([75e4787](https://github.com/eggjs/egg-logrotator/commit/75e478714f42e6d00f0500817bd2c6f1597174f2))
14+
15+
16+
---
17+
118

219
3.1.0 / 2019-04-25
320
==================

README.md

Lines changed: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,12 @@
11
# egg-logrotator
22

33
[![NPM version][npm-image]][npm-url]
4-
[![build status][travis-image]][travis-url]
5-
[![Test coverage][codecov-image]][codecov-url]
6-
[![David deps][david-image]][david-url]
7-
[![Known Vulnerabilities][snyk-image]][snyk-url]
4+
[![CI](https://github.com/eggjs/egg-logrotator/actions/workflows/nodejs.yml/badge.svg)](https://github.com/eggjs/egg-logrotator/actions/workflows/nodejs.yml)
5+
[![Test coverage](https://img.shields.io/codecov/c/github/eggjs/egg-logrotator.svg?style=flat-square)](https://codecov.io/gh/eggjs/egg-logrotator)
86
[![npm download][download-image]][download-url]
97

108
[npm-image]: https://img.shields.io/npm/v/egg-logrotator.svg?style=flat-square
119
[npm-url]: https://npmjs.org/package/egg-logrotator
12-
[travis-image]: https://img.shields.io/travis/eggjs/egg-logrotator.svg?style=flat-square
13-
[travis-url]: https://travis-ci.org/eggjs/egg-logrotator
14-
[codecov-image]: https://img.shields.io/codecov/c/github/eggjs/egg-logrotator.svg?style=flat-square
15-
[codecov-url]: https://codecov.io/github/eggjs/egg-logrotator?branch=master
16-
[david-image]: https://img.shields.io/david/eggjs/egg-logrotator.svg?style=flat-square
17-
[david-url]: https://david-dm.org/eggjs/egg-logrotator
18-
[snyk-image]: https://snyk.io/test/npm/egg-logrotator/badge.svg?style=flat-square
19-
[snyk-url]: https://snyk.io/test/npm/egg-logrotator
2010
[download-image]: https://img.shields.io/npm/dm/egg-logrotator.svg?style=flat-square
2111
[download-url]: https://npmjs.org/package/egg-logrotator
2212

@@ -122,3 +112,9 @@ Please open an issue [here](https://github.com/eggjs/egg/issues).
122112
## License
123113

124114
[MIT](https://github.com/eggjs/egg-logrotator/blob/master/LICENSE)
115+
116+
## Contributors
117+
118+
[![Contributors](https://contrib.rocks/image?repo=eggjs/egg-logrotator)](https://github.com/eggjs/egg-logrotator/graphs/contributors)
119+
120+
Made with [contributors-img](https://contrib.rocks).

README.zh-CN.md

Lines changed: 7 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,12 @@
11
# egg-logrotator
22

33
[![NPM version][npm-image]][npm-url]
4-
[![build status][travis-image]][travis-url]
5-
[![Test coverage][codecov-image]][codecov-url]
6-
[![David deps][david-image]][david-url]
7-
[![Known Vulnerabilities][snyk-image]][snyk-url]
4+
[![CI](https://github.com/eggjs/egg-logrotator/actions/workflows/nodejs.yml/badge.svg)](https://github.com/eggjs/egg-logrotator/actions/workflows/nodejs.yml)
5+
[![Test coverage](https://img.shields.io/codecov/c/github/eggjs/egg-logrotator.svg?style=flat-square)](https://codecov.io/gh/eggjs/egg-logrotator)
86
[![npm download][download-image]][download-url]
97

108
[npm-image]: https://img.shields.io/npm/v/egg-logrotator.svg?style=flat-square
119
[npm-url]: https://npmjs.org/package/egg-logrotator
12-
[travis-image]: https://img.shields.io/travis/eggjs/egg-logrotator.svg?style=flat-square
13-
[travis-url]: https://travis-ci.org/eggjs/egg-logrotator
14-
[codecov-image]: https://img.shields.io/codecov/c/github/eggjs/egg-logrotator.svg?style=flat-square
15-
[codecov-url]: https://codecov.io/github/eggjs/egg-logrotator?branch=master
16-
[david-image]: https://img.shields.io/david/eggjs/egg-logrotator.svg?style=flat-square
17-
[david-url]: https://david-dm.org/eggjs/egg-logrotator
18-
[snyk-image]: https://snyk.io/test/npm/egg-logrotator/badge.svg?style=flat-square
19-
[snyk-url]: https://snyk.io/test/npm/egg-logrotator
2010
[download-image]: https://img.shields.io/npm/dm/egg-logrotator.svg?style=flat-square
2111
[download-url]: https://npmjs.org/package/egg-logrotator
2212

@@ -115,3 +105,8 @@ Please open an issue [here](https://github.com/eggjs/egg/issues).
115105

116106
[MIT](https://github.com/eggjs/egg-logrotator/blob/master/LICENSE)
117107

108+
## Contributors
109+
110+
[![Contributors](https://contrib.rocks/image?repo=eggjs/egg-logrotator)](https://github.com/eggjs/egg-logrotator/graphs/contributors)
111+
112+
Made with [contributors-img](https://contrib.rocks).

app/lib/day_rotator.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
const path = require('path');
44
const moment = require('moment');
55
const fs = require('mz/fs');
6-
const debug = require('debug')('egg-logrotator:day_rotator');
6+
const debug = require('util').debuglog('egg-logrotator:day_rotator');
77
const Rotator = require('./rotator');
88
const utils = require('../../utils');
99

0 commit comments

Comments
 (0)