Skip to content

Commit c1e4971

Browse files
committed
update tsconfig
1 parent 4914d8a commit c1e4971

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

.npmignore

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,16 @@ tsconfig.tsbuildinfo
1111
tsconfig.json
1212
ngrpc.json
1313
ngrpc.schema.json
14-
postpublish.js
1514
pm2.config.js
16-
cert-ext.conf
15+
pack.js
1716
certs/
1817
cli/
1918
entry/
2019
proto/
2120
services/
2221
scripts/
2322
web/
23+
dist/cli/ngrpc
2424
dist/entry/
2525
dist/services/
2626
dist/scripts/

cli/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ function reportImportFailure(err?: Error) {
2828
reportImportFailure();
2929
}
3030

31-
const pkg = isTsNode ? await import("../package.json") : require("../../package.json");
31+
const pkg = isTsNode ? require("../package.json") : require("../../package.json");
3232
const url = `https://github.com/ayonli/ngrpc/releases/download/v${pkg.version}/${zipName}`;
3333
const res = await new Promise<http.IncomingMessage>((resolve, reject) => {
3434
https.get(url, res => {

tsconfig.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,7 @@
1616
"noImplicitReturns": true,
1717
"noFallthroughCasesInSwitch": true,
1818
"noPropertyAccessFromIndexSignature": true,
19-
"noUncheckedIndexedAccess": true,
20-
"resolveJsonModule": true
19+
"noUncheckedIndexedAccess": true
2120
},
2221
"include": [
2322
"*.ts",

0 commit comments

Comments
 (0)