File tree Expand file tree Collapse file tree 4 files changed +814
-660
lines changed Expand file tree Collapse file tree 4 files changed +814
-660
lines changed Original file line number Diff line number Diff line change 35
35
" templates"
36
36
],
37
37
"scripts" : {
38
- "build" : " tsup " ,
38
+ "build" : " tsdown " ,
39
39
"cli:help" : " node index.js -h" ,
40
40
"cli:json" : " node index.js -r -d -p ./swagger-test-cli.json -n swagger-test-cli.ts" ,
41
41
"cli:yaml" : " node index.js -r -d -p ./swagger-test-cli.yaml -n swagger-test-cli.ts" ,
42
42
"format" : " biome format --write ." ,
43
43
"format:check" : " biome format ." ,
44
44
"lint" : " biome check" ,
45
- "prepack" : " tsup " ,
45
+ "prepack" : " tsdown " ,
46
46
"test" : " vitest run" ,
47
47
"typedoc" : " typedoc"
48
48
},
65
65
"@biomejs/biome" : " 2.0.0-beta.2" ,
66
66
"@changesets/changelog-github" : " 0.5.1" ,
67
67
"@changesets/cli" : " 2.29.2" ,
68
- "@microsoft/api-extractor" : " 7.52.7" ,
69
68
"@tsconfig/node18" : " 18.2.4" ,
70
69
"@tsconfig/strictest" : " 2.0.5" ,
71
70
"@types/js-yaml" : " 4.0.9" ,
74
73
"@types/swagger2openapi" : " 7.0.4" ,
75
74
"axios" : " 1.9.0" ,
76
75
"openapi-types" : " 12.1.3" ,
77
- "tsup " : " 8.4.0 " ,
76
+ "tsdown " : " 0.10.2 " ,
78
77
"typedoc" : " 0.28.3" ,
79
78
"vitest" : " 3.1.2"
80
79
},
Original file line number Diff line number Diff line change
1
+ import { defineConfig } from "tsdown" ;
2
+
3
+ export default defineConfig ( {
4
+ entry : {
5
+ lib : "src/index.ts" ,
6
+ cli : "index.ts" ,
7
+ } ,
8
+ format : [ "esm" , "cjs" ] ,
9
+ sourcemap : true ,
10
+ target : "node18" ,
11
+ } ) ;
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments