Skip to content

Commit 7f60d6f

Browse files
authored
feat: upgrade dev deps, support pino 8+, target es2022 (#29)
BREAKING CHANGE: targets ES2022, pino 8, no other changes
1 parent 7c4c13b commit 7f60d6f

File tree

7 files changed

+2142
-2143
lines changed

7 files changed

+2142
-2143
lines changed

.husky/commit-msg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
#!/bin/sh
22
. "$(dirname "$0")/_/husky.sh"
33

4-
"$(npm x mdep bin commitlint)" --edit $1
4+
"`$(npm bin)/mdep bin commitlint`" --edit $1

.mdeprc.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
11
const uid = process.getuid();
22

33
module.exports = exports = {
4-
node: "16",
4+
node: "18",
55
nycCoverage: false,
66
test_framework: "jest --coverage --coverageDirectory <coverageDirectory> --runTestsByPath --colors",
77
tests: "__tests__/*.spec.ts",
8-
docker_compose: "__tests__/docker-compose.yml",
98
auto_compose: true,
109
services: [],
1110
in_one: true,

jest.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@ exports.testEnvironment = 'node'
22
exports.verbose = true
33
exports.coverageProvider = 'v8'
44
exports.transform = {
5-
'^.+\\.(t|j)sx?$': ['@swc-node/jest'],
5+
'^.+\\.(t|j)s$': ['@swc-node/jest'],
66
}

package.json

Lines changed: 25 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -45,34 +45,39 @@
4545
"@microfleet/callback-queue": "^4.0.2",
4646
"@microfleet/ioredis-lock": "^5.1.0",
4747
"bluebird": "^3.7.2",
48-
"denque": "^2.0.1",
48+
"denque": "^2.1.0",
4949
"lodash": "^4.17.21",
50-
"pino": "^7.6.5",
50+
"pino": "^8.7.0",
5151
"read-pkg-up": "^7.0.1",
5252
"serialize-error": "^8.1.0"
5353
},
5454
"devDependencies": {
55-
"@makeomatic/deploy": "^12.5.0",
56-
"@swc-node/jest": "^1.4.3",
57-
"@types/bluebird": "^3.5.36",
58-
"@types/ioredis": "^4.28.7",
59-
"@types/jest": "^27.4.0",
60-
"@types/lodash": "^4.14.178",
61-
"@types/node": "^17.0.14",
62-
"@types/sinon": "^10.0.10",
63-
"@typescript-eslint/eslint-plugin": "^5.10.2",
64-
"@typescript-eslint/parser": "^5.10.2",
55+
"@makeomatic/deploy": "^12.8.2",
56+
"@node-rs/xxhash-linux-arm64-musl": "^1.2.1",
57+
"@node-rs/xxhash-linux-x64-musl": "^1.2.1",
58+
"@swc-node/jest": "^1.5.5",
59+
"@swc/core": "^1.3.11",
60+
"@swc/core-linux-arm64-musl": "^1.3.11",
61+
"@swc/core-linux-x64-musl": "^1.3.11",
62+
"@types/bluebird": "^3.5.37",
63+
"@types/ioredis": "^4.28.10",
64+
"@types/jest": "^29.2.0",
65+
"@types/lodash": "^4.14.186",
66+
"@types/node": "^18.11.8",
67+
"@types/sinon": "^10.0.13",
68+
"@typescript-eslint/eslint-plugin": "^5.41.0",
69+
"@typescript-eslint/parser": "^5.41.0",
6570
"codecov": "^3.8.3",
6671
"cross-env": "^7.0.3",
67-
"eslint": "^8.8.0",
72+
"eslint": "^8.26.0",
6873
"eslint-config-makeomatic": "^5.1.0",
69-
"eslint-plugin-import": "^2.25.4",
70-
"eslint-plugin-promise": "^6.0.0",
71-
"ioredis": "^4.28.4",
72-
"jest": "^27.4.7",
73-
"semantic-release": "^19.0.2",
74-
"sinon": "^13.0.1",
75-
"typescript": "^4.5.5"
74+
"eslint-plugin-import": "^2.26.0",
75+
"eslint-plugin-promise": "^6.1.1",
76+
"ioredis": "^4.28.5",
77+
"jest": "^29.2.2",
78+
"semantic-release": "^19.0.5",
79+
"sinon": "^14.0.1",
80+
"typescript": "^4.8.4"
7681
},
7782
"engine": {
7883
"node": ">= 12.15.0"

0 commit comments

Comments
 (0)