Skip to content

Commit 2bbff50

Browse files
committed
build: switch bundler to tsdown and update deps
1 parent 6f79ed1 commit 2bbff50

4 files changed

Lines changed: 1184 additions & 1835 deletions

File tree

eslint.config.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,11 @@ export default defineConfig(
2222
},
2323
{
2424
files: ['test/typing.test-d.ts'],
25+
settings: {
26+
vitest: {
27+
typecheck: true,
28+
},
29+
},
2530
rules: {
2631
'@typescript-eslint/no-unsafe-argument': 'off',
2732
},

package.json

Lines changed: 16 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
],
3232
"scripts": {
3333
"all": "concurrently -g pnpm:coverage pnpm:build pnpm:check:*",
34-
"build": "tsup --clean --sourcemap --dts --format esm --target node14 src/vitest-when.ts",
34+
"build": "tsdown --sourcemap src/vitest-when.ts",
3535
"build-and-check": "concurrently -g pnpm:build pnpm:check:*",
3636
"check:format": "prettier . --check",
3737
"check:lint": "eslint .",
@@ -42,21 +42,21 @@
4242
},
4343
"prettier": "@mcous/prettier-config",
4444
"dependencies": {
45-
"pretty-format": "^30.2.0"
45+
"pretty-format": "^30.3.0"
4646
},
4747
"devDependencies": {
48-
"@mcous/eslint-config": "^0.7.0",
48+
"@mcous/eslint-config": "^0.9.0",
4949
"@mcous/prettier-config": "^0.4.0",
50-
"@mcous/typescript-config": "^0.3.0",
51-
"@types/node": "^24.9.1",
52-
"@vitest/coverage-istanbul": "^4.0.3",
53-
"@vitest/expect": "^4.0.3",
50+
"@mcous/typescript-config": "^0.4.0",
51+
"@types/node": "^25.6.0",
52+
"@vitest/coverage-istanbul": "^4.1.5",
53+
"@vitest/expect": "^4.1.5",
5454
"concurrently": "^9.2.1",
55-
"eslint": "^9.38.0",
56-
"prettier": "^3.6.2",
57-
"tsup": "^8.5.0",
58-
"typescript": "5.9.3",
59-
"vitest": "^4.0.3"
55+
"eslint": "^10.2.1",
56+
"prettier": "^3.8.3",
57+
"tsdown": "^0.21.10",
58+
"typescript": "6.0.3",
59+
"vitest": "^4.1.5"
6060
},
6161
"peerDependencies": {
6262
"@vitest/expect": ">=0.31.0 <5",
@@ -67,7 +67,10 @@
6767
"optional": true
6868
}
6969
},
70-
"packageManager": "pnpm@10.19.0+sha512.c9fc7236e92adf5c8af42fd5bf1612df99c2ceb62f27047032f4720b33f8eacdde311865e91c411f2774f618d82f320808ecb51718bfa82c060c4ba7c76a32b8",
70+
"engines": {
71+
"node": ">=18"
72+
},
73+
"packageManager": "pnpm@10.33.1+sha512.05ba3c1d5d1c18f68df06470d74055e62d41fc110a0c660db1b2dfb2785327f04cf0f68345d4609bc52089e7fa0343c31593b2f9594e2c5d5da426230acc9820",
7174
"publishConfig": {
7275
"access": "public",
7376
"provenance": true

0 commit comments

Comments
 (0)