-
-
Notifications
You must be signed in to change notification settings - Fork 306
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
deps: upgrade tyepscript to 5.6 #7160
base: unstable
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,3 @@ | ||
{ | ||
"extends": "../../tsconfig.build.json", | ||
"include": ["src"], | ||
"compilerOptions": { | ||
"outDir": "lib" | ||
} | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
{ | ||
"extends": "../../tsconfig.json", | ||
"compilerOptions": {} | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,3 @@ | ||
{ | ||
"extends": "../../tsconfig.build.json", | ||
"include": ["src"], | ||
"compilerOptions": { | ||
"outDir": "lib", | ||
"typeRoots": ["../../node_modules/@types", "./node_modules/@types", "../../types"] | ||
} | ||
"extends": "../../tsconfig.build.json" | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,4 @@ | ||
{ | ||
"extends": "../../tsconfig.json", | ||
"exclude": ["../../node_modules/it-pipe"], | ||
"compilerOptions": { | ||
"typeRoots": ["../../node_modules/@types", "../../types"] | ||
} | ||
"exclude": ["../../node_modules/it-pipe"] | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,3 @@ | ||
{ | ||
"extends": "../../tsconfig.build.json", | ||
"include": ["src"], | ||
"compilerOptions": { | ||
"outDir": "lib", | ||
"typeRoots": ["../../node_modules/@types", "./node_modules/@types", "../../types"] | ||
} | ||
"extends": "../../tsconfig.build.json" | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,3 @@ | ||
{ | ||
"extends": "../../tsconfig.json", | ||
"compilerOptions": { | ||
"typeRoots": ["../../node_modules/@types", "./node_modules/@types", "../../types"] | ||
} | ||
"extends": "../../tsconfig.json" | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,3 @@ | ||
{ | ||
"extends": "../../tsconfig.build.json", | ||
"include": ["src"], | ||
"compilerOptions": { | ||
"outDir": "lib" | ||
} | ||
"extends": "../../tsconfig.build.json" | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
{ | ||
"extends": "../../tsconfig.json", | ||
"compilerOptions": {} | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,3 @@ | ||
{ | ||
"extends": "../../tsconfig.build.json", | ||
"include": ["src"], | ||
"compilerOptions": { | ||
"outDir": "lib" | ||
} | ||
"extends": "../../tsconfig.build.json" | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
{ | ||
"extends": "../../tsconfig.json", | ||
"compilerOptions": {} | ||
"extends": "../../tsconfig.json" | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,3 @@ | ||
{ | ||
"extends": "../../tsconfig.build.json", | ||
"include": ["src"], | ||
"compilerOptions": { | ||
"outDir": "lib" | ||
} | ||
"extends": "../../tsconfig.build.json" | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
{ | ||
"extends": "../../tsconfig.json", | ||
"compilerOptions": {} | ||
"extends": "../../tsconfig.json" | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,3 @@ | ||
{ | ||
"extends": "../../tsconfig.build.json", | ||
"include": ["src"], | ||
"compilerOptions": { | ||
"outDir": "lib" | ||
} | ||
"extends": "../../tsconfig.build.json" | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
{ | ||
"extends": "../../tsconfig.json", | ||
"compilerOptions": {} | ||
"extends": "../../tsconfig.json" | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,3 @@ | ||
{ | ||
"extends": "../../tsconfig.build.json", | ||
"include": ["src"], | ||
"compilerOptions": { | ||
"outDir": "lib" | ||
} | ||
"extends": "../../tsconfig.build.json" | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
{ | ||
"extends": "../../tsconfig.json", | ||
"exclude": ["src/index.browser.ts", "test/unit/webEsmBundle.browser.test.ts"], | ||
"compilerOptions": {} | ||
"exclude": ["src/index.browser.ts", "test/unit/webEsmBundle.browser.test.ts"] | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,3 @@ | ||
{ | ||
"extends": "../../tsconfig.build.json", | ||
"include": ["src"], | ||
"compilerOptions": { | ||
"outDir": "./lib" | ||
} | ||
"extends": "../../tsconfig.build.json" | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
{ | ||
"extends": "../../tsconfig.json", | ||
"compilerOptions": {} | ||
"extends": "../../tsconfig.json" | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,3 @@ | ||
{ | ||
"extends": "../../tsconfig.build.json", | ||
"include": ["src"], | ||
"compilerOptions": { | ||
"outDir": "./lib" | ||
} | ||
"extends": "../../tsconfig.build.json" | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
{ | ||
"extends": "../../tsconfig.json", | ||
"compilerOptions": {} | ||
"extends": "../../tsconfig.json" | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,11 +4,16 @@ | |
"emitDeclarationOnly": false, | ||
"incremental": false, | ||
// Required to run benchmark command from root directory | ||
"typeRoots": ["node_modules/@types", "./types"], | ||
"typeRoots": [ | ||
"node_modules/@types", | ||
"./types", | ||
"${configDir}/node_modules/@types", | ||
"${configDir}/types" | ||
Comment on lines
+10
to
+11
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We can use template variables in configs now. |
||
], | ||
"noCheck": false, | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. For building we can skip type checks as we have seperate task for https://devblogs.microsoft.com/typescript/announcing-typescript-5-6/#the---nocheck-option |
||
"noEmit": true, | ||
// To be used in the test fixtures | ||
"resolveJsonModule": true, | ||
|
||
// We want to speed up the CI run for all tests, which require us to use the | ||
// `transpileOnly` mode for the `ts-node`. This change requires to treat types for each module | ||
// independently, which is done by setting the `isolatedModules` flag to `true`. | ||
|
@@ -17,4 +22,4 @@ | |
"ts-node": { | ||
"transpileOnly": true | ||
} | ||
} | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3315,9 +3315,9 @@ | |
undici-types "~5.26.4" | ||
|
||
"@types/node@^20.12.8": | ||
version "20.16.7" | ||
resolved "https://registry.yarnpkg.com/@types/node/-/node-20.16.7.tgz#0a245bf5805add998a22b8b5adac612ee70190bc" | ||
integrity sha512-QkDQjAY3gkvJNcZOWwzy3BN34RweT0OQ9zJyvLCU0kSK22dO2QYh/NHGfbEAYylPYzRB1/iXcojS79wOg5gFSw== | ||
version "20.16.11" | ||
resolved "https://registry.yarnpkg.com/@types/node/-/node-20.16.11.tgz#9b544c3e716b1577ac12e70f9145193f32750b33" | ||
integrity sha512-y+cTCACu92FyA5fgQSAI8A1H429g7aSK2HsO7K4XYUWc4dY5IUz55JSDIYT6/VsOLfGy8vmvQYC2hfb0iF16Uw== | ||
dependencies: | ||
undici-types "~6.19.2" | ||
|
||
|
@@ -12401,7 +12401,7 @@ typescript-docs-verifier@^2.5.0: | |
tsconfig "^7.0.0" | ||
yargs "^17.5.1" | ||
|
||
[email protected], typescript@^5.4.2: | ||
[email protected]: | ||
version "5.4.2" | ||
resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.4.2.tgz#0ae9cebcfae970718474fe0da2c090cad6577372" | ||
integrity sha512-+2/g0Fds1ERlP6JsakQQDXjZdZMM+rqpamFZJEKh4kwTIn3iDkgKtby0CeNd5ATNZ4Ry1ax15TMx0W2V+miizQ== | ||
|
@@ -12411,6 +12411,11 @@ [email protected], typescript@^5.4.2: | |
resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.2.2.tgz#5ebb5e5a5b75f085f22bc3f8460fba308310fa78" | ||
integrity sha512-mI4WrpHsbCIcwT9cF4FZvr80QUeKvsUsUvKDoR+X/7XHQH98xYD8YHZg7ANtz2GtZt/CBq2QJ0thkGJMHfqc1w== | ||
|
||
typescript@^5.6.3: | ||
version "5.6.3" | ||
resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.6.3.tgz#5f3449e31c9d94febb17de03cc081dd56d81db5b" | ||
integrity sha512-hjcS1mhfuyi4WW8IWtjP7brDrG2cuDZukyrYrSauoXGNgx0S7zceP07adYkJycEr56BOUTNPzbInooiN3fn1qw== | ||
|
||
uglify-js@^3.1.4: | ||
version "3.17.2" | ||
resolved "https://registry.yarnpkg.com/uglify-js/-/uglify-js-3.17.2.tgz#f55f668b9a64b213977ae688703b6bbb7ca861c6" | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good catch from TS update, could have been a logical bug.
https://devblogs.microsoft.com/typescript/announcing-typescript-5-6/#disallowed-nullish-and-truthy-checks