Skip to content

Commit 2ca7713

Browse files
authored
chore: dependencies & config maintenance (#4)
1 parent 26f2e88 commit 2ca7713

File tree

6 files changed

+106
-82
lines changed

6 files changed

+106
-82
lines changed

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v22
1+
v22.14

dprint.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@
2626
"CHANGELOG.md"
2727
],
2828
"plugins": [
29-
"https://plugins.dprint.dev/typescript-0.93.0.wasm",
30-
"https://plugins.dprint.dev/json-0.19.4.wasm",
31-
"https://plugins.dprint.dev/markdown-0.17.8.wasm",
29+
"https://plugins.dprint.dev/typescript-0.94.0.wasm",
30+
"https://plugins.dprint.dev/json-0.20.0.wasm",
31+
"https://plugins.dprint.dev/markdown-0.18.0.wasm",
3232
"https://plugins.dprint.dev/g-plane/pretty_yaml-v0.5.0.wasm"
3333
]
3434
}

index.test.mts

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
11
import assert from "node:assert";
2-
import { describe, test } from "node:test";
2+
import {
3+
describe,
4+
test,
5+
} from "node:test";
36

7+
import type { LoggingEvent } from "log4js";
48
import { dummyLayout } from "log4js/lib/layouts";
59
import Level from "log4js/lib/levels";
610

7-
import type { LoggingEvent } from "log4js";
8-
9-
import { sentry } from "./dist";
11+
import { sentry } from "./dist/index.js";
1012

1113
function makeLogEvent(): LoggingEvent {
1214
return {

package-lock.json

Lines changed: 72 additions & 52 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 11 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -23,33 +23,30 @@
2323
"typecheck": "tsc --noEmit",
2424
"fmt": "dprint fmt",
2525
"fmt:check": "dprint check",
26-
"test": "node --test --loader=ts-node/esm index.test.mts",
27-
"test:watch": "node --test --watch --loader=ts-node/esm index.test.mts"
26+
"test": "TS_NODE_TRANSPILE_ONLY=true node --test --experimental-specifier-resolution=node --experimental-require-module --experimental-test-coverage --test-coverage-exclude=index.test.mts --loader=ts-node/esm --no-warnings index.test.mts",
27+
"test:watch": "TS_NODE_TRANSPILE_ONLY=true node --test --experimental-specifier-resolution=node --experimental-require-module --watch --loader=ts-node/esm --no-warnings src/*.test.mts"
2828
},
2929
"dependencies": {
3030
"@sentry/node": "~8.28.0"
3131
},
3232
"devDependencies": {
33-
"dprint": "^0.47.0",
34-
"@types/node": "^22.7.0",
33+
"dprint": "^0.49.0",
34+
"@types/node": "^22.13.0",
3535
"ts-node": "~10.9.0",
36-
"typescript": "^5.6.0"
36+
"typescript": "^5.8.0"
3737
},
3838
"peerDependencies": {
3939
"log4js": ">=6"
4040
},
41-
"types": "./dist/index.d.ts",
42-
"files": [
43-
"./dist"
44-
],
4541
"exports": {
4642
".": {
4743
"import": "./dist/index.js",
48-
"require": "./dist/index.js"
44+
"types": "./dist/index.d.ts"
4945
}
5046
},
51-
"engines": {
52-
"node": ">=18.18",
53-
"npm": ">=7"
54-
}
47+
"files": [
48+
"dist/*.js",
49+
"dist/*.d.ts",
50+
"!dist/*test*"
51+
]
5552
}

0 commit comments

Comments
 (0)