Updated to node v20.10.0

This commit is contained in:
TheSparta 2023-12-15 13:59:45 +00:00
parent 24a15fc573
commit 865dbf1b13
3 changed files with 7 additions and 12 deletions

View File

@ -1 +1 @@
v18.15.0
v20.10.0

View File

@ -5,12 +5,12 @@ import path from "node:path";
import gulp from "gulp";
import { exec } from "gulp-execa";
import rename from "gulp-rename";
import pkg from "pkg";
import pkgfetch from "pkg-fetch";
import pkg from "@yao-pkg/pkg";
import pkgfetch from "@yao-pkg/pkg-fetch";
import * as ResEdit from "resedit";
import manifest from "./package.json" assert { type: "json" };
const nodeVersion = "node18"; // As of pkg-fetch v3.5, it's v18.15.0
const nodeVersion = "node20"; // As of @yao-pkg/pkg-fetch v3.5.7, it's v20.10.0
const stdio = "inherit";
const buildDir = "build/";
const dataDir = path.join(buildDir, "Aki_Data", "Server");

View File

@ -8,7 +8,7 @@
"description": "The single-player modding framework for Escape From Tarkov.",
"icon": "assets/images/icon.ico",
"engines": {
"node": "18.15.0"
"node": "20.10.0"
},
"scripts": {
"check:circular": "madge --circular --ts-config tsconfig.json --extensions ts ./src/",
@ -61,6 +61,8 @@
"@typescript-eslint/parser": "6.14.0",
"@vitest/coverage-istanbul": "1.0.4",
"@vitest/ui": "1.0.4",
"@yao-pkg/pkg": "5.11.0",
"@yao-pkg/pkg-fetch": "3.5.7",
"cross-env": "7.0.3",
"dprint": "0.43.2",
"eslint": "8.55.0",
@ -68,8 +70,6 @@
"gulp-execa": "6.0.0",
"gulp-rename": "2.0.0",
"madge": "6.1.0",
"pkg": "5.8.1",
"pkg-fetch": "3.5.2",
"resedit": "2.0.0",
"ts-node-dev": "2.0.0",
"tsconfig-paths": "4.2.0",
@ -77,11 +77,6 @@
"typemoq": "2.1.0",
"vitest": "1.0.4"
},
"overrides": {
"pkg": {
"pkg-fetch": "3.5.2"
}
},
"targets": {
"default": {
"includeNodeModules": true