workspace: upgrade to typescript@5

pull/689/head
undefined 11 months ago
parent ac569417c9
commit e89cea489c

@ -67,7 +67,7 @@
"stylus": "^0.61.0", "stylus": "^0.61.0",
"stylus-loader": "7.1.2", "stylus-loader": "7.1.2",
"supertest": "^6.3.3", "supertest": "^6.3.3",
"ts-loader": "^9.5.0", "ts-loader": "^9.5.1",
"typescript": "^5.2.2", "typescript": "^5.2.2",
"webpack": "^5.89.0", "webpack": "^5.89.0",
"webpack-bundle-analyzer": "^4.10.0", "webpack-bundle-analyzer": "^4.10.0",

@ -12,11 +12,11 @@
}, },
"preferUnplugged": true, "preferUnplugged": true,
"dependencies": { "dependencies": {
"@aws-sdk/client-s3": "3.429.0", "@aws-sdk/client-s3": "3.451.0",
"@aws-sdk/lib-storage": "3.429.0", "@aws-sdk/lib-storage": "3.451.0",
"@aws-sdk/middleware-endpoint": "3.374.0", "@aws-sdk/middleware-endpoint": "3.374.0",
"@aws-sdk/s3-presigned-post": "3.429.0", "@aws-sdk/s3-presigned-post": "3.451.0",
"@aws-sdk/s3-request-presigner": "3.429.0", "@aws-sdk/s3-request-presigner": "3.451.0",
"@graphql-tools/schema": "^10.0.0", "@graphql-tools/schema": "^10.0.0",
"@hydrooj/utils": "workspace:*", "@hydrooj/utils": "workspace:*",
"@simplewebauthn/server": "7.4.0", "@simplewebauthn/server": "7.4.0",

@ -32,7 +32,7 @@ function getRow(count) {
} }
function Reaction({ payload, ele }) { function Reaction({ payload, ele }) {
const emojiList: string[] = (UiContext.emojiList || '👍 👎 😄 😕 ❤️ 🤔 🤣 🌿 🍋 🕊️ 👀 🤣').split(' '); const emojiList: string[] = (UiContext.emojiList || '👍 👎 😄 😕 ❤️ 🤔 🤣 🌿 🍋 🕊️ 👀 🤡').split(' ');
const elesPerRow = getRow(Math.sqrt(emojiList.length)); const elesPerRow = getRow(Math.sqrt(emojiList.length));
const [focus, updateFocus] = React.useState(false); const [focus, updateFocus] = React.useState(false);
const [finish, updateFinish] = React.useState(false); const [finish, updateFinish] = React.useState(false);

Loading…
Cancel
Save