The CRA toolchain was several major versions behind and no longer maintained, so the whole build, lint and runtime stack is replaced. - replace react-scripts with Vite 8 and TypeScript 7 - upgrade to React 19 and react-router 8 - swap unmaintained libraries: react-html-parser, axios, react-ga, react-image-lightbox, react-helmet, moment, react-spinner-material - replace ESLint with Biome for linting and formatting - switch the package manager from yarn to npm - serve static-contents/ with sirv in dev and copy it into the bundle - keep a withRouter shim so the class components can stay as they are for now
21 lines
870 B
HTML
21 lines
870 B
HTML
<!doctype html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
<link rel="icon" href="/favicon.ico" sizes="any" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
<meta name="theme-color" content="#000000" />
|
|
<meta name="robots" content="index,follow" />
|
|
<meta name="keywords" content="neuroinformatics, xoonips, database, visiome platform, vision" />
|
|
<meta name="author" content="Neuroinformatics Unit, RIKEN Center for Brain Science" />
|
|
<meta name="copyright" content="Copyright © 2019" />
|
|
<link rel="manifest" href="/manifest.json" />
|
|
<title>Visiome Platform - Digital archive for vision science</title>
|
|
</head>
|
|
<body>
|
|
<noscript>You need to enable JavaScript to run this app.</noscript>
|
|
<div id="root"></div>
|
|
<script type="module" src="/src/main.tsx"></script>
|
|
</body>
|
|
</html>
|