Commit Graph
11 Commits
Author SHA1 Message Date
orrisroot 4ccf1b37e1 fix: append px only to bare numbers in CosmoDB image sizes
The check was written /^d+/, which matches a literal d, so a unitless
width or height in an {Image} tag never got its px and was dropped as
invalid CSS. Anchor it at both ends so the 160px and 90% values the
current templates use are left as they are.
2026-09-15 12:58:30 +09:00
orrisroot 79e0e2295f feat: migrate from Create React App to Vite
react-scripts 4 on React 17 no longer builds on a current toolchain.
Move to Vite 8 with React 19 and TypeScript 7, and take the same shape
as the other converted sites.

- react-router-dom v5 -> react-router v8: Switch/Redirect become
  Routes/Navigate, and withRouter gives way to useLocation and
  useNavigate; the original /modules/... addresses are kept
- swap the unmaintained dependencies: axios -> ky, react-html-parser
  -> @orrisroot/react-html-parser, react-ga -> react-ga4,
  react-helmet -> @dr.pogodin/react-helmet, moment -> date-fns,
  react-spinner-material -> a CSS spinner, and a local HashLink in
  place of react-router-hash-link
- drop react-app-polyfill, the jest setup, xregexp and the unused
  async-lock, rc-tree, react-overlays and react-image-lightbox
- replace ESLint with Biome, yarn with npm, and match the other sites'
  tsconfigs and sanitize.css base stylesheet
- serve static-contents/ next to the repository with sirv in the dev
  and preview servers, keeping it out of dist/
- convert the page components to function components; each module
  loads its index once, sharing the request under StrictMode
- resolve relative links in page bodies the way a browser does, since
  react-router 8 resolves them against the route hierarchy
- fix the glossary search restricted to a category, whose query
  matched nothing
- set the GA4 measurement ID replacing the shut-down UA property
- correct the keywords meta tag copied from dynamicbrain
- write down the data layout and the deployment procedure
2026-09-15 12:56:11 +09:00
orrisroot d7d69eda65 update required libraries 2020-05-23 14:43:22 +09:00
Yoshihiro OKUMURA 868627f664 update required libraries 2020-04-29 19:41:49 +09:00
Yoshihiro OKUMURA 900ff9bb67 fixed bug. 2020-01-14 09:54:15 +09:00
Yoshihiro OKUMURA 6ceafcfa28 add download attribute for download data. 2020-01-06 18:52:32 +09:00
Yoshihiro OKUMURA f9c2f3bd0f change title. 2020-01-06 13:36:23 +09:00
Yoshihiro OKUMURA e9627b31b3 add gz,bz2,xz,mpg,mp3,mp4 file suffix for downlaoding file. 2020-01-06 12:53:45 +09:00
Yoshihiro OKUMURA 35362e6e21 remove xoonips configs. 2020-01-06 12:33:28 +09:00
Yoshihiro OKUMURA 36e9a0b0ac add initial sources of IVB-PF. 2020-01-06 10:59:05 +09:00
Yoshihiro OKUMURA 90a9b5c535 Initial commit from Create React App 2019-11-25 16:50:56 +09:00