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 3535 " templates"
3636 ],
3737 "scripts" : {
38- "build" : " tsup " ,
38+ "build" : " tsdown " ,
3939 "cli:help" : " node index.js -h" ,
4040 "cli:json" : " node index.js -r -d -p ./swagger-test-cli.json -n swagger-test-cli.ts" ,
4141 "cli:yaml" : " node index.js -r -d -p ./swagger-test-cli.yaml -n swagger-test-cli.ts" ,
4242 "format" : " biome format --write ." ,
4343 "format:check" : " biome format ." ,
4444 "lint" : " biome check" ,
45- "prepack" : " tsup " ,
45+ "prepack" : " tsdown " ,
4646 "test" : " vitest run" ,
4747 "typedoc" : " typedoc"
4848 },
6565 "@biomejs/biome" : " 2.0.0-beta.2" ,
6666 "@changesets/changelog-github" : " 0.5.1" ,
6767 "@changesets/cli" : " 2.29.2" ,
68- "@microsoft/api-extractor" : " 7.52.7" ,
6968 "@tsconfig/node18" : " 18.2.4" ,
7069 "@tsconfig/strictest" : " 2.0.5" ,
7170 "@types/js-yaml" : " 4.0.9" ,
7473 "@types/swagger2openapi" : " 7.0.4" ,
7574 "axios" : " 1.9.0" ,
7675 "openapi-types" : " 12.1.3" ,
77- "tsup " : " 8.4.0 " ,
76+ "tsdown " : " 0.10.2 " ,
7877 "typedoc" : " 0.28.3" ,
7978 "vitest" : " 3.1.2"
8079 },
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