-
Notifications
You must be signed in to change notification settings - Fork 620
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: upgrade to typescript 5 (#4464)
- Loading branch information
1 parent
fcabc16
commit 726161b
Showing
185 changed files
with
1,646 additions
and
1,774 deletions.
There are no files selected for viewing
29 changes: 29 additions & 0 deletions
29
.yarn/patches/aws-elasticsearch-connector-npm-9.2.0-e1245671b1.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
diff --git a/index.d.ts b/index.d.ts | ||
index 4238da8770e14cabd912c10c8a3b6dee4692209c..beebec01b3e212df0aaf911ded6f1a629f7ac1ae 100644 | ||
--- a/index.d.ts | ||
+++ b/index.d.ts | ||
@@ -1,11 +1,22 @@ | ||
import { Connection, Transport } from '@elastic/elasticsearch'; | ||
-import AWS from 'aws-sdk'; | ||
+ | ||
+ | ||
+export interface ConnectorConfigCredentials { | ||
+ accessKeyId?: string; | ||
+ secretAccessKey?: string; | ||
+ sessionToken?: string; | ||
+} | ||
+ | ||
+export interface ConnectorConfig { | ||
+ region: string; | ||
+ credentials: ConnectorConfigCredentials; | ||
+} | ||
|
||
export type Connector = { | ||
Connection: typeof Connection; | ||
Transport: typeof Transport; | ||
}; | ||
|
||
-export const ConnectorFactory: (awsConfig: AWS.Config) => Connector; | ||
+export const ConnectorFactory: (awsConfig: ConnectorConfig) => Connector; | ||
|
||
export default ConnectorFactory; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -30,11 +30,11 @@ | |
"devDependencies": { | ||
"@babel/cli": "^7.26.4", | ||
"@babel/code-frame": "^7.26.2", | ||
"@babel/compat-data": "^7.26.3", | ||
"@babel/compat-data": "7.26.5", | ||
"@babel/core": "^7.26.0", | ||
"@babel/helper-define-polyfill-provider": "^0.6.3", | ||
"@babel/helper-environment-visitor": "^7.24.7", | ||
"@babel/parser": "^7.26.3", | ||
"@babel/parser": "7.26.5", | ||
"@babel/plugin-proposal-class-properties": "^7.18.6", | ||
"@babel/plugin-proposal-object-rest-spread": "^7.20.7", | ||
"@babel/plugin-proposal-throw-expressions": "^7.25.9", | ||
|
@@ -47,8 +47,8 @@ | |
"@babel/register": "^7.25.9", | ||
"@babel/runtime": "^7.26.0", | ||
"@babel/template": "^7.25.9", | ||
"@babel/traverse": "^7.26.4", | ||
"@babel/types": "^7.26.3", | ||
"@babel/traverse": "7.26.5", | ||
"@babel/types": "7.26.5", | ||
"@commitlint/cli": "^11.0.0", | ||
"@commitlint/config-conventional": "^11.0.0", | ||
"@grpc/grpc-js": "^1.11.1", | ||
|
@@ -59,8 +59,8 @@ | |
"@types/prettier": "^2.7.3", | ||
"@types/react": "18.2.79", | ||
"@types/react-dom": "18.2.25", | ||
"@typescript-eslint/eslint-plugin": "^5.51.0", | ||
"@typescript-eslint/parser": "^5.51.0", | ||
"@typescript-eslint/eslint-plugin": "^6.21.0", | ||
"@typescript-eslint/parser": "^6.21.0", | ||
"adio": "^1.0.1", | ||
"axios": "^1.7.9", | ||
"babel-jest": "29.7.0", | ||
|
@@ -117,8 +117,9 @@ | |
"ts-expect": "^1.3.0", | ||
"ts-jest": "29.1.5", | ||
"ts-node": "^10.9.2", | ||
"typescript": "4.9.5", | ||
"typescript-transform-paths": "^3.4.6", | ||
"type-fest": "4.14.0", | ||
"typescript": "5.3.3", | ||
"typescript-transform-paths": "^3.5.3", | ||
"verdaccio": "^6.0.5", | ||
"write-json-file": "^4.3.0", | ||
"yargs": "^17.7.2" | ||
|
@@ -176,6 +177,8 @@ | |
"verdaccio:start": "yarn verdaccio -c ./.verdaccio.yaml", | ||
"verdaccio:start:detached": "yarn pm2 start \"yarn verdaccio:start\"", | ||
"webiny": "./node_modules/.bin/webiny", | ||
"system:verify": "yarn eslint && yarn prettier:check && yarn adio && yarn check-ts-configs && yarn webiny verify-dependencies", | ||
"system:build": "yarn && yarn ghawac build && yarn webiny sync-dependencies && yarn build", | ||
"wby": "./node_modules/.bin/wby", | ||
"webiny-ui-build-storybook": "cd packages/ui && cross-env OUT=../../netlify-static yarn build-storybook" | ||
}, | ||
|
@@ -229,29 +232,17 @@ | |
"systeminformation": "^5.23.18", | ||
"@emotion/react": "11.10.8", | ||
"@octokit/rest": "^20.0.2", | ||
"braces": "^3.0.3", | ||
"typescript": "4.9.5", | ||
"@types/jsdom": "link:./typings/void", | ||
"@types/webpack": "^5.28.0", | ||
"browserify-sign": "^4.2.2", | ||
"@types/react": "18.2.79", | ||
"@types/react-dom": "18.2.25", | ||
"react": "18.2.0", | ||
"react-dom": "18.2.0", | ||
"follow-redirects": "^1.15.6", | ||
"crypto-js": "^4.2.0", | ||
"ip": "^2.0.1", | ||
"tar": "^6.2.1", | ||
"ejs": "^3.1.10", | ||
"@grpc/grpc-js": "^1.11.1", | ||
"postcss": "^8.4.35", | ||
"semver": "^7.6.3", | ||
"@types/eslint": "8.2.1", | ||
"http-proxy-middleware": "^2.0.7", | ||
"xml2js": "0.6.2", | ||
"[email protected]": "patch:lerna@npm%3A8.1.2#./.yarn/patches/lerna-npm-8.1.2-be48ad2329.patch", | ||
"react-dnd": "^16.0.1", | ||
"react-dnd-html5-backend": "^16.0.1", | ||
"apollo-link@^1.2.14": "patch:apollo-link@npm%3A1.2.14#./.yarn/patches/apollo-link-npm-1.2.14-74f0ba01f9.patch", | ||
"apollo-link@^1.0.0": "patch:apollo-link@npm%3A1.2.14#./.yarn/patches/apollo-link-npm-1.2.14-74f0ba01f9.patch", | ||
"@material/base@^14.0.0": "patch:@material/base@npm%3A14.0.0#./.yarn/patches/@material-base-npm-14.0.0-36e0a55c42.patch" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.