Skip to content

Commit f254429

Browse files
committed
Merge remote-tracking branch 'origin/bundles' into utils-without-side-effects
2 parents 0b82867 + 240478c commit f254429

33 files changed

+174
-81
lines changed

package-lock.json

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"extends": "./tsconfig.json",
3+
"compilerOptions": {
4+
"noImplicitOverride": false
5+
},
6+
"include": [
7+
"generated"
8+
],
9+
"exclude": []
10+
}
Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,13 @@
11
{
22
"extends": "../../tsconfig.node.json",
33
"compilerOptions": {
4-
"outDir": "dist",
5-
"noImplicitOverride": false
4+
"outDir": "dist"
65
},
76
"include": [
8-
"src",
9-
"generated"
7+
"src"
108
],
119
"references": [
12-
{ "path": "../utils" }
10+
{ "path": "../utils" },
11+
{ "path": "./tsconfig.generated.json" }
1312
]
1413
}

packages/autocertifier-server/tsconfig.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@
88
"bin"
99
],
1010
"references": [
11+
{ "path": "../utils" },
1112
{ "path": "../autocertifier-client" },
12-
{ "path": "../dht" },
1313
{ "path": "../proto-rpc" },
14-
{ "path": "../utils" }
14+
{ "path": "../dht" }
1515
]
1616
}

packages/cli-tools/tsconfig.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@
1010
"bin"
1111
],
1212
"references": [
13+
{ "path": "../utils" },
1314
{ "path": "../dht" },
14-
{ "path": "../sdk" },
1515
{ "path": "../trackerless-network" },
16-
{ "path": "../utils" }
16+
{ "path": "../sdk" }
1717
]
1818
}

packages/dht/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
"postbuild": "./scripts/postbuild.sh",
2727
"build": "tsc -b",
2828
"build-browser": "webpack --mode=development --progress",
29-
"check": "tsc -p tsconfig.jest.json",
29+
"check": "tsc -b tsconfig.jest.json",
3030
"clean": "jest --clearCache --config '{}' || true; rm -rf dist generated *.tsbuildinfo node_modules/.cache || true",
3131
"eslint": "eslint --cache --cache-location=node_modules/.cache/.eslintcache/ '*/**/*.{js,ts}'",
3232
"test": "npm run test-unit && npm run test-integration && npm run test-end-to-end",

packages/dht/test/unit/PeerManager.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ const createDhtNodeRpcRemote = (
1717
) => {
1818
const remote = new class extends DhtNodeRpcRemote {
1919
// eslint-disable-next-line class-methods-use-this
20-
async ping(): Promise<boolean> {
20+
override async ping(): Promise<boolean> {
2121
return !pingFailures.has(toNodeId(peerDescriptor))
2222
}
2323
}(localPeerDescriptor, peerDescriptor, undefined as any, new MockRpcCommunicator())

packages/dht/test/utils/utils.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ export const createMockRingNode = async (
6262
rpcRequestTimeout: 5000
6363
}
6464
const node = new class extends DhtNode {
65-
async stop(): Promise<void> {
65+
override async stop(): Promise<void> {
6666
await super.stop()
6767
await mockConnectionManager.stop()
6868
}
@@ -90,7 +90,7 @@ export const createMockConnectionDhtNode = async (
9090
rpcRequestTimeout: 5000
9191
}
9292
const node = new class extends DhtNode {
93-
async stop(): Promise<void> {
93+
override async stop(): Promise<void> {
9494
await super.stop()
9595
await mockConnectionManager.stop()
9696
}
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"extends": "./tsconfig.json",
3+
"compilerOptions": {
4+
"noImplicitOverride": false
5+
},
6+
"include": [
7+
"generated"
8+
],
9+
"exclude": []
10+
}

packages/dht/tsconfig.jest.json

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
11
{
22
"extends": "../../tsconfig.jest.json",
3-
"compilerOptions": {
4-
"noImplicitOverride": false
5-
},
63
"include": [
74
"src",
8-
"generated",
95
"test",
106
"package.json",
117
"scripts"
8+
],
9+
"references": [
10+
{ "path": "./tsconfig.generated.json" }
1211
]
1312
}

0 commit comments

Comments
 (0)