From 383d6a24855177cc96a0732907255db4b45e9632 Mon Sep 17 00:00:00 2001 From: syuilo Date: Sat, 8 Jul 2023 08:50:02 +0900 Subject: [PATCH] =?UTF-8?q?node=E3=81=AE=E6=8E=A8=E5=A5=A8(=E3=83=87?= =?UTF-8?q?=E3=83=95=E3=82=A9=E3=83=AB=E3=83=88)=E3=83=90=E3=83=BC?= =?UTF-8?q?=E3=82=B8=E3=83=A7=E3=83=B3=E3=81=A8=E6=9C=80=E5=B0=8F=E3=83=90?= =?UTF-8?q?=E3=83=BC=E3=82=B8=E3=83=A7=E3=83=B3=E3=82=92=E5=88=86=E9=9B=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .node-version-min | 1 + CHANGELOG.md | 3 --- packages/backend/src/boot/master.ts | 2 +- 3 files changed, 2 insertions(+), 4 deletions(-) create mode 100644 .node-version-min diff --git a/.node-version-min b/.node-version-min new file mode 100644 index 000000000..6d80269a4 --- /dev/null +++ b/.node-version-min @@ -0,0 +1 @@ +18.16.0 diff --git a/CHANGELOG.md b/CHANGELOG.md index 434420522..62fbb4002 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,9 +14,6 @@ ## 13.x.x (unreleased) -### NOTE -- Node.js 20.4.0以上が必要になりました - ### General - identicon生成を無効にしてパフォーマンスを向上させることができるようになりました - サーバーのマシン情報の公開を無効にしてパフォーマンスを向上させることができるようになりました diff --git a/packages/backend/src/boot/master.ts b/packages/backend/src/boot/master.ts index f5d936fad..3e149864e 100644 --- a/packages/backend/src/boot/master.ts +++ b/packages/backend/src/boot/master.ts @@ -97,7 +97,7 @@ function showNodejsVersion(): void { nodejsLogger.info(`Version ${process.version} detected.`); - const minVersion = fs.readFileSync(`${_dirname}/../../../../.node-version`, 'utf-8').trim(); + const minVersion = fs.readFileSync(`${_dirname}/../../../../.node-version-min`, 'utf-8').trim(); if (semver.lt(process.version, minVersion)) { nodejsLogger.error(`At least Node.js ${minVersion} required!`); process.exit(1);