diff --git a/packages/dht/tsconfig.jest.json b/packages/dht/tsconfig.jest.json index c51fe75f2b..466683a726 100644 --- a/packages/dht/tsconfig.jest.json +++ b/packages/dht/tsconfig.jest.json @@ -17,6 +17,6 @@ { "path": "../proto-rpc/tsconfig.node.json" }, { "path": "../autocertifier-client" }, { "path": "../cdn-location" }, - { "path": "../geoip-location/tsconfig.node.json" } + { "path": "../geoip-location" } ] } diff --git a/packages/dht/tsconfig.node.json b/packages/dht/tsconfig.node.json index 9adaea3779..6e7a3db15d 100644 --- a/packages/dht/tsconfig.node.json +++ b/packages/dht/tsconfig.node.json @@ -15,6 +15,6 @@ { "path": "../proto-rpc/tsconfig.node.json" }, { "path": "../autocertifier-client" }, { "path": "../cdn-location" }, - { "path": "../geoip-location/tsconfig.node.json" } + { "path": "../geoip-location" } ] } diff --git a/packages/geoip-location/package.json b/packages/geoip-location/package.json index f0586756ff..f6c4a85ccf 100644 --- a/packages/geoip-location/package.json +++ b/packages/geoip-location/package.json @@ -23,8 +23,8 @@ "license": "Apache-2.0", "author": "Streamr Network AG ", "scripts": { - "build": "tsc -b tsconfig.node.json", - "check": "tsc -p ./tsconfig.jest.json", + "build": "tsc -b", + "check": "tsc -p ./tsconfig.jest.json && tsc --noEmit -p ./tsconfig.node.json", "clean": "jest --clearCache || true; rm -rf dist *.tsbuildinfo node_modules/.cache || true", "eslint": "eslint --cache --cache-location=node_modules/.cache/.eslintcache/ '*/**/*.{js,ts}'", "test": "jest test/unit", diff --git a/packages/geoip-location/tsconfig.jest.json b/packages/geoip-location/tsconfig.jest.json index 9769078146..1355cd6d49 100644 --- a/packages/geoip-location/tsconfig.jest.json +++ b/packages/geoip-location/tsconfig.jest.json @@ -1,10 +1,9 @@ { "extends": "../../tsconfig.jest.json", "include": [ - "src", "test" ], "references": [ - { "path": "../utils/tsconfig.node.json" } + { "path": "./tsconfig.node.json" } ] } diff --git a/packages/geoip-location/tsconfig.json b/packages/geoip-location/tsconfig.json index 8f24c2e23c..86445ab0b2 100644 --- a/packages/geoip-location/tsconfig.json +++ b/packages/geoip-location/tsconfig.json @@ -4,6 +4,7 @@ "composite": true }, "references": [ + { "path": "./tsconfig.node.json" }, { "path": "./tsconfig.jest.json" } ] }