Skip to content

Commit

Permalink
chore: upgrade v3 logger (#65)
Browse files Browse the repository at this point in the history
* chore: upgrade v3 logger

* chore: update

* fix: c8 coverage

* chore: update

* chore: update
  • Loading branch information
czy88840616 authored Dec 28, 2023
1 parent 022b7a3 commit 99ff4d8
Show file tree
Hide file tree
Showing 10 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"scripts": {
"release": "lerna publish",
"test": "cross-env ./scripts/prepare.sh",
"test_once": "cross-env ./scripts/prepare.sh v3/midway-serverless-http-new-esm",
"test_once": "cross-env ./scripts/prepare.sh v3/midway-serverless-http-new",
"build": "lerna run build"
},
"engines": {
Expand Down
2 changes: 1 addition & 1 deletion v3/midway-component/boilerplate/_package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"devDependencies": {
"@midwayjs/cli": "^2.0.0",
"@midwayjs/core": "^3.12.0",
"@midwayjs/decorator": "^3.12.0",
"@midwayjs/logger": "^3.1.0",
"@midwayjs/mock": "^3.12.0",
"@types/jest": "^29.2.0",
"@types/node": "^16.11.22",
Expand Down
2 changes: 1 addition & 1 deletion v3/midway-framework-express/boilerplate/_package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"@midwayjs/core": "^3.12.0",
"@midwayjs/decorator": "^3.12.0",
"@midwayjs/express": "^3.12.0",
"@midwayjs/logger": "^2.14.0"
"@midwayjs/logger": "^3.1.0"
},
"devDependencies": {
"@midwayjs/cli": "^2.0.0",
Expand Down
2 changes: 1 addition & 1 deletion v3/midway-framework-koa-esm/boilerplate/_package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"@midwayjs/decorator": "^3.12.0",
"@midwayjs/info": "^3.12.0",
"@midwayjs/koa": "^3.12.0",
"@midwayjs/logger": "^2.14.0",
"@midwayjs/logger": "^3.1.0",
"@midwayjs/validate": "^3.12.0"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion v3/midway-framework-koa/boilerplate/_package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"@midwayjs/decorator": "^3.12.0",
"@midwayjs/info": "^3.12.0",
"@midwayjs/koa": "^3.12.0",
"@midwayjs/logger": "^2.14.0",
"@midwayjs/logger": "^3.1.0",
"@midwayjs/validate": "^3.12.0"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion v3/midway-framework-web/boilerplate/_package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"@midwayjs/core": "^3.12.0",
"@midwayjs/web": "^3.12.0",
"@midwayjs/decorator": "^3.12.0",
"@midwayjs/logger": "^2.14.0",
"@midwayjs/logger": "^3.1.0",
"egg": "^2.0.0"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion v3/midway-quick-start/boilerplate/_package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"@midwayjs/decorator": "^3.12.0",
"@midwayjs/info": "^3.12.0",
"@midwayjs/koa": "^3.12.0",
"@midwayjs/logger": "^2.14.0",
"@midwayjs/logger": "^3.1.0",
"@midwayjs/static-file": "^3.4.12",
"@midwayjs/validate": "^3.12.0",
"@midwayjs/view-nunjucks": "^3.4.12"
Expand Down
4 changes: 2 additions & 2 deletions v3/midway-serverless-http-new-esm/boilerplate/_package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"scripts": {
"dev": "cross-env NODE_ENV=local mwtsc --watch --run @midwayjs/mock/function",
"test": "cross-env NODE_ENV=unittest mocha",
"cov": "cross-env c8 --all --reporter=text --reporter=lcovonly npm run test",
"cov": "cross-env c8 --include src --all --reporter=text --reporter=lcovonly npm run test",
"deploy": "",
"lint": "mwts check",
"lint:fix": "mwts fix",
Expand All @@ -23,7 +23,7 @@
"@midwayjs/core": "^3.12.0",
"@midwayjs/faas": "^3.12.0",
"@midwayjs/fc-starter": "^3.12.0",
"@midwayjs/logger": "^2.0.0"
"@midwayjs/logger": "^3.1.0"
},
"devDependencies": {
"@midwayjs/mock": "^3.12.0",
Expand Down
1 change: 0 additions & 1 deletion v3/midway-serverless-http-new/boilerplate/_.mocharc.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
"extension": ["ts"],
"node-option": ["no-warnings", "loader=ts-node/register"],
"spec": ["test/**/*.test.ts"],
"require": ["test/setup.ts"]
}
7 changes: 4 additions & 3 deletions v3/midway-serverless-http-new/boilerplate/_package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"private": true,
"version": "1.0.0",
"description": "Midway Serverless for the Serverless environment",
"type": "commonjs",
"main": "index.js",
"license": "MIT",
"keywords": [
Expand All @@ -11,8 +12,8 @@
],
"scripts": {
"dev": "cross-env NODE_ENV=local mwtsc --watch --run @midwayjs/mock/function --port 7001",
"test": "cross-env NODE_ENV=unittest mocha",
"cov": "cross-env c8 --all --reporter=text --reporter=lcovonly npm run test",
"test": "cross-env NODE_ENV=unittest mocha --require ts-node/register",
"cov": "cross-env c8 --include src --all --reporter=text --reporter=lcovonly npm run test",
"deploy": "",
"lint": "mwts check",
"lint:fix": "mwts fix",
Expand All @@ -23,7 +24,7 @@
"@midwayjs/core": "^3.12.0",
"@midwayjs/faas": "^3.12.0",
"@midwayjs/fc-starter": "^3.12.0",
"@midwayjs/logger": "^2.0.0"
"@midwayjs/logger": "^3.1.0"
},
"devDependencies": {
"@midwayjs/mock": "^3.12.0",
Expand Down

0 comments on commit 99ff4d8

Please sign in to comment.