mirror of
https://example.com
synced 2024-11-22 10:16:39 +09:00
chore: update node version requirement
This commit is contained in:
parent
38e9e21d60
commit
866234854e
3 changed files with 4 additions and 4 deletions
|
@ -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": {
|
||||
|
|
|
@ -29,9 +29,6 @@
|
|||
"ava": {
|
||||
"timeout": "3m"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">= 10"
|
||||
},
|
||||
"scripts": {
|
||||
"artifacts": "napi artifacts",
|
||||
"build": "napi build --features napi --platform --release ./built/",
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue