build: move to the node 26 lts line

- keep @types/node on the 26.x line in .ncurc.js
- point the readme at node 26
This commit is contained in:
2026-12-02 15:39:41 +09:00
parent 0b4b1cac4a
commit bf31d8be2f
2 changed files with 5 additions and 5 deletions
+3 -3
View File
@@ -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'),
};
+2 -2
View File
@@ -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.