diff --git a/package.json b/package.json index fa215a0f5..e25699aed 100644 --- a/package.json +++ b/package.json @@ -6,6 +6,9 @@ "type": "git", "url": "https://code.naskya.net/naskya/firefish" }, + "engines": { + "node": ">= 18.17.0" + }, "packageManager": "pnpm@8.14.1", "private": true, "scripts": { diff --git a/packages/backend/native-utils/package.json b/packages/backend/native-utils/package.json index 641286469..6466db10a 100644 --- a/packages/backend/native-utils/package.json +++ b/packages/backend/native-utils/package.json @@ -29,9 +29,6 @@ "ava": { "timeout": "3m" }, - "engines": { - "node": ">= 10" - }, "scripts": { "artifacts": "napi artifacts", "build": "napi build --features napi --platform --release ./built/", diff --git a/packages/backend/src/boot/master.ts b/packages/backend/src/boot/master.ts index f9a326f23..8094ef807 100644 --- a/packages/backend/src/boot/master.ts +++ b/packages/backend/src/boot/master.ts @@ -148,7 +148,7 @@ function showNodejsVersion(): void { nodejsLogger.info(`Version ${process.version} detected.`); - const minVersion = "v18.16.0"; + const minVersion = "v18.17.0"; if (semver.lt(process.version, minVersion)) { nodejsLogger.error(`At least Node.js ${minVersion} required!`); process.exit(1);