diff --git a/ui/package.json b/ui/package.json index 40ef017..f0abffa 100644 --- a/ui/package.json +++ b/ui/package.json @@ -10,6 +10,7 @@ "@dnd-kit/utilities": "^3.2.2", "@emotion/react": "^11.14.0", "@emotion/styled": "^11.14.1", + "@fontsource/roboto": "^5.2.10", "@mui/icons-material": "^7.2.0", "@mui/material": "^7.2.0", "@uiw/codemirror-theme-material": "^4.24.2", @@ -33,7 +34,6 @@ "remark-gfm": "^4.0.1", "remove-markdown": "^0.6.2", "tss-react": "^4.9.19", - "typeface-roboto": "1.1.13", "vite": "^7.0.6", "vitest": "^4.0.0" }, diff --git a/ui/src/index.tsx b/ui/src/index.tsx index 175d6cf..a8dc9d9 100644 --- a/ui/src/index.tsx +++ b/ui/src/index.tsx @@ -1,6 +1,6 @@ import * as React from 'react'; import {createRoot} from 'react-dom/client'; -import 'typeface-roboto'; +import '@fontsource/roboto'; import {initAxios} from './apiAuth'; import * as config from './config'; import Layout from './layout/Layout'; diff --git a/ui/tsconfig.json b/ui/tsconfig.json index 06bb7b6..8f946af 100644 --- a/ui/tsconfig.json +++ b/ui/tsconfig.json @@ -10,6 +10,7 @@ "moduleResolution": "bundler", "rootDir": "src", "forceConsistentCasingInFileNames": true, + "noUncheckedSideEffectImports": false, "noImplicitReturns": true, "noImplicitThis": true, "noImplicitAny": true, diff --git a/ui/yarn.lock b/ui/yarn.lock index a28b0ea..ea8b560 100644 --- a/ui/yarn.lock +++ b/ui/yarn.lock @@ -640,6 +640,11 @@ "@eslint/core" "^1.2.1" levn "^0.4.1" +"@fontsource/roboto@^5.2.10": + version "5.2.10" + resolved "https://registry.yarnpkg.com/@fontsource/roboto/-/roboto-5.2.10.tgz#b985d34de475913b41d0fb57e2dcd0b16ab9ecb5" + integrity sha512-8HlA5FtSfz//oFSr2eL7GFXAiE7eIkcGOtx7tjsLKq+as702x9+GU7K95iDeWFapHC4M2hv9RrpXKRTGGBI8Zg== + "@hapi/address@^5.1.1": version "5.1.1" resolved "https://registry.yarnpkg.com/@hapi/address/-/address-5.1.1.tgz#e9925fc1b65f5cc3fbea821f2b980e4652e84cb6" @@ -3799,11 +3804,6 @@ typed-query-selector@^2.12.0: resolved "https://registry.yarnpkg.com/typed-query-selector/-/typed-query-selector-2.12.0.tgz#92b65dbc0a42655fccf4aeb1a08b1dddce8af5f2" integrity sha512-SbklCd1F0EiZOyPiW192rrHZzZ5sBijB6xM+cpmrwDqObvdtunOHHIk9fCGsoK5JVIYXoyEp4iEdE3upFH3PAg== -typeface-roboto@1.1.13: - version "1.1.13" - resolved "https://registry.yarnpkg.com/typeface-roboto/-/typeface-roboto-1.1.13.tgz#9c4517cb91e311706c74823e857b4bac9a764ae5" - integrity sha512-YXvbd3a1QTREoD+FJoEkl0VQNJoEjewR2H11IjVv4bp6ahuIcw0yyw/3udC4vJkHw3T3cUh85FTg8eWef3pSaw== - typescript-eslint@^8.38.0: version "8.54.0" resolved "https://registry.yarnpkg.com/typescript-eslint/-/typescript-eslint-8.54.0.tgz#f4ef3b8882a5ddc2a41968e014194c178ab23f6a"