Skip to content

Commit 374bd84

Browse files
committed
feat!: switch to tsdown
1 parent 46c542e commit 374bd84

File tree

4 files changed

+567
-796
lines changed

4 files changed

+567
-796
lines changed

package.json

Lines changed: 9 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -25,40 +25,22 @@
2525
"jsonc-parse"
2626
],
2727
"exports": {
28-
".": {
29-
"import": {
30-
"types": "./dist/index.d.ts",
31-
"default": "./dist/index.mjs"
32-
},
33-
"require": {
34-
"types": "./dist/index.d.cts",
35-
"default": "./dist/index.cjs"
36-
}
37-
},
38-
"./strip": {
39-
"import": {
40-
"types": "./dist/strip.d.ts",
41-
"default": "./dist/strip.mjs"
42-
},
43-
"require": {
44-
"types": "./dist/strip.d.cts",
45-
"default": "./dist/strip.cjs"
46-
}
47-
},
28+
".": "./dist/index.mjs",
29+
"./strip": "./dist/strip.mjs",
4830
"./package.json": "./package.json"
4931
},
50-
"main": "./dist/index.cjs",
32+
"main": "./dist/index.mjs",
5133
"module": "./dist/index.mjs",
52-
"types": "./dist/index.d.ts",
34+
"types": "./dist/index.d.mts",
5335
"files": [
5436
"dist"
5537
],
5638
"engines": {
5739
"node": ">=18"
5840
},
5941
"scripts": {
60-
"build": "tsup",
61-
"dev": "tsup --watch",
42+
"build": "tsdown",
43+
"dev": "tsdown --watch",
6244
"test": "vitest --run",
6345
"lint": "eslint .",
6446
"typecheck": "tsc --noEmit"
@@ -69,8 +51,9 @@
6951
"devDependencies": {
7052
"@luxass/eslint-config": "6.0.1",
7153
"@types/node": "22.16.5",
72-
"eslint": "^9.39.1",
73-
"tsup": "8.5.0",
54+
"eslint": "9.39.1",
55+
"publint": "0.3.15",
56+
"tsdown": "0.16.0",
7457
"typescript": "5.9.3",
7558
"vitest": "4.0.7"
7659
}

0 commit comments

Comments
 (0)