File tree 4 files changed +430
-7
lines changed
4 files changed +430
-7
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ " swagger-typescript-api " : patch
3
+ ---
4
+
5
+ Fix TypeScript declaration file path.
Original file line number Diff line number Diff line change 14
14
"exports" : {
15
15
"." : {
16
16
"import" : {
17
- "types" : " ./dist/index .d.ts" ,
17
+ "types" : " ./dist/lib .d.ts" ,
18
18
"default" : " ./dist/lib.js"
19
19
},
20
20
"require" : {
21
- "types" : " ./dist/index .d.cts" ,
21
+ "types" : " ./dist/lib .d.cts" ,
22
22
"default" : " ./dist/lib.cjs"
23
23
}
24
24
}
25
25
},
26
26
"main" : " ./dist/lib.cjs" ,
27
27
"module" : " ./dist/lib.js" ,
28
- "types" : " ./dist/index .d.cts" ,
28
+ "types" : " ./dist/lib .d.cts" ,
29
29
"bin" : {
30
30
"sta" : " ./dist/cli.js" ,
31
31
"swagger-typescript-api" : " ./dist/cli.js"
65
65
"@biomejs/biome" : " 1.9.4" ,
66
66
"@changesets/changelog-github" : " 0.5.1" ,
67
67
"@changesets/cli" : " 2.28.1" ,
68
+ "@microsoft/api-extractor" : " 7.52.3" ,
68
69
"@tsconfig/node18" : " 18.2.4" ,
69
70
"@tsconfig/strictest" : " 2.0.5" ,
70
71
"@types/js-yaml" : " 4.0.9" ,
Original file line number Diff line number Diff line change @@ -5,8 +5,10 @@ export default defineConfig({
5
5
lib : "src/index.ts" ,
6
6
cli : "index.ts" ,
7
7
} ,
8
- dts : {
9
- entry : "src/index.ts" ,
8
+ experimentalDts : {
9
+ entry : {
10
+ lib : "src/index.ts" ,
11
+ } ,
10
12
compilerOptions : {
11
13
noCheck : true ,
12
14
} ,
You can’t perform that action at this time.
0 commit comments