Skip to content

Commit 084c6b6

Browse files
authored
feat: upgrade to TypeScript 6 (#8398)
1 parent 09d6760 commit 084c6b6

43 files changed

Lines changed: 1490 additions & 1503 deletions

Some content is hidden

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

.changeset/ts6-stopgap.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
---
2+
'@hyperlane-xyz/aleo-sdk': patch
3+
'@hyperlane-xyz/cli': patch
4+
'@hyperlane-xyz/cosmos-sdk': patch
5+
'@hyperlane-xyz/deploy-sdk': patch
6+
'@hyperlane-xyz/helloworld': patch
7+
'@hyperlane-xyz/metrics': patch
8+
'@hyperlane-xyz/provider-sdk': patch
9+
'@hyperlane-xyz/radix-sdk': patch
10+
'@hyperlane-xyz/rebalancer': patch
11+
'@hyperlane-xyz/relayer': patch
12+
'@hyperlane-xyz/sdk': patch
13+
'@hyperlane-xyz/sealevel-sdk': patch
14+
'@hyperlane-xyz/tron-sdk': patch
15+
'@hyperlane-xyz/utils': patch
16+
---
17+
18+
The TypeScript packages were updated to support TypeScript 6.0 and to make ambient type loading explicit so the future TypeScript 7.0 upgrade is smoother.

pnpm-lock.yaml

Lines changed: 1385 additions & 1466 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pnpm-workspace.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ catalog:
104104
# === Development dependencies ===
105105

106106
# Build tools
107-
typescript: 5.8.3
107+
typescript: 6.0.2
108108
tsx: ^4.19.1
109109
ts-node: ^10.9.2
110110
'@vercel/ncc': ^0.38.3

solidity/multicollateral/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@
4141
"@hyperlane-xyz/core": "workspace:*"
4242
},
4343
"devDependencies": {
44+
"@types/node": "catalog:",
4445
"@typechain/ethers-v5": "catalog:",
4546
"typechain": "catalog:",
4647
"typescript": "catalog:"

starknet/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@
3636
"@eslint/js": "catalog:",
3737
"@hyperlane-xyz/eslint-config": "workspace:*",
3838
"@hyperlane-xyz/tsconfig": "workspace:^",
39+
"@types/node": "catalog:",
3940
"@typescript-eslint/eslint-plugin": "catalog:",
4041
"@typescript-eslint/parser": "catalog:",
4142
"eslint": "catalog:",

typescript/aleo-sdk/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@
4444
"@types/chai": "catalog:",
4545
"@types/chai-as-promised": "catalog:",
4646
"@types/mocha": "catalog:",
47+
"@types/node": "catalog:",
4748
"@types/unzipper": "^0",
4849
"@typescript-eslint/eslint-plugin": "catalog:",
4950
"@typescript-eslint/parser": "catalog:",

typescript/aleo-sdk/tsconfig.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
"extends": "@hyperlane-xyz/tsconfig/tsconfig.json",
33
"compilerOptions": {
44
"outDir": "./dist/",
5-
"rootDir": "./src"
5+
"rootDir": "./src",
6+
"types": ["node", "mocha"]
67
},
78
"include": ["./src/**/*.ts"]
89
}

typescript/cli/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@
7373
"@inquirer/search": "^3.0.1",
7474
"@inquirer/select": "catalog:",
7575
"@inquirer/type": "^1.0.0",
76+
"@types/chai": "catalog:",
7677
"@types/chai-as-promised": "catalog:",
7778
"@types/lodash-es": "catalog:",
7879
"@types/mocha": "catalog:",

typescript/cli/tsconfig.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
"extends": "@hyperlane-xyz/tsconfig/tsconfig.json",
33
"compilerOptions": {
44
"outDir": "./dist/",
5-
"rootDir": "."
5+
"rootDir": ".",
6+
"types": ["node", "mocha"]
67
},
78
"include": [
89
"./cli.ts",

typescript/cosmos-sdk/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@
5353
"@types/chai": "catalog:",
5454
"@types/chai-as-promised": "catalog:",
5555
"@types/mocha": "catalog:",
56+
"@types/node": "catalog:",
5657
"@typescript-eslint/eslint-plugin": "catalog:",
5758
"@typescript-eslint/parser": "catalog:",
5859
"chai": "catalog:",

0 commit comments

Comments
 (0)