chore: update node version requirement

This commit is contained in:
naskya 2024-01-22 09:28:56 +09:00
parent 38e9e21d60
commit 866234854e
Signed by: naskya
GPG key ID: 712D413B3A9FED5C
3 changed files with 4 additions and 4 deletions

View file

@ -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": {

View file

@ -29,9 +29,6 @@
"ava": {
"timeout": "3m"
},
"engines": {
"node": ">= 10"
},
"scripts": {
"artifacts": "napi artifacts",
"build": "napi build --features napi --platform --release ./built/",

View file

@ -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);