File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed
packages/rtk-query-codegen-openapi Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change 44
44
"chalk" : " ^4.1.0" ,
45
45
"del" : " ^6.0.0" ,
46
46
"esbuild" : " ^0.13.10" ,
47
+ "esbuild-runner" : " ^2.2.1" ,
47
48
"husky" : " ^4.3.6" ,
48
49
"jest" : " ^26.6.3" ,
49
50
"msw" : " ^0.25.0" ,
56
57
"dependencies" : {
57
58
"@apidevtools/swagger-parser" : " ^10.0.2" ,
58
59
"commander" : " ^6.2.0" ,
59
- "esbuild-runner" : " ^2.2.1" ,
60
60
"oazapfts" : " ^3.5.0" ,
61
61
"prettier" : " ^2.2.1" ,
62
62
"semver" : " ^7.3.5" ,
Original file line number Diff line number Diff line change 23
23
try {
24
24
if ( ! ts ) {
25
25
if ( require . resolve ( 'typescript' ) && require . resolve ( 'ts-node' ) ) {
26
- require ( 'ts-node/register/transpile-only' ) ;
26
+ ( require ( 'ts-node' ) as typeof import ( 'ts-node' ) ) . register ( {
27
+ transpileOnly : true ,
28
+ compilerOptions : {
29
+ target : 'es6' ,
30
+ module : 'commonjs' ,
31
+ } ,
32
+ } ) ;
27
33
}
28
34
29
35
ts = true ;
You can’t perform that action at this time.
0 commit comments