chore: upgrade build deps (#661)

* chore: upgrade build dependencies

* chore: add bundle analysis script

* chore: upgrade sentry deps

* chore: upgrade node types

* docs: declare new engine versions
This commit is contained in:
Carlos Valente
2023-12-19 10:03:59 +01:00
committed by GitHub
parent 3196bd7802
commit bb541c551f
10 changed files with 1226 additions and 1129 deletions
@@ -1,6 +1,6 @@
import { CSSProperties } from 'react';
import { ReactComponent as Emptyimage } from '@/assets/images/empty.svg';
import EmptyImage from '../../../assets/images/empty.svg?react';
import style from './Empty.module.scss';
@@ -13,7 +13,7 @@ export default function Empty(props: EmptyProps) {
const { text, ...rest } = props;
return (
<div className={style.emptyContainer} {...rest}>
<Emptyimage className={style.empty} />
<EmptyImage className={style.empty} />
<span className={style.text}>{text}</span>
</div>
);
@@ -1,8 +1,7 @@
import { Modal, ModalBody, ModalCloseButton, ModalContent, ModalHeader, ModalOverlay } from '@chakra-ui/react';
import { ReactComponent as OntimeLogo } from '@/assets/images/ontime-logo.svg';
import { version } from '../../../../package.json';
import OntimeLogo from '../../../assets/images/ontime-logo.svg?react';
import { gitbookUrl, githubUrl } from '../../../externals';
import ModalLink from '../ModalLink';
+1 -2
View File
@@ -2,7 +2,6 @@ import { StrictMode } from 'react';
import { createRoot } from 'react-dom/client';
// skipcq: JS-C1003 - sentry does not expose itself as an ES Module.
import * as Sentry from '@sentry/react';
import { BrowserTracing } from '@sentry/tracing';
import App from './App';
import { ONTIME_VERSION } from './ONTIME_VERSION';
@@ -39,7 +38,7 @@ const sentryRecommendedIgnore = [
Sentry.init({
dsn: 'https://5e4d2c4b57ab409cb98d4c08b2014755@o4504288369836032.ingest.sentry.io/4504288371343360',
integrations: [new BrowserTracing()],
integrations: [new Sentry.BrowserTracing()],
tracesSampleRate: 0.3,
release: ONTIME_VERSION,
enabled: import.meta.env.PROD,