Skip to content
Merged
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
2 changes: 1 addition & 1 deletion packages/cli-tools/bin/streamr-stream-subscribe.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env node
import '../src/logLevel'

import { convertStreamMessageToBytes, MessageMetadata, StreamMessage, StreamrClient } from '@streamr/sdk'
import { convertStreamMessageToBytes, MessageMetadata, type StreamMessage, StreamrClient } from '@streamr/sdk'
import { binaryToHex, toLengthPrefixedFrame } from '@streamr/utils'
import mapValues from 'lodash/mapValues'
import isString from 'lodash/isString'
Expand Down
2 changes: 1 addition & 1 deletion packages/cli-tools/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"streamr": "dist/bin/streamr.js"
},
"scripts": {
"build": "tsc -b tsconfig.node.json",
"build": "tsc -b",
"check": "tsc -p ./tsconfig.jest.json",
"clean": "jest --clearCache || true; rm -rf dist *.tsbuildinfo node_modules/.cache || true",
"eslint": "eslint --cache --cache-location=node_modules/.cache/.eslintcache/ '*/**/*.{js,ts}'",
Expand Down
15 changes: 13 additions & 2 deletions packages/cli-tools/tsconfig.jest.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,24 @@
{
"extends": "../../tsconfig.jest.json",
"compilerOptions": {
"noEmit": true,
"types": ["node", "jest", "@streamr/test-utils/customMatcherTypes"],
"types": [
"node",
"jest",
"@streamr/test-utils/customMatcherTypes"
],
"noImplicitOverride": false
},
"include": [
"package.json",
"src",
"bin",
"test"
],
"references": [
{ "path": "../utils/tsconfig.node.json" },
{ "path": "../sdk/tsconfig.node.json" },
{ "path": "../dht/tsconfig.node.json" },
{ "path": "../trackerless-network/tsconfig.node.json" },
{ "path": "../test-utils/tsconfig.node.json" }
]
}
1 change: 1 addition & 0 deletions packages/cli-tools/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"composite": true
},
"references": [
{ "path": "./tsconfig.node.json" },
{ "path": "./tsconfig.jest.json" }
]
}
5 changes: 3 additions & 2 deletions packages/cli-tools/tsconfig.node.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"extends": "../../tsconfig.node.json",
"compilerOptions": {
"composite": true,
"outDir": "dist"
},
"include": [
Expand All @@ -11,6 +10,8 @@
],
"references": [
{ "path": "../utils/tsconfig.node.json" },
{ "path": "../sdk/tsconfig.node.json" }
{ "path": "../sdk/tsconfig.node.json" },
{ "path": "../dht/tsconfig.node.json" },
{ "path": "../trackerless-network/tsconfig.node.json" }
]
}
3 changes: 2 additions & 1 deletion tsconfig.node.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@
"sourceMap": true,
"stripInternal": true,
"useUnknownInCatchVariables": false,
"strictBindCallApply": true
"strictBindCallApply": true,
"disableSourceOfProjectReferenceRedirect": true
},
"lib": [
"DOM"
Expand Down