Skip to content
This repository was archived by the owner on Oct 20, 2024. It is now read-only.

Commit a6eecaa

Browse files
committed
update tsconfig
1 parent 05f6123 commit a6eecaa

File tree

4 files changed

+3
-112
lines changed

4 files changed

+3
-112
lines changed

package.json

+1-2
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"clean": "rimraf dist",
1515
"build": "yarn clean && tsc -p ./tsconfig.build.json",
1616
"test": "jest",
17-
"lint": "eslint . && tsc --noEmit",
17+
"lint": "eslint . && tsc --noEmit -p ./tsconfig.build.json",
1818
"lint:fix": "eslint . --fix",
1919
"prettier": "prettier --check '**'",
2020
"prettier:fix": "prettier --write '**'"
@@ -35,7 +35,6 @@
3535
"@arktype/attest": "^0.7.0",
3636
"abitype": "^1.0.0",
3737
"ethers": "^6.11.1",
38-
"userop": "^0.4.0-beta.5",
3938
"viem": "^2.9.12"
4039
}
4140
}

tsconfig.base.json

+1-2
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,7 @@
3636
"module": "commonjs",
3737
"target": "ES2021", // Setting this to `ES2021` enables native support for `Node v16+`: https://github.com/microsoft/TypeScript/wiki/Node-Target-Mapping.
3838
"lib": [
39-
"ES2022", // By using ES2022 we get access to the `.cause` property on `Error` instances.
40-
"DOM" // We are adding `DOM` here to get the `fetch`, etc. types. This should be removed once these types are available via DefinitelyTyped.
39+
"ES2022" // By using ES2022 we get access to the `.cause` property on `Error` instances.
4140
],
4241

4342
// Skip type checking for node modules

tsconfig.build.json

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
11
{
2-
// This file is used to compile the for cjs and esm (see package.json build scripts). It should exclude all test files.
32
"extends": "./tsconfig.base.json",
43

54
"include": ["src"],
65
"exclude": ["dist", "src/test", "node_modules"],
76
"compilerOptions": {
8-
"moduleResolution": "Node",
7+
"moduleResolution": "Node10",
98
"sourceMap": true,
109
"outDir": "./dist",
1110
"rootDir": "./src"

tsconfig.extension.json

-106
This file was deleted.

0 commit comments

Comments
 (0)