Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit aec093d

Browse files
committedNov 14, 2023
wip on shared tsconfig
1 parent 63ef7f6 commit aec093d

File tree

9 files changed

+39
-78
lines changed

9 files changed

+39
-78
lines changed
 

‎packages/1155-contracts/package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@
5353
"prettier-plugin-solidity": "^1.1.3",
5454
"@types/node": "^20.1.2",
5555
"tsup": "^7.2.0",
56-
"typescript": "^5.0.4"
56+
"tsconfig": "*",
57+
"typescript": "^5.2.2"
5758
}
5859
}

‎packages/1155-contracts/tsconfig.json

+1-17
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,7 @@
11
{
2+
"extends": "tsconfig/tsconfig.json",
23
"compilerOptions": {
3-
"allowJs": true,
44
"baseUrl": ".",
5-
"downlevelIteration": true,
6-
"esModuleInterop": true,
7-
"isolatedModules": true,
8-
"lib": ["es2021"],
9-
"module": "esnext",
10-
"moduleResolution": "node",
11-
"noImplicitAny": true,
12-
"noUncheckedIndexedAccess": true,
13-
"noUnusedLocals": true,
14-
"noUnusedParameters": true,
15-
"resolveJsonModule": true,
16-
"skipLibCheck": true,
17-
"strict": true,
18-
"strictNullChecks": true,
19-
"target": "es2021",
20-
"types": ["node"],
215
"outDir": "dist"
226
},
237
"exclude": ["node_modules/**", "dist/**"],

‎packages/protocol-deployments/package.json

+1
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@
3838
"solady": "^0.0.132",
3939
"tsup": "^7.2.0",
4040
"tsx": "^3.13.0",
41+
"tsconfig": "*",
4142
"typescript": "^5.2.2"
4243
}
4344
}

‎packages/protocol-deployments/tsconfig.json

+1-17
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,7 @@
11
{
2+
"extends": "tsconfig/tsconfig.json",
23
"compilerOptions": {
3-
"allowJs": true,
44
"baseUrl": ".",
5-
"downlevelIteration": true,
6-
"esModuleInterop": true,
7-
"isolatedModules": true,
8-
"lib": ["es2021"],
9-
"module": "esnext",
10-
"moduleResolution": "node",
11-
"noImplicitAny": true,
12-
"noUncheckedIndexedAccess": true,
13-
"noUnusedLocals": true,
14-
"noUnusedParameters": true,
15-
"resolveJsonModule": true,
16-
"skipLibCheck": true,
17-
"strict": true,
18-
"strictNullChecks": true,
19-
"target": "es2021",
20-
"types": ["node"],
215
"outDir": "dist"
226
},
237
"exclude": ["node_modules/**", "dist/**"],

‎packages/protocol-sdk/package.json

+1
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
"viem": "^1.16.6"
2222
},
2323
"devDependencies": {
24+
"tsconfig": "*",
2425
"typescript": "^5.2.2",
2526
"vite": "4.5.0",
2627
"vitest": "0.34.6"

‎packages/protocol-sdk/tsconfig.json

+2-17
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,8 @@
11
{
2+
"extends": "tsconfig/tsconfig.json",
23
"compilerOptions": {
3-
"allowJs": true,
4-
"baseUrl": ".",
5-
"downlevelIteration": true,
6-
"esModuleInterop": true,
7-
"isolatedModules": true,
84
"lib": ["es2021", "DOM"],
9-
"module": "esnext",
10-
"moduleResolution": "node",
11-
"noImplicitAny": true,
12-
"noUncheckedIndexedAccess": true,
13-
"noUnusedLocals": true,
14-
"noUnusedParameters": true,
15-
"resolveJsonModule": true,
16-
"skipLibCheck": true,
17-
"strict": true,
18-
"strictNullChecks": true,
19-
"target": "es2021",
20-
"types": ["node"],
5+
"baseUrl": ".",
216
"outDir": "dist"
227
},
238
"exclude": ["node_modules/**", "dist/**"],

‎packages/tsconfig/package.json

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"name": "tsconfig",
3+
"version": "0.0.0",
4+
"private": true,
5+
"license": "MIT",
6+
"publishConfig": {
7+
"access": "public"
8+
}
9+
}

‎packages/tsconfig/tsconfig.json

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
{
2+
"compilerOptions": {
3+
"allowJs": true,
4+
"downlevelIteration": true,
5+
"esModuleInterop": true,
6+
"isolatedModules": true,
7+
"lib": ["es2021"],
8+
"module": "esnext",
9+
"moduleResolution": "node",
10+
"noImplicitAny": true,
11+
"noUncheckedIndexedAccess": true,
12+
"noUnusedLocals": true,
13+
"noUnusedParameters": true,
14+
"resolveJsonModule": true,
15+
"skipLibCheck": true,
16+
"strict": true,
17+
"strictNullChecks": true,
18+
"target": "es2021",
19+
"types": ["node"]
20+
}
21+
}

‎yarn.lock

+1-26
Original file line numberDiff line numberDiff line change
@@ -746,16 +746,6 @@
746746
resolved "https://registry.yarnpkg.com/@types/semver/-/semver-7.5.3.tgz#9a726e116beb26c24f1ccd6850201e1246122e04"
747747
integrity sha512-OxepLK9EuNEIPxWNME+C6WwbRAOOI2o2BaQEGzz5Lu2e4Z5eDnEo+/aVEDMIXywoJitJ7xWd641wrGLZdtwRyw==
748748

749-
"@types/strip-bom@^3.0.0":
750-
version "3.0.0"
751-
resolved "https://registry.yarnpkg.com/@types/strip-bom/-/strip-bom-3.0.0.tgz#14a8ec3956c2e81edb7520790aecf21c290aebd2"
752-
integrity sha512-xevGOReSYGM7g/kUBZzPqCrR/KYAo+F0yiPc85WFTJa0MSLtyFTVTU6cJu/aV4mid7IffDIWqo69THF2o4JiEQ==
753-
754-
"@types/strip-json-comments@0.0.30":
755-
version "0.0.30"
756-
resolved "https://registry.yarnpkg.com/@types/strip-json-comments/-/strip-json-comments-0.0.30.tgz#9aa30c04db212a9a0649d6ae6fd50accc40748a1"
757-
integrity sha512-7NQmHra/JILCd1QqpSzl8+mJRc8ZHz3uDm8YV1Ks9IhK0epEiTw8aIErbvH9PI+6XbqhyIQy3462nEsn7UVzjQ==
758-
759749
"@types/ws@^8.5.5":
760750
version "8.5.6"
761751
resolved "https://registry.yarnpkg.com/@types/ws/-/ws-8.5.6.tgz#e9ad51f0ab79b9110c50916c9fcbddc36d373065"
@@ -3688,11 +3678,6 @@ strip-indent@^3.0.0:
36883678
dependencies:
36893679
min-indent "^1.0.0"
36903680

3691-
strip-json-comments@^2.0.0:
3692-
version "2.0.1"
3693-
resolved "https://registry.yarnpkg.com/strip-json-comments/-/strip-json-comments-2.0.1.tgz#3c531942e908c2697c0ec344858c286c7ca0a60a"
3694-
integrity sha512-4gB8na07fecVVkOI6Rs4e7T6NOTki5EmL7TUduTs6bu3EdnSycntVJ4re8kgZA+wx9IueI2Y11bfbgwtzuE0KQ==
3695-
36963681
strip-json-comments@^3.1.1:
36973682
version "3.1.1"
36983683
resolved "https://registry.yarnpkg.com/strip-json-comments/-/strip-json-comments-3.1.1.tgz#31f1281b3832630434831c310c01cccda8cbe006"
@@ -3817,16 +3802,6 @@ ts-interface-checker@^0.1.9:
38173802
resolved "https://registry.yarnpkg.com/ts-interface-checker/-/ts-interface-checker-0.1.13.tgz#784fd3d679722bc103b1b4b8030bcddb5db2a699"
38183803
integrity sha512-Y/arvbn+rrz3JCKl9C4kVNfTfSm2/mEp5FSz5EsZSANGPSlQrpRI5M4PKF+mJnE52jOO90PnPSc3Ur3bTQw0gA==
38193804

3820-
tsconfig@*:
3821-
version "7.0.0"
3822-
resolved "https://registry.yarnpkg.com/tsconfig/-/tsconfig-7.0.0.tgz#84538875a4dc216e5c4a5432b3a4dec3d54e91b7"
3823-
integrity sha512-vZXmzPrL+EmC4T/4rVlT2jNVMWCi/O4DIiSj3UHg1OE5kCKbk4mfrXc6dZksLgRM/TZlKnousKH9bbTazUWRRw==
3824-
dependencies:
3825-
"@types/strip-bom" "^3.0.0"
3826-
"@types/strip-json-comments" "0.0.30"
3827-
strip-bom "^3.0.0"
3828-
strip-json-comments "^2.0.0"
3829-
38303805
tslib@^2.0.3:
38313806
version "2.6.2"
38323807
resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.6.2.tgz#703ac29425e7b37cd6fd456e92404d46d1f3e4ae"
@@ -3994,7 +3969,7 @@ typescript@5.1:
39943969
resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.1.6.tgz#02f8ac202b6dad2c0dd5e0913745b47a37998274"
39953970
integrity sha512-zaWCozRZ6DLEWAWFrVDz1H6FVXzUSfTy5FUMWsQlU8Ym5JP9eO4xkTIROFCQvhQf61z6O/G6ugw3SgAnvvm+HA==
39963971

3997-
typescript@^5.0.4, typescript@^5.2.2:
3972+
typescript@^5.2.2:
39983973
version "5.2.2"
39993974
resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.2.2.tgz#5ebb5e5a5b75f085f22bc3f8460fba308310fa78"
40003975
integrity sha512-mI4WrpHsbCIcwT9cF4FZvr80QUeKvsUsUvKDoR+X/7XHQH98xYD8YHZg7ANtz2GtZt/CBq2QJ0thkGJMHfqc1w==

0 commit comments

Comments
 (0)
Please sign in to comment.