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

Commit

Permalink
update tsconfig
Browse files Browse the repository at this point in the history
  • Loading branch information
NickSolante committed Apr 30, 2024
1 parent 05f6123 commit f30a1a8
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 113 deletions.
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"clean": "rimraf dist",
"build": "yarn clean && tsc -p ./tsconfig.build.json",
"test": "jest",
"lint": "eslint . && tsc --noEmit",
"lint": "eslint . && tsc --noEmit -p ./tsconfig.build.json",
"lint:fix": "eslint . --fix",
"prettier": "prettier --check '**'",
"prettier:fix": "prettier --write '**'"
Expand All @@ -35,7 +35,6 @@
"@arktype/attest": "^0.7.0",
"abitype": "^1.0.0",
"ethers": "^6.11.1",
"userop": "^0.4.0-beta.5",
"viem": "^2.9.12"
}
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { WalletClient, Transport, Chain, Account } from "viem";
import { WalletClient, Account, Transport, Chain } from "viem";
import { privateKeyToAccount, generatePrivateKey } from "viem/accounts";
import { RequestSignatureFunc } from "../types";

Expand Down
3 changes: 1 addition & 2 deletions tsconfig.base.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,7 @@
"module": "commonjs",
"target": "ES2021", // Setting this to `ES2021` enables native support for `Node v16+`: https://github.com/microsoft/TypeScript/wiki/Node-Target-Mapping.
"lib": [
"ES2022", // By using ES2022 we get access to the `.cause` property on `Error` instances.
"DOM" // We are adding `DOM` here to get the `fetch`, etc. types. This should be removed once these types are available via DefinitelyTyped.
"ES2022" // By using ES2022 we get access to the `.cause` property on `Error` instances.
],

// Skip type checking for node modules
Expand Down
3 changes: 1 addition & 2 deletions tsconfig.build.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
{
// This file is used to compile the for cjs and esm (see package.json build scripts). It should exclude all test files.
"extends": "./tsconfig.base.json",

"include": ["src"],
"exclude": ["dist", "src/test", "node_modules"],
"compilerOptions": {
"moduleResolution": "Node",
"moduleResolution": "Node10",
"sourceMap": true,
"outDir": "./dist",
"rootDir": "./src"
Expand Down
106 changes: 0 additions & 106 deletions tsconfig.extension.json

This file was deleted.

0 comments on commit f30a1a8

Please sign in to comment.