Skip to content

Commit

Permalink
feat: add support for typescript v5
Browse files Browse the repository at this point in the history
  • Loading branch information
jfschwarz committed Aug 28, 2024
1 parent 03aa275 commit 610b0de
Show file tree
Hide file tree
Showing 17 changed files with 145 additions and 188 deletions.
2 changes: 1 addition & 1 deletion examples/ethers-v5-nodenext/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"@types/bn.js": "^5.1.0",
"ts-node": "^10.7.0",
"typechain": "workspace:^8.3.2",
"typescript": "^4.9.5"
"typescript": "^5.3.3"
},
"dependencies": {
"ethers": "^5.1.3",
Expand Down
2 changes: 1 addition & 1 deletion examples/ethers-v5/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"@types/bn.js": "^5.1.0",
"ts-node": "^10.7.0",
"typechain": "workspace:^8.3.2",
"typescript": "^4.9.5"
"typescript": "^5.3.3"
},
"dependencies": {
"ethers": "^5.1.3",
Expand Down
2 changes: 1 addition & 1 deletion examples/ethers-v6-nodenext/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"@types/bn.js": "^5.1.0",
"ts-node": "^10.7.0",
"typechain": "workspace:^8.3.2",
"typescript": "^4.7"
"typescript": ">=4.7.0"
},
"dependencies": {
"ethers": "^6.1.0"
Expand Down
2 changes: 1 addition & 1 deletion examples/ethers-v6/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"@types/bn.js": "^5.1.0",
"ts-node": "^10.7.0",
"typechain": "workspace:^8.3.2",
"typescript": "^4.7"
"typescript": ">=4.7.0"
},
"dependencies": {
"ethers": "^6.1.0"
Expand Down
4 changes: 2 additions & 2 deletions examples/hardhat/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"@types/chai": "^4.2.15",
"@types/chai-as-promised": "^7.1.3",
"@types/mocha": "^8.2.0",
"@types/node": "18.14.0",
"@types/node": "^18.19.47",
"chai": "^4.3.0",
"chai-as-promised": "^7.1.1",
"dotenv": "^8.2.0",
Expand All @@ -30,7 +30,7 @@
"hardhat": "^2.9.9",
"ts-node": "^10.7.0",
"typechain": "workspace:^8.3.2",
"typescript": "^4.9.5"
"typescript": "^5.3.3"
},
"dependencies": {}
}
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"devDependencies": {
"@changesets/cli": "^2.22.0",
"@types/mocha": "^8.2.1",
"@types/node": "18.14.0",
"@types/node": "^18.19.47",
"@typescript-eslint/eslint-plugin": "4.15.1",
"@typescript-eslint/parser": "4.15.1",
"earljs": "0.2.2",
Expand All @@ -42,7 +42,7 @@
"mocha": "^8.2.0",
"prettier": "^2.3.1",
"ts-node": "^10.7.0",
"typescript": "^4.9.5"
"typescript": "^5.3.3"
},
"pnpm": {
"peerDependencyRules": {
Expand All @@ -52,4 +52,4 @@
]
}
}
}
}
3 changes: 1 addition & 2 deletions packages/hardhat-test/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
"include": ["./typechain-types", "./test", "./hardhat.config.ts"],
"compilerOptions": {
"esModuleInterop": true,
"skipLibCheck": true,
"importsNotUsedAsValues": "error"
"skipLibCheck": true
}
}
2 changes: 1 addition & 1 deletion packages/hardhat/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"hardhat": "^2.9.9",
"rimraf": "^3.0.2",
"typechain": "workspace:^8.3.2",
"typescript": "^4"
"typescript": ">=4.7.0"
},
"peerDependencies": {
"@gnosis-guild/typechain-ethers-v6": "workspace:^0.5.3",
Expand Down
3 changes: 1 addition & 2 deletions packages/target-ethers-v5-test/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
"include": ["src", "test", "types"],
"compilerOptions": {
"esModuleInterop": true,
"skipLibCheck": true,
"importsNotUsedAsValues": "error"
"skipLibCheck": true
}
}
4 changes: 2 additions & 2 deletions packages/target-ethers-v5/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"@ethersproject/providers": "^5.0.0",
"ethers": "^5.1.3",
"typechain": "workspace:^8.3.2",
"typescript": ">=4.3.0"
"typescript": ">=4.7.0"
},
"devDependencies": {
"@ethersproject/abi": "^5.0.0",
Expand All @@ -47,7 +47,7 @@
"ethers": "^5.1.3",
"test-utils": "1.0.0",
"typechain": "workspace:^8.3.2",
"typescript": ">=4.3.0",
"typescript": ">=4.7.0",
"@types/proxyquire": "^1.3.28",
"proxyquire": "^2.1.3"
},
Expand Down
1 change: 1 addition & 0 deletions packages/target-ethers-v6-test/tsconfig.build.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"compilerOptions": {
"outDir": "dist",
"rootDir": "src",
"module": "node16",
"moduleResolution": "node16"
}
}
2 changes: 1 addition & 1 deletion packages/target-ethers-v6-test/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"target": "ES2020",
"esModuleInterop": true,
"skipLibCheck": true,
"importsNotUsedAsValues": "error",
"module": "node16",
"moduleResolution": "node16"
}
}
1 change: 1 addition & 0 deletions packages/target-ethers-v6-test/tsconfig.types.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"compilerOptions": {
"esModuleInterop": true,
"lib": ["ES2018", "DOM"],
"module": "node16",
"moduleResolution": "node16"
}
}
1 change: 1 addition & 0 deletions packages/target-ethers-v6/tsconfig.build.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"compilerOptions": {
"outDir": "dist",
"rootDir": "src",
"module": "node16",
"moduleResolution": "node16"
},
"references": [
Expand Down
1 change: 1 addition & 0 deletions packages/target-ethers-v6/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"compilerOptions": {
"esModuleInterop": true,
"skipLibCheck": true,
"module": "node16",
"moduleResolution": "node16"
}
}
4 changes: 2 additions & 2 deletions packages/typechain/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,11 +50,11 @@
"@types/glob": "^5.0.35",
"@types/lodash": "^4.14.139",
"@types/mkdirp": "^1.0.1",
"@types/node": "18.14.0",
"@types/node": "^18.19.47",
"bluebird": "^3.5.1",
"coveralls": "^3.0.2"
},
"peerDependencies": {
"typescript": ">=4.3.0"
"typescript": ">=4.7.0"
}
}
Loading

0 comments on commit 610b0de

Please sign in to comment.