Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions packages/autocertifier-client/tsconfig.generated.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"extends": "./tsconfig.json",
"compilerOptions": {
"noImplicitOverride": false
},
"include": [
"generated"
],
"exclude": []
}
9 changes: 4 additions & 5 deletions packages/autocertifier-client/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
{
"extends": "../../tsconfig.node.json",
"compilerOptions": {
"outDir": "dist",
"noImplicitOverride": false
"outDir": "dist"
},
"include": [
"src",
"generated"
"src"
],
"references": [
{ "path": "../utils" }
{ "path": "../utils" },
{ "path": "./tsconfig.generated.json" }
]
}
4 changes: 2 additions & 2 deletions packages/autocertifier-server/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
"bin"
],
"references": [
{ "path": "../utils" },
{ "path": "../autocertifier-client" },
{ "path": "../dht" },
{ "path": "../proto-rpc" },
{ "path": "../utils" }
{ "path": "../dht" }
]
}
4 changes: 2 additions & 2 deletions packages/cli-tools/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
"bin"
],
"references": [
{ "path": "../utils" },
{ "path": "../dht" },
{ "path": "../sdk" },
{ "path": "../trackerless-network" },
{ "path": "../utils" }
{ "path": "../sdk" }
]
}
2 changes: 1 addition & 1 deletion packages/dht/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"postbuild": "./scripts/postbuild.sh",
"build": "tsc -b",
"build-browser": "webpack --mode=development --progress",
"check": "tsc -p tsconfig.jest.json",
"check": "tsc -b tsconfig.jest.json",
"clean": "jest --clearCache || true; rm -rf dist generated *.tsbuildinfo node_modules/.cache || true",
"eslint": "eslint --cache --cache-location=node_modules/.cache/.eslintcache/ '*/**/*.{js,ts}'",
"test": "npm run test-unit && npm run test-integration && npm run test-end-to-end",
Expand Down
2 changes: 1 addition & 1 deletion packages/dht/test/unit/PeerManager.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const createDhtNodeRpcRemote = (
) => {
const remote = new class extends DhtNodeRpcRemote {
// eslint-disable-next-line class-methods-use-this
async ping(): Promise<boolean> {
override async ping(): Promise<boolean> {
return !pingFailures.has(toNodeId(peerDescriptor))
}
}(localPeerDescriptor, peerDescriptor, undefined as any, new MockRpcCommunicator())
Expand Down
4 changes: 2 additions & 2 deletions packages/dht/test/utils/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ export const createMockRingNode = async (
rpcRequestTimeout: 5000
}
const node = new class extends DhtNode {
async stop(): Promise<void> {
override async stop(): Promise<void> {
await super.stop()
await mockConnectionManager.stop()
}
Expand Down Expand Up @@ -90,7 +90,7 @@ export const createMockConnectionDhtNode = async (
rpcRequestTimeout: 5000
}
const node = new class extends DhtNode {
async stop(): Promise<void> {
override async stop(): Promise<void> {
await super.stop()
await mockConnectionManager.stop()
}
Expand Down
10 changes: 10 additions & 0 deletions packages/dht/tsconfig.generated.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"extends": "./tsconfig.json",
"compilerOptions": {
"noImplicitOverride": false
},
"include": [
"generated"
],
"exclude": []
}
7 changes: 3 additions & 4 deletions packages/dht/tsconfig.jest.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
{
"extends": "../../tsconfig.jest.json",
"compilerOptions": {
"noImplicitOverride": false
},
"include": [
"src",
"generated",
"test",
"package.json",
"scripts"
],
"references": [
{ "path": "./tsconfig.generated.json" }
]
}
11 changes: 5 additions & 6 deletions packages/dht/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,19 +1,18 @@
{
"extends": "../../tsconfig.node.json",
"compilerOptions": {
"outDir": "dist",
"noImplicitOverride": false
"outDir": "dist"
},
"include": [
"src",
"generated",
"package.json"
],
"references": [
{ "path": "../autocertifier-client" },
{ "path": "../utils" },
{ "path": "../proto-rpc" },
{ "path": "../cdn-location" },
{ "path": "../geoip-location" },
{ "path": "../proto-rpc" },
{ "path": "../utils" }
{ "path": "../autocertifier-client" },
{ "path": "./tsconfig.generated.json" }
]
}
2 changes: 1 addition & 1 deletion packages/proto-rpc/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"prebuild": "./proto.sh",
"build": "tsc -b",
"build-browser": "webpack --mode=development --progress",
"check": "./test-proto.sh && tsc -p tsconfig.jest.json",
"check": "./test-proto.sh && tsc -b tsconfig.jest.json",
"clean": "jest --clearCache || true; rm -rf dist generated *.tsbuildinfo node_modules/.cache || true",
"eslint": "./test-proto.sh && eslint --cache --cache-location=node_modules/.cache/.eslintcache/ '*/**/*.{js,ts}'",
"test": "./test-proto.sh && npm run test-unit && npm run test-integration",
Expand Down
11 changes: 11 additions & 0 deletions packages/proto-rpc/tsconfig.generated.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"extends": "./tsconfig.json",
"compilerOptions": {
"noImplicitOverride": false
},
"include": [
"generated",
"test/proto"
],
"exclude": []
}
10 changes: 6 additions & 4 deletions packages/proto-rpc/tsconfig.jest.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
{
"extends": "../../tsconfig.jest.json",
"compilerOptions": {
"noImplicitOverride": false
},
"include": [
"src",
"generated",
"test"
],
"exclude": [
"test/proto"
],
"references": [
{ "path": "./tsconfig.generated.json" }
]
}
9 changes: 4 additions & 5 deletions packages/proto-rpc/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
{
"extends": "../../tsconfig.node.json",
"compilerOptions": {
"outDir": "dist",
"noImplicitOverride": false
"outDir": "dist"
},
"include": [
"src",
"generated"
"src"
],
"references": [
{ "path": "../utils" }
{ "path": "../utils" },
{ "path": "./tsconfig.generated.json" }
]
}
2 changes: 1 addition & 1 deletion packages/sdk/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"build-browser": "npm run build-browser-development && npm run build-browser-production",
"build-browser-development": "NODE_ENV=development webpack --mode=development --progress",
"build-browser-production": "NODE_ENV=production webpack --mode=production --progress",
"check": "tsc -p tsconfig.jest.json",
"check": "tsc -b tsconfig.jest.json",
"clean": "jest --clearCache || true; rm -rf dist src/generated *.tsbuildinfo node_modules/.cache || true",
"eslint": "eslint --cache --cache-location=node_modules/.cache/.eslintcache/ '*/**/*.{js,ts,mts}'",
"generate-protoc-code": "./proto.sh",
Expand Down
2 changes: 1 addition & 1 deletion packages/sdk/src/identity/EthereumKeyPairIdentity.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export class EthereumKeyPairIdentity extends KeyPairIdentity {
return signingUtil.createSignature(payload, this.privateKey)
}

async getTransactionSigner(rpcProviderSource: RpcProviderSource): Promise<SignerWithProvider> {
override async getTransactionSigner(rpcProviderSource: RpcProviderSource): Promise<SignerWithProvider> {
const primaryProvider = rpcProviderSource.getProvider()
return new Wallet(binaryToHex(this.privateKey), primaryProvider) as SignerWithProvider
}
Expand Down
10 changes: 10 additions & 0 deletions packages/sdk/tsconfig.generated.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"extends": "./tsconfig.json",
"compilerOptions": {
"noImplicitOverride": false
},
"include": [
"src/generated"
],
"exclude": []
}
7 changes: 5 additions & 2 deletions packages/sdk/tsconfig.jest.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@
"compilerOptions": {
"lib": ["es2021"],
"experimentalDecorators": true,
"emitDecoratorMetadata": true,
"noImplicitOverride": false
"emitDecoratorMetadata": true
},
"include": [
"package.json",
Expand All @@ -16,6 +15,10 @@
"scripts"
],
"exclude": [
"src/generated",
"test/exports"
],
"references": [
{ "path": "./tsconfig.generated.json" }
]
}
9 changes: 5 additions & 4 deletions packages/sdk/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,20 +5,21 @@
"declarationDir": "dist/types",
"lib": ["es2021"],
"experimentalDecorators": true,
"emitDecoratorMetadata": true,
"noImplicitOverride": false
"emitDecoratorMetadata": true
},
"include": [
"src",
"src/**/*.json"
],
"exclude": [
"src/generated",
"src/exports-esm.mjs"
],
"references": [
{ "path": "../dht" },
{ "path": "../utils" },
{ "path": "../proto-rpc" },
{ "path": "../dht" },
{ "path": "../trackerless-network" },
{ "path": "../utils" }
{ "path": "./tsconfig.generated.json" }
]
}
2 changes: 1 addition & 1 deletion packages/trackerless-network/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"build": "tsc -b",
"build-browser": "webpack --mode=development --progress",
"prebuild": "./proto.sh",
"check": "tsc -p tsconfig.jest.json",
"check": "tsc -b tsconfig.jest.json",
"clean": "jest --clearCache || true; rm -rf dist generated *.tsbuildinfo node_modules/.cache || true",
"coverage": "jest --coverage",
"eslint": "eslint --cache --cache-location=node_modules/.cache/.eslintcache/ '*/**/*.{js,ts}'",
Expand Down
10 changes: 10 additions & 0 deletions packages/trackerless-network/tsconfig.generated.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"extends": "./tsconfig.json",
"compilerOptions": {
"noImplicitOverride": false
},
"include": [
"generated"
],
"exclude": []
}
7 changes: 3 additions & 4 deletions packages/trackerless-network/tsconfig.jest.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
{
"extends": "../../tsconfig.jest.json",
"compilerOptions": {
"noImplicitOverride": false
},
"include": [
"src",
"generated",
"package.json",
"test"
],
"references": [
{ "path": "./tsconfig.generated.json" }
]
}
9 changes: 4 additions & 5 deletions packages/trackerless-network/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,17 +1,16 @@
{
"extends": "../../tsconfig.node.json",
"compilerOptions": {
"outDir": "dist",
"noImplicitOverride": false
"outDir": "dist"
},
"include": [
"src",
"generated",
"package.json"
],
"references": [
{ "path": "../dht" },
{ "path": "../utils" },
{ "path": "../proto-rpc" },
{ "path": "../utils" }
{ "path": "../dht" },
{ "path": "./tsconfig.generated.json" }
]
}