Skip to content

Commit 39c2055

Browse files
chore(tsconfig): specify included files during dev (#949)
1 parent ddab4e4 commit 39c2055

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

45 files changed

+74
-69
lines changed

Diff for: packages/advanced-logic/tsconfig.build.json

+1-2
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@
44
"outDir": "dist",
55
"rootDir": "src"
66
},
7-
"include": ["src/**/*"],
8-
"exclude": ["**/*.test.ts", "**/*.spec.ts"],
7+
"exclude": ["test/", "**/*.test.ts", "**/*.spec.ts"],
98
"references": [
109
{ "path": "../currency/tsconfig.build.json" },
1110
{ "path": "../types/tsconfig.build.json" },

Diff for: packages/advanced-logic/tsconfig.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,6 @@
22
"extends": "../../tsconfig",
33
"compilerOptions": {
44
"types": ["node", "jest"]
5-
}
5+
},
6+
"include": ["src/", "test/"]
67
}

Diff for: packages/currency/tsconfig.build.json

+1-2
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@
44
"outDir": "dist",
55
"rootDir": "src"
66
},
7-
"include": ["src/**/*", "./src/aggregators/*.json"],
8-
"exclude": ["**/*.test.ts", "**/*.spec.ts"],
7+
"exclude": ["test/", "scripts/", "**/*.test.ts", "**/*.spec.ts"],
98
"references": [
109
{ "path": "../types/tsconfig.build.json" },
1110
{ "path": "../utils/tsconfig.build.json" }

Diff for: packages/currency/tsconfig.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,6 @@
22
"extends": "../../tsconfig",
33
"compilerOptions": {
44
"esModuleInterop": true
5-
}
5+
},
6+
"include": ["src/", "src/aggregators/*.json", "scripts/", "test/"]
67
}

Diff for: packages/data-access/tsconfig.build.json

+1-2
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@
44
"outDir": "dist",
55
"rootDir": "src"
66
},
7-
"include": ["src/**/*", "./src/aggregators/*.json"],
8-
"exclude": ["**/*.test.ts", "**/*.spec.ts"],
7+
"exclude": ["test/", "**/*.test.ts", "**/*.spec.ts"],
98
"references": [
109
{ "path": "../types/tsconfig.build.json" },
1110
{ "path": "../utils/tsconfig.build.json" },

Diff for: packages/data-access/tsconfig.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
{
2-
"extends": "../../tsconfig"
2+
"extends": "../../tsconfig",
3+
"include": ["src/", "test/"]
34
}

Diff for: packages/data-format/tsconfig.build.json

+1-2
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,5 @@
44
"outDir": "dist",
55
"rootDir": "src"
66
},
7-
"include": ["src/**/*", "./src/format/address.json", "./src/format/**/*.json"],
8-
"exclude": ["**/*.test.ts", "**/*.spec.ts"]
7+
"exclude": ["test/", "**/*.test.ts", "**/*.spec.ts"]
98
}

Diff for: packages/data-format/tsconfig.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,6 @@
22
"extends": "../../tsconfig",
33
"compilerOptions": {
44
"resolveJsonModule": true
5-
}
5+
},
6+
"include": ["src/", "src/format/**/*.json", "test/"]
67
}

Diff for: packages/epk-decryption/tsconfig.build.json

+1-2
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@
44
"outDir": "dist",
55
"rootDir": "src"
66
},
7-
"include": ["src/**/*"],
8-
"exclude": ["**/*.test.ts", "**/*.spec.ts"],
7+
"exclude": ["test/", "**/*.test.ts", "**/*.spec.ts"],
98
"references": [
109
{ "path": "../types/tsconfig.build.json" },
1110
{ "path": "../utils/tsconfig.build.json" },

Diff for: packages/epk-decryption/tsconfig.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
{
2-
"extends": "../../tsconfig"
2+
"extends": "../../tsconfig",
3+
"include": ["src/", "test/"]
34
}

Diff for: packages/epk-signature/tsconfig.build.json

+1-2
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@
44
"outDir": "dist",
55
"rootDir": "src"
66
},
7-
"include": ["src/**/*"],
8-
"exclude": ["**/*.test.ts", "**/*.spec.ts"],
7+
"exclude": ["test/", "**/*.test.ts", "**/*.spec.ts"],
98
"references": [
109
{ "path": "../types/tsconfig.build.json" },
1110
{ "path": "../utils/tsconfig.build.json" }

Diff for: packages/epk-signature/tsconfig.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
{
2-
"extends": "../../tsconfig"
2+
"extends": "../../tsconfig",
3+
"include": ["src/", "test/"]
34
}

Diff for: packages/ethereum-storage/tsconfig.build.json

+1-2
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@
44
"outDir": "dist",
55
"rootDir": "."
66
},
7-
"include": ["src/**/*"],
8-
"exclude": ["**/*.test.ts", "**/*.spec.ts"],
7+
"exclude": ["test/", "**/*.test.ts", "**/*.spec.ts"],
98
"references": [
109
{ "path": "../types/tsconfig.build.json" },
1110
{ "path": "../utils/tsconfig.build.json" },

Diff for: packages/ethereum-storage/tsconfig.json

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
{
22
"extends": "../../tsconfig",
3-
"compilerOptions": {
4-
"resolveJsonModule": true
5-
}
3+
"include": ["src/", "test/"]
64
}

Diff for: packages/integration-test/tsconfig.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
{
2-
"extends": "../../tsconfig"
2+
"extends": "../../tsconfig",
3+
"include": ["test/"]
34
}

Diff for: packages/multi-format/tsconfig.build.json

+1-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
"outDir": "dist",
55
"rootDir": "src"
66
},
7-
"include": ["src/**/*"],
8-
"exclude": ["**/*.test.ts", "**/*.spec.ts"],
7+
"exclude": ["test/", "**/*.test.ts", "**/*.spec.ts"],
98
"references": [{ "path": "../types/tsconfig.build.json" }]
109
}

Diff for: packages/multi-format/tsconfig.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
{
2-
"extends": "../../tsconfig"
2+
"extends": "../../tsconfig",
3+
"include": ["src/", "test/"]
34
}

Diff for: packages/payment-detection/tsconfig.build.json

+1-2
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@
44
"outDir": "dist",
55
"rootDir": "src"
66
},
7-
"include": ["src/**/*"],
8-
"exclude": ["**/*.test.ts", "**/*.spec.ts"],
7+
"exclude": ["test/", "**/*.test.ts", "**/*.spec.ts"],
98
"references": [
109
{ "path": "../currency/tsconfig.build.json" },
1110
{ "path": "../types/tsconfig.build.json" },

Diff for: packages/payment-detection/tsconfig.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
{
2-
"extends": "../../tsconfig"
2+
"extends": "../../tsconfig",
3+
"include": ["src/", "test/"]
34
}

Diff for: packages/payment-processor/tsconfig.build.json

+1-2
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@
44
"outDir": "dist",
55
"rootDir": "src"
66
},
7-
"include": ["src/**/*"],
8-
"exclude": ["**/*.test.ts", "**/*.spec.ts"],
7+
"exclude": ["test/", "**/*.test.ts", "**/*.spec.ts"],
98
"references": [
109
{ "path": "../types/tsconfig.build.json" },
1110
{ "path": "../utils/tsconfig.build.json" },

Diff for: packages/payment-processor/tsconfig.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
{
2-
"extends": "../../tsconfig"
2+
"extends": "../../tsconfig",
3+
"include": ["src/", "test/"]
34
}

Diff for: packages/prototype-estimator/tsconfig.build.json

+1-2
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@
44
"outDir": "dist",
55
"rootDir": "src"
66
},
7-
"include": ["src/**/*"],
8-
"exclude": ["**/*.test.ts", "**/*.spec.ts"],
7+
"exclude": ["test/", "**/*.test.ts", "**/*.spec.ts"],
98
"references": [
109
{ "path": "../data-access/tsconfig.build.json" },
1110
{ "path": "../epk-signature/tsconfig.build.json" },

Diff for: packages/prototype-estimator/tsconfig.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
{
2-
"extends": "../../tsconfig"
2+
"extends": "../../tsconfig",
3+
"include": ["src/", "test/"]
34
}

Diff for: packages/request-client.js/tsconfig.build.json

+1-2
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@
44
"outDir": "dist",
55
"rootDir": "src"
66
},
7-
"include": ["src/**/*"],
8-
"exclude": ["**/*.test.ts", "**/*.spec.ts"],
7+
"exclude": ["test/", "**/*.test.ts", "**/*.spec.ts"],
98
"references": [
109
{ "path": "../advanced-logic/tsconfig.build.json" },
1110
{ "path": "../currency/tsconfig.build.json" },

Diff for: packages/request-client.js/tsconfig.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
{
2-
"extends": "../../tsconfig"
2+
"extends": "../../tsconfig",
3+
"include": ["src/", "test/"]
34
}

Diff for: packages/request-logic/tsconfig.build.json

+1-2
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@
44
"outDir": "dist",
55
"rootDir": "src"
66
},
7-
"include": ["src/**/*"],
8-
"exclude": ["**/*.test.ts", "**/*.spec.ts"],
7+
"exclude": ["test/", "**/*.test.ts", "**/*.spec.ts"],
98
"references": [
109
{ "path": "../advanced-logic/tsconfig.build.json" },
1110
{ "path": "../multi-format/tsconfig.build.json" },

Diff for: packages/request-logic/tsconfig.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
{
2-
"extends": "../../tsconfig"
2+
"extends": "../../tsconfig",
3+
"include": ["src/", "test/"]
34
}

Diff for: packages/request-node/tsconfig.build.json

+1-2
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@
44
"outDir": "dist",
55
"rootDir": "src"
66
},
7-
"include": ["src/**/*"],
8-
"exclude": ["**/*.test.ts", "**/*.spec.ts"],
7+
"exclude": ["test/", "**/*.test.ts", "**/*.spec.ts"],
98
"references": [
109
{ "path": "../data-access/tsconfig.build.json" },
1110
{ "path": "../ethereum-storage/tsconfig.build.json" },

Diff for: packages/request-node/tsconfig.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,6 @@
22
"extends": "../../tsconfig",
33
"compilerOptions": {
44
"esModuleInterop": true
5-
}
5+
},
6+
"include": ["src/", "test/"]
67
}

Diff for: packages/smart-contracts/tsconfig.build.json

+1-2
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@
44
"outDir": "dist",
55
"rootDir": "."
66
},
7-
"include": ["src/**/*", "src/**/*.json", "scripts", "hardhat.config.ts", "scripts-create2"],
8-
"exclude": ["**/*.test.ts", "**/*.spec.ts"],
7+
"exclude": ["test/", "**/*.test.ts", "**/*.spec.ts"],
98
"references": [
109
{ "path": "../currency/tsconfig.build.json" },
1110
{ "path": "../utils/tsconfig.build.json" }

Diff for: packages/smart-contracts/tsconfig.json

+9-1
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,13 @@
22
"extends": "../../tsconfig",
33
"compilerOptions": {
44
"resolveJsonModule": true
5-
}
5+
},
6+
"include": [
7+
"src/",
8+
"src/lib/artifacts/**/*.json",
9+
"test/",
10+
"scripts/",
11+
"scripts-create2/",
12+
"hardhat.config.ts"
13+
]
614
}

Diff for: packages/thegraph-data-access/tsconfig.build.json

+1-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
"outDir": "dist",
55
"rootDir": "src"
66
},
7-
"include": ["src/**/*"],
8-
"exclude": ["**/*.test.ts", "**/*.spec.ts"],
7+
"exclude": ["test/", "**/*.test.ts", "**/*.spec.ts"],
98
"references": [{ "path": "../types/tsconfig.build.json" }]
109
}

Diff for: packages/thegraph-data-access/tsconfig.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
{
2-
"extends": "../../tsconfig"
2+
"extends": "../../tsconfig",
3+
"include": ["src/", "test/"]
34
}

Diff for: packages/toolbox/tsconfig.build.json

+1-2
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@
44
"outDir": "dist",
55
"rootDir": "src"
66
},
7-
"include": ["src/**/*"],
8-
"exclude": ["**/*.test.ts", "**/*.spec.ts"],
7+
"exclude": ["test/", "**/*.test.ts", "**/*.spec.ts"],
98
"references": [
109
{ "path": "../epk-signature/tsconfig.build.json" },
1110
{ "path": "../request-client.js/tsconfig.build.json" },

Diff for: packages/toolbox/tsconfig.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,6 @@
33
"compilerOptions": {
44
"esModuleInterop": true,
55
"lib": ["ES2019"]
6-
}
6+
},
7+
"include": ["src/", "test/"]
78
}

Diff for: packages/transaction-manager/tsconfig.build.json

+1-2
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@
44
"outDir": "dist",
55
"rootDir": "src"
66
},
7-
"include": ["src/**/*"],
8-
"exclude": ["**/*.test.ts", "**/*.spec.ts"],
7+
"exclude": ["test/", "**/*.test.ts", "**/*.spec.ts"],
98
"references": [
109
{ "path": "../types/tsconfig.build.json" },
1110
{ "path": "../utils/tsconfig.build.json" },

Diff for: packages/transaction-manager/tsconfig.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
{
2-
"extends": "../../tsconfig"
2+
"extends": "../../tsconfig",
3+
"include": ["src/", "test/"]
34
}

Diff for: packages/types/tsconfig.build.json

+1-2
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,5 @@
44
"outDir": "dist",
55
"rootDir": "src"
66
},
7-
"include": ["src/**/*"],
8-
"exclude": ["**/*.test.ts", "**/*.spec.ts"]
7+
"exclude": ["test/", "**/*.test.ts", "**/*.spec.ts"]
98
}

Diff for: packages/types/tsconfig.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,6 @@
22
"extends": "../../tsconfig",
33
"compilerOptions": {
44
"importHelpers": false
5-
}
5+
},
6+
"include": ["src/", "test/"]
67
}

Diff for: packages/usage-examples/tsconfig.build.json

+1-2
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@
44
"outDir": "dist",
55
"rootDir": "src"
66
},
7-
"include": ["src/**/*"],
8-
"exclude": ["**/*.test.ts", "**/*.spec.ts"],
7+
"exclude": ["test/", "**/*.test.ts", "**/*.spec.ts"],
98
"references": [
109
{ "path": "../data-access/tsconfig.build.json" },
1110
{ "path": "../epk-decryption/tsconfig.build.json" },

Diff for: packages/usage-examples/tsconfig.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
{
2-
"extends": "../../tsconfig"
2+
"extends": "../../tsconfig",
3+
"include": ["src/", "test/"]
34
}

Diff for: packages/utils/tsconfig.build.json

+1-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
"outDir": "dist",
55
"rootDir": "src"
66
},
7-
"include": ["src/**/*"],
8-
"exclude": ["**/*.test.ts", "**/*.spec.ts"],
7+
"exclude": ["test/", "**/*.test.ts", "**/*.spec.ts"],
98
"references": [{ "path": "../types/tsconfig.build.json" }]
109
}

Diff for: packages/utils/tsconfig.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
{
2-
"extends": "../../tsconfig"
2+
"extends": "../../tsconfig",
3+
"include": ["src/", "test/"]
34
}

Diff for: packages/web3-signature/tsconfig.build.json

+1-2
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@
44
"outDir": "dist",
55
"rootDir": "src"
66
},
7-
"include": ["src/**/*"],
8-
"exclude": ["**/*.test.ts", "**/*.spec.ts"],
7+
"exclude": ["test/", "**/*.test.ts", "**/*.spec.ts"],
98
"references": [
109
{ "path": "../types/tsconfig.build.json" },
1110
{ "path": "../utils/tsconfig.build.json" }

Diff for: packages/web3-signature/tsconfig.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
{
2-
"extends": "../../tsconfig"
2+
"extends": "../../tsconfig",
3+
"include": ["src/", "test/"]
34
}

0 commit comments

Comments
 (0)