Commit Graph
18 Commits
Author SHA1 Message Date
Yoshihiro OKUMURA d5d25d5657 build: align the TypeScript and vite setup with bsi-ni
The tsconfigs were still the ones the CRA conversion produced, while
bsi-ni had been brought in line with the npm create vite@latest
react-ts template.

- take the three tsconfigs from bsi-ni verbatim: ES2023, and
  types: ["vite/client"] in place of src/vite-env.d.ts, which the
  template no longer ships
- drop the CRA leftovers useDefineForClassFields, resolveJsonModule,
  esModuleInterop and forceConsistentCasingInFileNames
- pin typescript with ~ rather than ^, as bsi-ni does
- drop the redundant build.outDir and the server/preview port
  overrides, leaving vite's defaults
- fix a vite.config comment that still pointed at the removed etc/
2026-09-11 19:17:47 +09:00
Yoshihiro OKUMURA 4990f95d71 build: track @types/node patches within the 24.x line
@types/node was excluded from ncu via `reject`, which also hid patch
and minor releases inside the 24.x line we pin to match the Node 24
runtime. Its "latest" dist-tag points at the 22.x line, so merely
dropping the rule would report no updates either. Select the target
per package instead.

- replace .ncurc.json with .ncurc.js so target can be a function
- use the "minor" target for @types/node, "latest" for everything else
- pick up @types/node 24.13.4
2026-09-11 17:36:23 +09:00
Yoshihiro OKUMURA 5a8d2f209f style: align the biome config with the other sites
- narrow lineWidth to 120 and use es5 trailing commas
- format JSON at the same indent as the rest, dropping the override
- exclude the vendored XOOPS theme under src/common/assets
- drop the stale static-contents and public exclusions
2026-09-11 17:19:20 +09:00
Yoshihiro OKUMURA c514de9b17 refactor: drop xregexp for the native dotAll flag
The only use was the s flag in the multilingual tag stripper, which
JavaScript has supported natively since ES2018.
2026-09-11 17:18:42 +09:00
Yoshihiro OKUMURA d240bbae03 feat: migrate from Create React App to Vite
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
2026-09-11 16:48:14 +09:00
Yoshihiro OKUMURA cd11927719 update required libraries 2021-05-28 13:48:36 +09:00
Yoshihiro OKUMURA 7c7f57ef1c update required libraries 2021-01-19 15:06:37 +09:00
Yoshihiro OKUMURA cc480e67ea update required libraries 2020-07-27 19:19:15 +09:00
Yoshihiro OKUMURA 4ffe223488 update required libraries 2020-05-23 14:43:22 +09:00
Yoshihiro OKUMURA 9b5dd3e274 update required libraries 2020-04-29 19:41:47 +09:00
Yoshihiro OKUMURA 2cc53fe2cb update required libraries 2020-02-18 01:22:43 +09:00
Yoshihiro OKUMURA 269abc439d update required libraries 2019-12-23 11:26:21 +09:00
Yoshihiro OKUMURA 230bc9e35b update required libraries 2019-11-25 18:04:26 +09:00
Yoshihiro OKUMURA 215ea71695 update required libraries. 2019-11-06 19:59:42 +09:00
Yoshihiro OKUMURA f0637c1791 apply changes and minor bug fixes from cerebellum sources. 2019-07-12 16:44:03 +09:00
Yoshihiro OKUMURA 6260d9e754 update libraries. 2019-06-27 11:14:39 +09:00
Yoshihiro OKUMURA bc8ae06329 add source code of visiome. 2019-06-25 10:11:07 +09:00
Yoshihiro OKUMURA 4dcbb1d4e2 Initial commit from Create React App 2019-06-17 16:13:09 +09:00