-
Notifications
You must be signed in to change notification settings - Fork 1.9k
chore(client-core): Move client codebase to typescript #9562
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
51 commits
Select commit
Hold shift + click to select a range
5e04d2c
rename to ts
KSDaemon 0c2d534
Move to TS whole codebase
KSDaemon 7dbce72
Move to TS tests
KSDaemon fb7b441
side fix :)
KSDaemon c3f3311
fix tools settings
KSDaemon 5e85dce
temp comment out rollup for client-core
KSDaemon 492da15
update ts config and remove babel
KSDaemon 7f232e4
a few more type fixes
KSDaemon a9736c1
versions sync
KSDaemon f4c23ab
return back rollup
KSDaemon b6c6689
another try to fix rollup
KSDaemon 1db3737
build fixes
vasilev-alex 4e36c08
fix quotes
KSDaemon 92ec374
fix ts config
KSDaemon cc9c3f4
return back lint plugin
KSDaemon 79e6883
delete removed rule
KSDaemon 3ce5045
fix lint errors
KSDaemon 19c5c27
fix lint error in BaseDriver
KSDaemon dda3ca1
fix linting in api-gateway
KSDaemon 6acf830
fix linting in BaseQueueDriver
KSDaemon b2fcd6f
fix linting in QueryTestAbstract
KSDaemon 31cdf1a
more fixes
KSDaemon 5c5280c
more type fixes
KSDaemon 3e8c556
Fix more types
KSDaemon 243a92e
fix load()
KSDaemon 223e7d1
fix vue clients
KSDaemon 8b2f675
fix getNormalizedPivotConfig()
KSDaemon 6681425
trying to fix dev docker img
KSDaemon af47ed6
exclude index.umd.js from coverage
KSDaemon e79d390
trying to fix dev docker img
KSDaemon 8fbb37a
revert all docker changes in docker file
KSDaemon 23eb2d5
fix client builds
KSDaemon 4ba6468
entry point fixes
vasilev-alex ccc77c8
fix quotes
vasilev-alex 40d119b
module fix
vasilev-alex 564a31f
updated uuid
vasilev-alex f7341ba
trying to fix jest tests + client core build
KSDaemon 520c642
remove module
KSDaemon d024ad7
unit tests
vasilev-alex 3134708
fix coverage
vasilev-alex 63d7f84
fix entry point
vasilev-alex ee77138
ws fix
vasilev-alex 200a2b9
resolve fix
vasilev-alex 289ea94
cleanup
vasilev-alex 457a5b5
fix yarn.lock
KSDaemon 36d5c2c
some configs polishment
KSDaemon fac9b3b
fix after rebasing
KSDaemon 2d18f9c
improve ts config for jest
KSDaemon 7ef44fd
more tests for resultset
KSDaemon 5fa98a2
fix test for cubeApi
KSDaemon 2824207
few more tests
KSDaemon File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 |
|---|---|---|
| @@ -1,6 +1,7 @@ | ||
| ** | ||
| !package.json | ||
| !tsconfig.base.json | ||
| !tsconfig.json | ||
| !rollup.config.js | ||
| !yarn.lock | ||
| !lerna.json | ||
|
|
||
This file contains hidden or 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,16 @@ | ||
| const base = require('./jest.base.config'); | ||
|
|
||
| /** @type {import('jest').Config} */ | ||
| module.exports = { | ||
| ...base, | ||
| preset: 'ts-jest', | ||
| testMatch: ['<rootDir>/test/**/*.test.ts'], | ||
| moduleFileExtensions: ['ts', 'js', 'json'], | ||
| transform: { | ||
| '^.+\\.ts$': ['ts-jest', { tsconfig: '../../tsconfig.jest.json' }], | ||
| }, | ||
| collectCoverageFrom: [ | ||
| '<rootDir>/src/**/*.{ts,tsx}', | ||
| '!<rootDir>/src/**/*.d.ts', | ||
| ] | ||
| }; |
This file contains hidden or 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 hidden or 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,5 @@ | ||
| const { webcrypto } = require('node:crypto'); | ||
|
|
||
| if (!globalThis.crypto) { | ||
| globalThis.crypto = webcrypto; | ||
| } |
This file contains hidden or 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 hidden or 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 hidden or 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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.