Upgrade TypeScript to latest version (#21077)
This commit is contained in:
parent
dca71d84c3
commit
48f83f71d9
3 changed files with 50 additions and 42 deletions
|
@ -35,13 +35,15 @@ type RealmSettingsGeneralTabProps = {
|
|||
save: (realm: RealmRepresentation) => void;
|
||||
};
|
||||
|
||||
type FormFields = Omit<RealmRepresentation, "groups">;
|
||||
|
||||
export const RealmSettingsGeneralTab = ({
|
||||
realm,
|
||||
save,
|
||||
}: RealmSettingsGeneralTabProps) => {
|
||||
const { t } = useTranslation("realm-settings");
|
||||
const { realm: realmName } = useRealm();
|
||||
const form = useForm<RealmRepresentation>();
|
||||
const form = useForm<FormFields>();
|
||||
const {
|
||||
register,
|
||||
control,
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
"lint-staged": "^13.2.2",
|
||||
"prettier": "^2.8.8",
|
||||
"tslib": "^2.5.3",
|
||||
"typescript": "~5.0.4",
|
||||
"typescript": "^5.1.3",
|
||||
"wireit": "^0.9.5"
|
||||
},
|
||||
"packageManager": "pnpm@8.6.2",
|
||||
|
|
|
@ -13,10 +13,10 @@ importers:
|
|||
version: 20.3.1
|
||||
'@typescript-eslint/eslint-plugin':
|
||||
specifier: ^5.59.11
|
||||
version: 5.59.11(@typescript-eslint/parser@5.59.11)(eslint@8.42.0)(typescript@5.0.4)
|
||||
version: 5.59.11(@typescript-eslint/parser@5.59.11)(eslint@8.42.0)(typescript@5.1.3)
|
||||
'@typescript-eslint/parser':
|
||||
specifier: ^5.59.11
|
||||
version: 5.59.11(eslint@8.42.0)(typescript@5.0.4)
|
||||
version: 5.59.11(eslint@8.42.0)(typescript@5.1.3)
|
||||
eslint:
|
||||
specifier: ^8.42.0
|
||||
version: 8.42.0
|
||||
|
@ -60,8 +60,8 @@ importers:
|
|||
specifier: ^2.5.3
|
||||
version: 2.5.3
|
||||
typescript:
|
||||
specifier: ~5.0.4
|
||||
version: 5.0.4
|
||||
specifier: ^5.1.3
|
||||
version: 5.1.3
|
||||
wireit:
|
||||
specifier: ^0.9.5
|
||||
version: 0.9.5
|
||||
|
@ -131,7 +131,7 @@ importers:
|
|||
version: 4.3.9(@types/node@20.3.1)
|
||||
vite-plugin-checker:
|
||||
specifier: ^0.6.0
|
||||
version: 0.6.0(eslint@8.42.0)(typescript@5.0.4)(vite@4.3.9)
|
||||
version: 0.6.0(eslint@8.42.0)(typescript@5.1.3)(vite@4.3.9)
|
||||
|
||||
apps/admin-ui:
|
||||
dependencies:
|
||||
|
@ -267,13 +267,13 @@ importers:
|
|||
version: 6.0.1
|
||||
ts-node:
|
||||
specifier: ^10.9.1
|
||||
version: 10.9.1(@types/node@20.3.1)(typescript@5.0.4)
|
||||
version: 10.9.1(@types/node@20.3.1)(typescript@5.1.3)
|
||||
vite:
|
||||
specifier: ^4.3.9
|
||||
version: 4.3.9(@types/node@20.3.1)
|
||||
vite-plugin-checker:
|
||||
specifier: ^0.6.0
|
||||
version: 0.6.0(eslint@8.42.0)(typescript@5.0.4)(vite@4.3.9)
|
||||
version: 0.6.0(eslint@8.42.0)(typescript@5.1.3)(vite@4.3.9)
|
||||
vitest:
|
||||
specifier: ^0.32.0
|
||||
version: 0.32.0(jsdom@22.1.0)
|
||||
|
@ -337,7 +337,7 @@ importers:
|
|||
version: 10.2.0
|
||||
ts-node:
|
||||
specifier: ^10.9.1
|
||||
version: 10.9.1(@types/node@20.3.1)(typescript@5.0.4)
|
||||
version: 10.9.1(@types/node@20.3.1)(typescript@5.1.3)
|
||||
|
||||
libs/keycloak-js:
|
||||
dependencies:
|
||||
|
@ -362,7 +362,7 @@ importers:
|
|||
version: 0.4.3(rollup@3.25.1)
|
||||
'@rollup/plugin-typescript':
|
||||
specifier: ^11.1.1
|
||||
version: 11.1.1(rollup@3.25.1)(tslib@2.5.3)(typescript@5.0.4)
|
||||
version: 11.1.1(rollup@3.25.1)(tslib@2.5.3)(typescript@5.1.3)
|
||||
es6-promise:
|
||||
specifier: ^4.2.8
|
||||
version: 4.2.8
|
||||
|
@ -405,7 +405,7 @@ importers:
|
|||
version: 4.3.9(@types/node@20.3.1)
|
||||
vite-plugin-checker:
|
||||
specifier: ^0.6.0
|
||||
version: 0.6.0(eslint@8.42.0)(typescript@5.0.4)(vite@4.3.9)
|
||||
version: 0.6.0(eslint@8.42.0)(typescript@5.1.3)(vite@4.3.9)
|
||||
vite-plugin-dts:
|
||||
specifier: ^2.3.0
|
||||
version: 2.3.0(@types/node@20.3.1)(rollup@3.25.1)(vite@4.3.9)
|
||||
|
@ -445,7 +445,7 @@ importers:
|
|||
version: 4.3.9(@types/node@20.3.1)
|
||||
vite-plugin-checker:
|
||||
specifier: ^0.6.0
|
||||
version: 0.6.0(eslint@8.42.0)(typescript@5.0.4)(vite@4.3.9)
|
||||
version: 0.6.0(eslint@8.42.0)(typescript@5.1.3)(vite@4.3.9)
|
||||
vite-plugin-dts:
|
||||
specifier: ^2.3.0
|
||||
version: 2.3.0(@types/node@20.3.1)(rollup@3.25.1)(vite@4.3.9)
|
||||
|
@ -1347,7 +1347,7 @@ packages:
|
|||
terser: 5.18.0
|
||||
dev: true
|
||||
|
||||
/@rollup/plugin-typescript@11.1.1(rollup@3.25.1)(tslib@2.5.3)(typescript@5.0.4):
|
||||
/@rollup/plugin-typescript@11.1.1(rollup@3.25.1)(tslib@2.5.3)(typescript@5.1.3):
|
||||
resolution: {integrity: sha512-Ioir+x5Bejv72Lx2Zbz3/qGg7tvGbxQZALCLoJaGrkNXak/19+vKgKYJYM3i/fJxvsb23I9FuFQ8CUBEfsmBRg==}
|
||||
engines: {node: '>=14.0.0'}
|
||||
peerDependencies:
|
||||
|
@ -1364,7 +1364,7 @@ packages:
|
|||
resolve: 1.22.2
|
||||
rollup: 3.25.1
|
||||
tslib: 2.5.3
|
||||
typescript: 5.0.4
|
||||
typescript: 5.1.3
|
||||
dev: true
|
||||
|
||||
/@rollup/pluginutils@5.0.2(rollup@3.25.1):
|
||||
|
@ -1981,7 +1981,7 @@ packages:
|
|||
dev: true
|
||||
optional: true
|
||||
|
||||
/@typescript-eslint/eslint-plugin@5.59.11(@typescript-eslint/parser@5.59.11)(eslint@8.42.0)(typescript@5.0.4):
|
||||
/@typescript-eslint/eslint-plugin@5.59.11(@typescript-eslint/parser@5.59.11)(eslint@8.42.0)(typescript@5.1.3):
|
||||
resolution: {integrity: sha512-XxuOfTkCUiOSyBWIvHlUraLw/JT/6Io1365RO6ZuI88STKMavJZPNMU0lFcUTeQXEhHiv64CbxYxBNoDVSmghg==}
|
||||
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
|
||||
peerDependencies:
|
||||
|
@ -1993,23 +1993,23 @@ packages:
|
|||
optional: true
|
||||
dependencies:
|
||||
'@eslint-community/regexpp': 4.5.1
|
||||
'@typescript-eslint/parser': 5.59.11(eslint@8.42.0)(typescript@5.0.4)
|
||||
'@typescript-eslint/parser': 5.59.11(eslint@8.42.0)(typescript@5.1.3)
|
||||
'@typescript-eslint/scope-manager': 5.59.11
|
||||
'@typescript-eslint/type-utils': 5.59.11(eslint@8.42.0)(typescript@5.0.4)
|
||||
'@typescript-eslint/utils': 5.59.11(eslint@8.42.0)(typescript@5.0.4)
|
||||
'@typescript-eslint/type-utils': 5.59.11(eslint@8.42.0)(typescript@5.1.3)
|
||||
'@typescript-eslint/utils': 5.59.11(eslint@8.42.0)(typescript@5.1.3)
|
||||
debug: 4.3.4(supports-color@8.1.1)
|
||||
eslint: 8.42.0
|
||||
grapheme-splitter: 1.0.4
|
||||
ignore: 5.2.4
|
||||
natural-compare-lite: 1.4.0
|
||||
semver: 7.5.1
|
||||
tsutils: 3.21.0(typescript@5.0.4)
|
||||
typescript: 5.0.4
|
||||
tsutils: 3.21.0(typescript@5.1.3)
|
||||
typescript: 5.1.3
|
||||
transitivePeerDependencies:
|
||||
- supports-color
|
||||
dev: true
|
||||
|
||||
/@typescript-eslint/parser@5.59.11(eslint@8.42.0)(typescript@5.0.4):
|
||||
/@typescript-eslint/parser@5.59.11(eslint@8.42.0)(typescript@5.1.3):
|
||||
resolution: {integrity: sha512-s9ZF3M+Nym6CAZEkJJeO2TFHHDsKAM3ecNkLuH4i4s8/RCPnF5JRip2GyviYkeEAcwGMJxkqG9h2dAsnA1nZpA==}
|
||||
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
|
||||
peerDependencies:
|
||||
|
@ -2021,10 +2021,10 @@ packages:
|
|||
dependencies:
|
||||
'@typescript-eslint/scope-manager': 5.59.11
|
||||
'@typescript-eslint/types': 5.59.11
|
||||
'@typescript-eslint/typescript-estree': 5.59.11(typescript@5.0.4)
|
||||
'@typescript-eslint/typescript-estree': 5.59.11(typescript@5.1.3)
|
||||
debug: 4.3.4(supports-color@8.1.1)
|
||||
eslint: 8.42.0
|
||||
typescript: 5.0.4
|
||||
typescript: 5.1.3
|
||||
transitivePeerDependencies:
|
||||
- supports-color
|
||||
dev: true
|
||||
|
@ -2037,7 +2037,7 @@ packages:
|
|||
'@typescript-eslint/visitor-keys': 5.59.11
|
||||
dev: true
|
||||
|
||||
/@typescript-eslint/type-utils@5.59.11(eslint@8.42.0)(typescript@5.0.4):
|
||||
/@typescript-eslint/type-utils@5.59.11(eslint@8.42.0)(typescript@5.1.3):
|
||||
resolution: {integrity: sha512-LZqVY8hMiVRF2a7/swmkStMYSoXMFlzL6sXV6U/2gL5cwnLWQgLEG8tjWPpaE4rMIdZ6VKWwcffPlo1jPfk43g==}
|
||||
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
|
||||
peerDependencies:
|
||||
|
@ -2047,12 +2047,12 @@ packages:
|
|||
typescript:
|
||||
optional: true
|
||||
dependencies:
|
||||
'@typescript-eslint/typescript-estree': 5.59.11(typescript@5.0.4)
|
||||
'@typescript-eslint/utils': 5.59.11(eslint@8.42.0)(typescript@5.0.4)
|
||||
'@typescript-eslint/typescript-estree': 5.59.11(typescript@5.1.3)
|
||||
'@typescript-eslint/utils': 5.59.11(eslint@8.42.0)(typescript@5.1.3)
|
||||
debug: 4.3.4(supports-color@8.1.1)
|
||||
eslint: 8.42.0
|
||||
tsutils: 3.21.0(typescript@5.0.4)
|
||||
typescript: 5.0.4
|
||||
tsutils: 3.21.0(typescript@5.1.3)
|
||||
typescript: 5.1.3
|
||||
transitivePeerDependencies:
|
||||
- supports-color
|
||||
dev: true
|
||||
|
@ -2062,7 +2062,7 @@ packages:
|
|||
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
|
||||
dev: true
|
||||
|
||||
/@typescript-eslint/typescript-estree@5.59.11(typescript@5.0.4):
|
||||
/@typescript-eslint/typescript-estree@5.59.11(typescript@5.1.3):
|
||||
resolution: {integrity: sha512-YupOpot5hJO0maupJXixi6l5ETdrITxeo5eBOeuV7RSKgYdU3G5cxO49/9WRnJq9EMrB7AuTSLH/bqOsXi7wPA==}
|
||||
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
|
||||
peerDependencies:
|
||||
|
@ -2077,13 +2077,13 @@ packages:
|
|||
globby: 11.1.0
|
||||
is-glob: 4.0.3
|
||||
semver: 7.5.1
|
||||
tsutils: 3.21.0(typescript@5.0.4)
|
||||
typescript: 5.0.4
|
||||
tsutils: 3.21.0(typescript@5.1.3)
|
||||
typescript: 5.1.3
|
||||
transitivePeerDependencies:
|
||||
- supports-color
|
||||
dev: true
|
||||
|
||||
/@typescript-eslint/utils@5.59.11(eslint@8.42.0)(typescript@5.0.4):
|
||||
/@typescript-eslint/utils@5.59.11(eslint@8.42.0)(typescript@5.1.3):
|
||||
resolution: {integrity: sha512-didu2rHSOMUdJThLk4aZ1Or8IcO3HzCw/ZvEjTTIfjIrcdd5cvSIwwDy2AOlE7htSNp7QIZ10fLMyRCveesMLg==}
|
||||
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
|
||||
peerDependencies:
|
||||
|
@ -2094,7 +2094,7 @@ packages:
|
|||
'@types/semver': 7.5.0
|
||||
'@typescript-eslint/scope-manager': 5.59.11
|
||||
'@typescript-eslint/types': 5.59.11
|
||||
'@typescript-eslint/typescript-estree': 5.59.11(typescript@5.0.4)
|
||||
'@typescript-eslint/typescript-estree': 5.59.11(typescript@5.1.3)
|
||||
eslint: 8.42.0
|
||||
eslint-scope: 5.1.1
|
||||
semver: 7.5.1
|
||||
|
@ -3370,7 +3370,7 @@ packages:
|
|||
eslint-import-resolver-webpack:
|
||||
optional: true
|
||||
dependencies:
|
||||
'@typescript-eslint/parser': 5.59.11(eslint@8.42.0)(typescript@5.0.4)
|
||||
'@typescript-eslint/parser': 5.59.11(eslint@8.42.0)(typescript@5.1.3)
|
||||
debug: 3.2.7(supports-color@8.1.1)
|
||||
eslint: 8.42.0
|
||||
eslint-import-resolver-node: 0.3.7
|
||||
|
@ -3398,7 +3398,7 @@ packages:
|
|||
'@typescript-eslint/parser':
|
||||
optional: true
|
||||
dependencies:
|
||||
'@typescript-eslint/parser': 5.59.11(eslint@8.42.0)(typescript@5.0.4)
|
||||
'@typescript-eslint/parser': 5.59.11(eslint@8.42.0)(typescript@5.1.3)
|
||||
array-includes: 3.1.6
|
||||
array.prototype.flat: 1.3.1
|
||||
array.prototype.flatmap: 1.3.1
|
||||
|
@ -6325,7 +6325,7 @@ packages:
|
|||
code-block-writer: 12.0.0
|
||||
dev: true
|
||||
|
||||
/ts-node@10.9.1(@types/node@20.3.1)(typescript@5.0.4):
|
||||
/ts-node@10.9.1(@types/node@20.3.1)(typescript@5.1.3):
|
||||
resolution: {integrity: sha512-NtVysVPkxxrwFGUUxGYhfux8k78pQB3JqYBXlLRZgdGUqTO5wU/UyHop5p70iEbGhB7q5KmiZiU0Y3KlJrScEw==}
|
||||
hasBin: true
|
||||
peerDependencies:
|
||||
|
@ -6351,7 +6351,7 @@ packages:
|
|||
create-require: 1.1.1
|
||||
diff: 4.0.2
|
||||
make-error: 1.3.6
|
||||
typescript: 5.0.4
|
||||
typescript: 5.1.3
|
||||
v8-compile-cache-lib: 3.0.1
|
||||
yn: 3.1.1
|
||||
dev: true
|
||||
|
@ -6372,14 +6372,14 @@ packages:
|
|||
/tslib@2.5.3:
|
||||
resolution: {integrity: sha512-mSxlJJwl3BMEQCUNnxXBU9jP4JBktcEGhURcPR6VQVlnP0FdDEsIaz0C35dXNGLyRfrATNofF0F5p2KPxQgB+w==}
|
||||
|
||||
/tsutils@3.21.0(typescript@5.0.4):
|
||||
/tsutils@3.21.0(typescript@5.1.3):
|
||||
resolution: {integrity: sha512-mHKK3iUXL+3UF6xL5k0PEhKRUBKPBCv/+RkEOpjRWxxx27KKRBmmA60A9pgOUvMi8GKhRMPEmjBRPzs2W7O1OA==}
|
||||
engines: {node: '>= 6'}
|
||||
peerDependencies:
|
||||
typescript: '>=2.8.0 || >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >= 3.6.0-dev || >= 3.6.0-beta || >= 3.7.0-dev || >= 3.7.0-beta'
|
||||
dependencies:
|
||||
tslib: 1.14.1
|
||||
typescript: 5.0.4
|
||||
typescript: 5.1.3
|
||||
dev: true
|
||||
|
||||
/tunnel-agent@0.6.0:
|
||||
|
@ -6428,6 +6428,12 @@ packages:
|
|||
hasBin: true
|
||||
dev: true
|
||||
|
||||
/typescript@5.1.3:
|
||||
resolution: {integrity: sha512-XH627E9vkeqhlZFQuL+UsyAXEnibT0kWR2FWONlr4sTjvxyJYnyefgrkyECLzM5NenmKzRAy2rR/OlYLA1HkZw==}
|
||||
engines: {node: '>=14.17'}
|
||||
hasBin: true
|
||||
dev: true
|
||||
|
||||
/ufo@1.1.2:
|
||||
resolution: {integrity: sha512-TrY6DsjTQQgyS3E3dBaOXf0TpPD8u9FVrVYmKVegJuFw51n/YB9XPt+U6ydzFG5ZIN7+DIjPbNmXoBj9esYhgQ==}
|
||||
dev: true
|
||||
|
@ -6570,7 +6576,7 @@ packages:
|
|||
- terser
|
||||
dev: true
|
||||
|
||||
/vite-plugin-checker@0.6.0(eslint@8.42.0)(typescript@5.0.4)(vite@4.3.9):
|
||||
/vite-plugin-checker@0.6.0(eslint@8.42.0)(typescript@5.1.3)(vite@4.3.9):
|
||||
resolution: {integrity: sha512-DWZ9Hv2TkpjviPxAelNUt4Q3IhSGrx7xrwdM64NI+Q4dt8PaMWJJh4qGNtSrfEuiuIzWWo00Ksvh5It4Y3L9xQ==}
|
||||
engines: {node: '>=14.16'}
|
||||
peerDependencies:
|
||||
|
@ -6615,7 +6621,7 @@ packages:
|
|||
semver: 7.5.1
|
||||
strip-ansi: 6.0.1
|
||||
tiny-invariant: 1.3.1
|
||||
typescript: 5.0.4
|
||||
typescript: 5.1.3
|
||||
vite: 4.3.9(@types/node@20.3.1)
|
||||
vscode-languageclient: 7.0.0
|
||||
vscode-languageserver: 7.0.0
|
||||
|
|
Loading…
Reference in a new issue