diff --git a/.ncurc.js b/.ncurc.js index c7b5d41..bb2bb78 100644 --- a/.ncurc.js +++ b/.ncurc.js @@ -1,6 +1,6 @@ -// Keep @types/node on the 24.x line to match the deployment target. Its -// "latest" dist-tag points at the 22.x line, so the default target would -// report no updates at all instead of offering 24.x patches. +// Keep @types/node on the 26.x line to match the Node runtime in use (26 LTS). +// Its "latest" dist-tag follows the newest Node release, including non-LTS +// majors, so move the major by hand when the runtime moves to the next LTS. export default { target: (name) => (name === '@types/node' ? 'minor' : 'latest'), }; diff --git a/README.md b/README.md index 30a06fa..7daa9be 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ Static front-end for the archived [CBSN Platform](https://cbsn.neuroinf.jp/) ## Requirements -- Node.js 20.19+ / 22.12+ (Vite 8) +- Node.js 26 (LTS) - npm ## Setup @@ -53,7 +53,7 @@ presentation types, postscript, meeting name, ...); they are marked | `npm run format` | Format with Biome | | `npm run check` | Lint, format and organize imports, applying the safe fixes | -`@types/node` is pinned to the major that matches the Node runtime in use (24); +`@types/node` is pinned to the major that matches the Node runtime in use (26); `.ncurc.js` keeps `npm-check-updates` from bumping it past that. There is currently no test suite.