File tree Expand file tree Collapse file tree 3 files changed +4
-5
lines changed Expand file tree Collapse file tree 3 files changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -11,16 +11,16 @@ tsconfig.tsbuildinfo
11
11
tsconfig.json
12
12
ngrpc.json
13
13
ngrpc.schema.json
14
- postpublish.js
15
14
pm2.config.js
16
- cert-ext.conf
15
+ pack.js
17
16
certs /
18
17
cli /
19
18
entry /
20
19
proto /
21
20
services /
22
21
scripts /
23
22
web /
23
+ dist /cli /ngrpc
24
24
dist /entry /
25
25
dist /services /
26
26
dist /scripts /
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ function reportImportFailure(err?: Error) {
28
28
reportImportFailure ( ) ;
29
29
}
30
30
31
- const pkg = isTsNode ? await import ( "../package.json" ) : require ( "../../package.json" ) ;
31
+ const pkg = isTsNode ? require ( "../package.json" ) : require ( "../../package.json" ) ;
32
32
const url = `https://github.com/ayonli/ngrpc/releases/download/v${ pkg . version } /${ zipName } ` ;
33
33
const res = await new Promise < http . IncomingMessage > ( ( resolve , reject ) => {
34
34
https . get ( url , res => {
Original file line number Diff line number Diff line change 16
16
"noImplicitReturns" : true ,
17
17
"noFallthroughCasesInSwitch" : true ,
18
18
"noPropertyAccessFromIndexSignature" : true ,
19
- "noUncheckedIndexedAccess" : true ,
20
- "resolveJsonModule" : true
19
+ "noUncheckedIndexedAccess" : true
21
20
},
22
21
"include" : [
23
22
" *.ts" ,
You can’t perform that action at this time.
0 commit comments