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/autocertifier-client/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@
"generated"
],
"references": [
{ "path": "../utils/tsconfig.node.json" }
{ "path": "../utils" }
]
}
2 changes: 1 addition & 1 deletion packages/autocertifier-server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"author": "Streamr Network AG <[email protected]>",
"scripts": {
"build": "tsc -b",
"check": "tsc -p ./tsconfig.jest.json && tsc --noEmit -p tsconfig.node.json",
"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}'",
"test": "jest test/unit test/integration",
Expand Down
6 changes: 6 additions & 0 deletions packages/autocertifier-server/test/tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"extends": "../tsconfig.jest.json",
"include": [
"**/*"
]
}
5 changes: 2 additions & 3 deletions packages/autocertifier-server/tsconfig.jest.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
{
"extends": "../../tsconfig.jest.json",
"include": [
"bin",
"src",
"test"
],
"references": [
{ "path": "./tsconfig.node.json" }
]
}
14 changes: 10 additions & 4 deletions packages/autocertifier-server/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,16 @@
{
"files": [],
"extends": "../../tsconfig.node.json",
"compilerOptions": {
"composite": true
"outDir": "dist"
},
"include": [
"src",
"bin"
],
"references": [
{ "path": "./tsconfig.node.json" },
{ "path": "./tsconfig.jest.json" }
{ "path": "../autocertifier-client" },
{ "path": "../dht" },
{ "path": "../proto-rpc" },
{ "path": "../utils" }
]
}
16 changes: 0 additions & 16 deletions packages/autocertifier-server/tsconfig.node.json

This file was deleted.

6 changes: 6 additions & 0 deletions packages/cdn-location/data-generation/tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"extends": "..",
"include": [
"**/*"
]
}
2 changes: 1 addition & 1 deletion packages/cdn-location/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"author": "Streamr Network AG <[email protected]>",
"scripts": {
"build": "tsc -b",
"check": "tsc -p ./tsconfig.jest.json && tsc --noEmit -p ./tsconfig.node.json && tsc --noEmit -p ./tsconfig.data-generation.json",
"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}'",
"test": "jest test/integration",
Expand Down
6 changes: 6 additions & 0 deletions packages/cdn-location/test/tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"extends": "../tsconfig.jest.json",
"include": [
"**/*"
]
}
9 changes: 0 additions & 9 deletions packages/cdn-location/tsconfig.data-generation.json

This file was deleted.

6 changes: 2 additions & 4 deletions packages/cdn-location/tsconfig.jest.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
{
"extends": "../../tsconfig.jest.json",
"include": [
"src",
"data-generation",
"test"
],
"references": [
{ "path": "./tsconfig.node.json" },
{ "path": "../test-utils/tsconfig.node.json" }
]
}
11 changes: 6 additions & 5 deletions packages/cdn-location/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
{
"files": [],
"extends": "../../tsconfig.node.json",
"compilerOptions": {
"composite": true
"outDir": "dist"
},
"include": [
"src"
],
"references": [
{ "path": "./tsconfig.node.json" },
{ "path": "./tsconfig.data-generation.json" },
{ "path": "./tsconfig.jest.json" }
{ "path": "../utils" }
]
}
12 changes: 0 additions & 12 deletions packages/cdn-location/tsconfig.node.json

This file was deleted.

2 changes: 1 addition & 1 deletion packages/cli-tools/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
},
"scripts": {
"build": "tsc -b",
"check": "tsc -p ./tsconfig.jest.json",
"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}'",
"test": "npm run build && jest --bail --forceExit"
Expand Down
6 changes: 6 additions & 0 deletions packages/cli-tools/test/tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"extends": "../tsconfig.jest.json",
"include": [
"**/*"
]
}
7 changes: 0 additions & 7 deletions packages/cli-tools/tsconfig.jest.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,5 @@
"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" }
]
}
16 changes: 12 additions & 4 deletions packages/cli-tools/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,18 @@
{
"files": [],
"extends": "../../tsconfig.node.json",
"compilerOptions": {
"composite": true
"outDir": "dist",
"disableSourceOfProjectReferenceRedirect": true
},
"include": [
"package.json",
"src",
"bin"
],
"references": [
{ "path": "./tsconfig.node.json" },
{ "path": "./tsconfig.jest.json" }
{ "path": "../dht" },
{ "path": "../sdk" },
{ "path": "../trackerless-network" },
{ "path": "../utils" }
]
}
18 changes: 0 additions & 18 deletions packages/cli-tools/tsconfig.node.json

This file was deleted.

4 changes: 2 additions & 2 deletions packages/dht/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@
"scripts": {
"prebuild": "./proto.sh",
"postbuild": "./scripts/postbuild.sh",
"build": "tsc -b tsconfig.node.json",
"build": "tsc -b",
"build-browser": "webpack --mode=development --progress",
"check": "tsc -p ./tsconfig.jest.json",
"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}'",
"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/scripts/postbuild.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ SCRIPT_DIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)
cd "${SCRIPT_DIR}/.."

# Sanitize the final package.json
npx ts-node -P tsconfig.node.json scripts/rewrite-package.ts
npx ts-node scripts/rewrite-package.ts
6 changes: 6 additions & 0 deletions packages/dht/scripts/tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"extends": "..",
"include": [
"**/*"
]
}
6 changes: 6 additions & 0 deletions packages/dht/test/tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"extends": "../tsconfig.jest.json",
"include": [
"**/*"
]
}
8 changes: 0 additions & 8 deletions packages/dht/tsconfig.jest.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,5 @@
"test",
"package.json",
"scripts"
],
"references": [
{ "path": "../utils/tsconfig.node.json" },
{ "path": "../test-utils/tsconfig.node.json" },
{ "path": "../proto-rpc/tsconfig.node.json" },
{ "path": "../autocertifier-client" },
{ "path": "../cdn-location" },
{ "path": "../geoip-location/tsconfig.node.json" }
]
}
16 changes: 13 additions & 3 deletions packages/dht/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,19 @@
{
"files": [],
"extends": "../../tsconfig.node.json",
"compilerOptions": {
"composite": true
"outDir": "dist",
"noImplicitOverride": false
},
"include": [
"src",
"generated",
"package.json"
],
"references": [
{ "path": "./tsconfig.jest.json" }
{ "path": "../autocertifier-client" },
{ "path": "../cdn-location" },
{ "path": "../geoip-location" },
{ "path": "../proto-rpc" },
{ "path": "../utils" }
]
}
20 changes: 0 additions & 20 deletions packages/dht/tsconfig.node.json

This file was deleted.

4 changes: 2 additions & 2 deletions packages/geoip-location/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
"license": "Apache-2.0",
"author": "Streamr Network AG <[email protected]>",
"scripts": {
"build": "tsc -b tsconfig.node.json",
"check": "tsc -p ./tsconfig.jest.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}'",
"test": "jest test/unit",
Expand Down
6 changes: 6 additions & 0 deletions packages/geoip-location/test/tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"extends": "../tsconfig.jest.json",
"include": [
"**/*"
]
}
3 changes: 0 additions & 3 deletions packages/geoip-location/tsconfig.jest.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,5 @@
"include": [
"src",
"test"
],
"references": [
{ "path": "../utils/tsconfig.node.json" }
]
}
9 changes: 6 additions & 3 deletions packages/geoip-location/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
{
"files": [],
"extends": "../../tsconfig.node.json",
"compilerOptions": {
"composite": true
"outDir": "dist"
},
"include": [
"src"
],
"references": [
{ "path": "./tsconfig.jest.json" }
{ "path": "../utils" }
]
}
12 changes: 0 additions & 12 deletions packages/geoip-location/tsconfig.node.json

This file was deleted.

4 changes: 2 additions & 2 deletions packages/node/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@
"configuration.md"
],
"scripts": {
"build": "tsc -b tsconfig.node.json",
"check": "tsc -p ./tsconfig.jest.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}'",
"test": "npm run test-unit && npm run test-integration && npm run test-sequential",
Expand Down
6 changes: 6 additions & 0 deletions packages/node/test/tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"extends": "../tsconfig.jest.json",
"include": [
"**/*"
]
}
5 changes: 0 additions & 5 deletions packages/node/tsconfig.jest.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,5 @@
"bin",
"package.json",
"test"
],
"references": [
{ "path": "../utils/tsconfig.node.json" },
{ "path": "../test-utils/tsconfig.node.json" },
{ "path": "../sdk/tsconfig.node.json" }
]
}
Loading