Skip to content

Commit f0a5cb0

Browse files
committed
Clean-up tsconfigs for the cdn-location package
1 parent f5b6aca commit f0a5cb0

File tree

9 files changed

+40
-41
lines changed

9 files changed

+40
-41
lines changed

packages/cdn-location/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@
1818
"license": "Apache-2.0",
1919
"author": "Streamr Network AG <[email protected]>",
2020
"scripts": {
21-
"build": "tsc -b tsconfig.node.json",
22-
"check": "tsc -p ./tsconfig.jest.json",
21+
"build": "tsc -b",
22+
"check": "tsc -p ./tsconfig.jest.json && tsc --noEmit -p ./tsconfig.node.json && tsc --noEmit -p ./tsconfig.data-generation.json",
2323
"clean": "jest --clearCache || true; rm -rf dist *.tsbuildinfo node_modules/.cache || true",
2424
"eslint": "eslint --cache --cache-location=node_modules/.cache/.eslintcache/ '*/**/*.{js,ts}'",
2525
"test": "jest test/integration",

packages/cdn-location/tsconfig.browser.json

Lines changed: 0 additions & 12 deletions
This file was deleted.
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"extends": "./tsconfig.node.json",
3+
"compilerOptions": {
4+
"noEmit": true
5+
},
6+
"include": ["data-generation"]
7+
}
Lines changed: 5 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,7 @@
11
{
2-
"extends": "../../tsconfig.jest.json",
3-
"include": [
4-
"src/**/*",
5-
"data-generation/**/*",
6-
"test/**/*"
7-
],
8-
"references": [
9-
{ "path": "../utils/tsconfig.node.json" },
10-
{ "path": "../test-utils/tsconfig.node.json" },
11-
{ "path": "../proto-rpc/tsconfig.node.json" },
12-
{ "path": "../autocertifier-client/tsconfig.node.json"}
13-
]
2+
"extends": "../../tsconfig.jest.json",
3+
"include": ["test"],
4+
"references": [
5+
{ "path": "./tsconfig.node.json" }
6+
]
147
}
Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
11
{
2-
"extends": "./tsconfig.jest.json"
2+
"files": [],
3+
"compilerOptions": {
4+
"composite": true
5+
},
6+
"references": [
7+
{ "path": "./tsconfig.jest.json" },
8+
{ "path": "./tsconfig.node.json" },
9+
{ "path": "./tsconfig.data-generation.json" }
10+
]
311
}
Lines changed: 9 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,11 @@
11
{
2-
"extends": "../../tsconfig.node.json",
3-
"compilerOptions": {
4-
"outDir": "dist",
5-
"noImplicitOverride": false
6-
},
7-
"include": [
8-
"src/**/*"
9-
],
10-
"references": [
11-
{ "path": "../utils/tsconfig.node.json" },
12-
{ "path": "../test-utils/tsconfig.node.json" }
13-
]
2+
"extends": "../../tsconfig.node.json",
3+
"compilerOptions": {
4+
"outDir": "dist",
5+
"noImplicitOverride": false
6+
},
7+
"include": ["src"],
8+
"references": [
9+
{ "path": "../utils/tsconfig.node.json" }
10+
]
1411
}

packages/dht/tsconfig.jest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
{ "path": "../test-utils/tsconfig.node.json" },
1717
{ "path": "../proto-rpc/tsconfig.node.json" },
1818
{ "path": "../autocertifier-client/tsconfig.node.json" },
19-
{ "path": "../cdn-location/tsconfig.node.json" },
19+
{ "path": "../cdn-location" },
2020
{ "path": "../geoip-location/tsconfig.node.json" }
2121
]
2222
}

packages/dht/tsconfig.node.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
{ "path": "../test-utils/tsconfig.node.json" },
1515
{ "path": "../proto-rpc/tsconfig.node.json" },
1616
{ "path": "../autocertifier-client/tsconfig.node.json" },
17-
{ "path": "../cdn-location/tsconfig.node.json" },
17+
{ "path": "../cdn-location" },
1818
{ "path": "../geoip-location/tsconfig.node.json" }
1919
]
2020
}

tsconfig.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"files": [],
3+
"references": [
4+
{ "path": "./packages/cdn-location" }
5+
]
6+
}

0 commit comments

Comments
 (0)