Skip to content

Commit

Permalink
chore: [DX-3275] Upgrade Typescript to 5.6 (#2204)
Browse files Browse the repository at this point in the history
  • Loading branch information
zaidarain1 authored Sep 23, 2024
1 parent c170758 commit 70416b4
Show file tree
Hide file tree
Showing 38 changed files with 76 additions and 96 deletions.
2 changes: 1 addition & 1 deletion examples/checkout/sdk-connect-with-nextjs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,6 @@
"@types/react-dom": "^18.3.0",
"eslint": "^8",
"eslint-config-next": "14.2.7",
"typescript": "^5"
"typescript": "^5.6.2"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,6 @@
"@types/react-dom": "^18.3.0",
"eslint": "^8",
"eslint-config-next": "14.2.7",
"typescript": "^5"
"typescript": "^5.6.2"
}
}
2 changes: 1 addition & 1 deletion examples/orderbook/create-listing-with-nextjs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,6 @@
"@types/react-dom": "^18",
"eslint": "^8",
"eslint-config-next": "14.2.7",
"typescript": "^5"
"typescript": "^5.6.2"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,6 @@
"@types/react-dom": "^18",
"eslint": "^8",
"eslint-config-next": "14.2.7",
"typescript": "^5"
"typescript": "^5.6.2"
}
}
2 changes: 1 addition & 1 deletion examples/passport/identity-with-nextjs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"eslint-config-next": "14.2.5",
"postcss": "^8.4.39",
"tailwindcss": "^3.4.6",
"typescript": "^5.5.4"
"typescript": "^5.6.2"
},
"private": true,
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion examples/passport/wallets-connect-with-nextjs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"eslint-config-next": "14.2.5",
"postcss": "^8",
"tailwindcss": "^3.4.1",
"typescript": "^5.5.4"
"typescript": "^5.6.2"
},
"private": true,
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion examples/passport/wallets-signing-with-nextjs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"eslint-config-next": "14.2.5",
"postcss": "^8",
"tailwindcss": "^3.4.1",
"typescript": "^5.5.4"
"typescript": "^5.6.2"
},
"private": true,
"scripts": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"eslint-config-next": "14.2.5",
"postcss": "^8.4.39",
"tailwindcss": "^3.4.6",
"typescript": "^5.5.4"
"typescript": "^5.6.2"
},
"private": true,
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion packages/blockchain-data/sdk/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"rollup": "^4.19.1",
"ts-mockito": "^2.6.1",
"typechain": "^8.1.1",
"typescript": "^5.5.4",
"typescript": "^5.6.2",
"unplugin-swc": "^1.5.1"
},
"exports": {
Expand Down
2 changes: 1 addition & 1 deletion packages/checkout/sdk-sample-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
"react-app-rewired": "^2.2.1",
"react-scripts": "5.0.1",
"stream-browserify": "^3.0.0",
"typescript": "^5.5.4",
"typescript": "^5.6.2",
"web-vitals": "^2.1.4"
},
"private": true,
Expand Down
2 changes: 1 addition & 1 deletion packages/checkout/sdk/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
"text-encoding": "^0.7.0",
"typedoc": "^0.26.5",
"typedoc-plugin-markdown": "^4.2.3",
"typescript": "^5.5.4",
"typescript": "^5.6.2",
"unplugin-swc": "^1.5.1"
},
"exports": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { CheckoutConfiguration } from '../../config';
import { isOnRampAvailable, isSwapAvailable } from './geoBlocking';
import { AvailableRoutingOptions } from '../../types';

const isPassportProvider = (provider: Web3Provider) => (provider.provider as any)?.isPassport === true ?? false;
const isPassportProvider = (provider: Web3Provider) => (provider.provider as any)?.isPassport === true;

type GeoBlockingCheck = {
id: 'onRamp' | 'swap';
Expand Down
2 changes: 1 addition & 1 deletion packages/checkout/widgets-lib/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
"rollup-plugin-svg": "^2.0.0",
"rollup-plugin-visualizer": "^5.12.0",
"ts-jest": "^29.1.0",
"typescript": "^5.5.4",
"typescript": "^5.6.2",
"unplugin-swc": "^1.5.1",
"web-vitals": "^2.1.4"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/checkout/widgets-sample-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"@types/react": "^18.0.28",
"@types/react-dom": "^18.0.11",
"@vitejs/plugin-react": "^4.2.0",
"typescript": "^5.5.4",
"typescript": "^5.6.2",
"unplugin-swc": "^1.5.1",
"vite": "^5.2.14",
"vite-plugin-node-polyfills": "^0.16.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"prettier": "^2.8.7",
"rollup": "^4.19.1",
"ts-node": "^10.9.1",
"typescript": "^5.5.4",
"typescript": "^5.6.2",
"unplugin-swc": "^1.5.1"
},
"engines": {
Expand Down
2 changes: 1 addition & 1 deletion packages/internal/bridge/bridge-sample-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"eslint": "^8.40.0",
"eslint-config-next": "13.3.1",
"ts-node": "^10.9.1",
"typescript": "^5.5.4"
"typescript": "^5.6.2"
},
"private": true,
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion packages/internal/bridge/sdk/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"rollup": "^4.19.1",
"ts-node": "^10.9.1",
"typechain": "^8.1.1",
"typescript": "^5.5.4",
"typescript": "^5.6.2",
"unplugin-swc": "^1.5.1"
},
"engines": {
Expand Down
2 changes: 1 addition & 1 deletion packages/internal/cryptofiat/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"prettier": "^2.8.7",
"rollup": "^4.19.1",
"ts-node": "^10.9.1",
"typescript": "^5.5.4",
"typescript": "^5.6.2",
"unplugin-swc": "^1.5.1"
},
"engines": {
Expand Down
2 changes: 1 addition & 1 deletion packages/internal/dex/sdk-sample-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"react": "^18.2.0",
"react-dom": "^18.2.0",
"tailwindcss": "3.3.2",
"typescript": "^5.5.4"
"typescript": "^5.6.2"
},
"private": true,
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion packages/internal/dex/sdk/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"rollup": "^4.19.1",
"ts-node": "^10.9.1",
"typechain": "^8.1.1",
"typescript": "^5.5.4",
"typescript": "^5.6.2",
"unplugin-swc": "^1.5.1"
},
"engines": {
Expand Down
2 changes: 1 addition & 1 deletion packages/internal/factory/factory-sample-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"eslint": "^8.40.0",
"eslint-config-next": "13.3.1",
"ts-node": "^10.9.1",
"typescript": "^5.5.4"
"typescript": "^5.6.2"
},
"private": true,
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion packages/internal/factory/sdk/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"rollup": "^4.19.1",
"ts-node": "^10.9.1",
"typechain": "^8.1.1",
"typescript": "^5.5.4",
"typescript": "^5.6.2",
"unplugin-swc": "^1.5.1"
},
"engines": {
Expand Down
2 changes: 1 addition & 1 deletion packages/internal/generated-clients/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"jest": "^29.4.3",
"rimraf": "^6.0.1",
"rollup": "^4.19.1",
"typescript": "^5.5.4",
"typescript": "^5.6.2",
"unplugin-swc": "^1.5.1"
},
"engines": {
Expand Down
2 changes: 1 addition & 1 deletion packages/internal/guardian/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"rollup": "^4.19.1",
"ts-node": "^10.9.1",
"typechain": "^8.1.1",
"typescript": "^5.5.4",
"typescript": "^5.6.2",
"unplugin-swc": "^1.5.1"
},
"engines": {
Expand Down
2 changes: 1 addition & 1 deletion packages/internal/metrics/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"jest-environment-jsdom": "^29.4.3",
"rollup": "^4.19.1",
"ts-jest": "^29.1.0",
"typescript": "^5.5.4",
"typescript": "^5.6.2",
"unplugin-swc": "^1.5.1"
},
"engines": {
Expand Down
2 changes: 1 addition & 1 deletion packages/internal/toolkit/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"prettier": "^2.8.7",
"rollup": "^4.19.1",
"ts-node": "^10.9.1",
"typescript": "^5.5.4",
"typescript": "^5.6.2",
"unplugin-swc": "^1.5.1"
},
"engines": {
Expand Down
2 changes: 1 addition & 1 deletion packages/minting-backend/sdk/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"rollup": "^4.19.1",
"testcontainers": "^10.9.0",
"ts-mockito": "^2.6.1",
"typescript": "^5.5.4",
"typescript": "^5.6.2",
"unplugin-swc": "^1.5.1"
},
"exports": {
Expand Down
2 changes: 1 addition & 1 deletion packages/orderbook/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"rollup": "^4.19.1",
"ts-mockito": "^2.6.1",
"typechain": "^8.1.1",
"typescript": "^5.5.4",
"typescript": "^5.6.2",
"unplugin-swc": "^1.5.1"
},
"exports": {
Expand Down
2 changes: 1 addition & 1 deletion packages/passport/sdk-sample-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"concurrently": "^8.2.2",
"eslint": "^8.40.0",
"eslint-config-next": "13.3.1",
"typescript": "^5.5.4"
"typescript": "^5.6.2"
},
"private": true,
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion packages/passport/sdk/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
"prettier": "^2.8.7",
"rollup": "^4.19.1",
"ts-node": "^10.9.1",
"typescript": "^5.5.4",
"typescript": "^5.6.2",
"unplugin-swc": "^1.5.1"
},
"engines": {
Expand Down
2 changes: 1 addition & 1 deletion packages/webhook/sdk/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"rollup": "^4.19.1",
"ts-mockito": "^2.6.1",
"typechain": "^8.1.1",
"typescript": "^5.5.4",
"typescript": "^5.6.2",
"unplugin-swc": "^1.5.1"
},
"exports": {
Expand Down
2 changes: 1 addition & 1 deletion packages/x-client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"jest": "^29.4.3",
"jest-environment-jsdom": "^29.4.3",
"rollup": "^4.19.1",
"typescript": "^5.5.4",
"typescript": "^5.6.2",
"unplugin-swc": "^1.5.1"
},
"engines": {
Expand Down
2 changes: 1 addition & 1 deletion packages/x-provider/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"prettier": "^2.8.7",
"rollup": "^4.19.1",
"ts-node": "^10.9.1",
"typescript": "^5.5.4",
"typescript": "^5.6.2",
"unplugin-swc": "^1.5.1"
},
"engines": {
Expand Down
2 changes: 1 addition & 1 deletion packages/x-provider/src/sample-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-scripts": "5.0.1",
"typescript": "^5.5.4",
"typescript": "^5.6.2",
"web-vitals": "^2.1.4"
},
"devDependencies": {
Expand Down
4 changes: 2 additions & 2 deletions sdk/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@
"rollup-plugin-dts": "^6.1.1",
"rollup-plugin-polyfill-node": "^0.13.0",
"semver": "^7.4.0",
"typescript": "^5.5.4"
"typescript": "^5.6.2"
},
"engines": {
"node": ">=20.0.0"
Expand Down Expand Up @@ -168,4 +168,4 @@
},
"type": "module",
"types": "./dist/index.d.ts"
}
}
2 changes: 1 addition & 1 deletion tests/func-tests/imx/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"pinst": "^3.0.0",
"ts-jest": "^29.1.1",
"ts-node": "^10.9.1",
"typescript": "^5.5.4"
"typescript": "^5.6.2"
},
"resolutions": {
"@openzeppelin/contracts": "3.4.2-solc-0.7"
Expand Down
2 changes: 1 addition & 1 deletion tests/func-tests/zkevm/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"pinst": "^3.0.0",
"ts-jest": "^29.1.1",
"ts-node": "^10.9.2",
"typescript": "^5.5.4"
"typescript": "^5.6.2"
},
"scripts": {
"compile": "npx hardhat compile",
Expand Down
Loading

0 comments on commit 70416b4

Please sign in to comment.